summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/control1
-rwxr-xr-xdebian/rules4
3 files changed, 6 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 9ae20de..31e4604 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ libunistring (1.1-1~experimental2) UNRELEASED; urgency=medium
- libunistring2 (Closes: #1025901):
+ Change Architecture to all.
+ Remove Multi-Arch: same.
+ * debian/rules:
+ - Use DEB_VERSION_UPSTREAM instead of VERSION.
-- Jörg Frings-Fürst <debian@jff.email> Sun, 11 Dec 2022 19:00:32 +0100
diff --git a/debian/control b/debian/control
index 4f3f7a1..3fead0d 100644
--- a/debian/control
+++ b/debian/control
@@ -47,6 +47,7 @@ Description: Unicode string library for C
Package: libunistring2
Architecture: all
Section: oldlibs
+Priority: optional
Depends:
libunistring5 (>= ${source:Version}),
${misc:Depends}
diff --git a/debian/rules b/debian/rules
index 5a0855a..b34aa21 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@
# hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+include /usr/share/dpkg/default.mk
+
ifneq ($(findstring $(DEB_BUILD_ARCH), mips mipsel),)
CFLAGS += -mplt
endif
@@ -22,4 +24,4 @@ VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-
override_dh_makeshlibs:
dh_makeshlibs
- dpkg-gensymbols -v$(VERSION) -plibunistring5
+ dpkg-gensymbols -v$(DEB_VERSION_UPSTREAM) -plibunistring5