Control: tags -1 patch

I am uploading a NMU to fix this. I have based my changes on the last
git commit, so it includes additional changes.
diff -Nru autogen-5.18.16/debian/changelog autogen-5.18.16/debian/changelog
--- autogen-5.18.16/debian/changelog    2022-05-24 19:13:45.000000000 +0200
+++ autogen-5.18.16/debian/changelog    2025-05-08 20:03:08.000000000 +0200
@@ -1,3 +1,14 @@
+autogen (1:5.18.16-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop versioned constraint on tar
+  * Record changelog date in manpages (Closes: #1104867)
+
+  [ Andreas Metzler ]
+  * Drop ancient (2014 and pre-2008) Breaks/Conflicts/Replaces.
+
+ -- Bastian Germann <b...@debian.org>  Thu, 08 May 2025 20:03:08 +0200
+
 autogen (1:5.18.16-5) unstable; urgency=low
 
   * Pull a couple of patches from Suse:
diff -Nru autogen-5.18.16/debian/control autogen-5.18.16/debian/control
--- autogen-5.18.16/debian/control      2022-05-24 19:10:42.000000000 +0200
+++ autogen-5.18.16/debian/control      2025-05-08 19:23:10.000000000 +0200
@@ -8,7 +8,6 @@
  guile-3.0-dev,
  libxml2-dev,
  pkg-config,
- tar (>= 1.28),
  autogen <cross>
 Build-Depends-Indep: texinfo, texlive, cm-super-minimal
 Standards-Version: 4.5.0
@@ -40,10 +39,9 @@
 
 Package: autogen-doc
 Section: doc
-Breaks: autogen (<< 1:5.18.3-4)
-Replaces: autogen (<< 1:5.18.3-4)
 Depends: ${misc:Depends}
 Architecture: all
+Multi-Arch: foreign
 Description: automated text file generator - documentation
  AutoGen is a tool designed for generating program files that contain
  repetitive text with varied substitutions. This is especially valuable if
@@ -55,7 +53,6 @@
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: autogen
 Section: libs
 Multi-Arch: same
 Description: automated option processing library based on autogen
@@ -68,8 +65,6 @@
 Architecture: any
 Pre-Depends: ${misc:Pre-Depends}
 Depends: libopts25 (= ${binary:Version}), ${misc:Depends}
-Conflicts: libopts9-dev
-Replaces: autogen, libopts9-dev
 Section: libdevel
 Multi-Arch: same
 Description: automated option processing library based on autogen
diff -Nru autogen-5.18.16/debian/rules autogen-5.18.16/debian/rules
--- autogen-5.18.16/debian/rules        2022-05-24 19:09:49.000000000 +0200
+++ autogen-5.18.16/debian/rules        2025-05-08 19:55:20.000000000 +0200
@@ -9,7 +9,7 @@
 include /usr/share/dpkg/pkg-info.mk
 # Used by 10_libopts_tarball_perms.diff
 export MAN_PAGE_DATE = $(shell env LC_ALL=C date -u \
-       -d '@$(SOURCE_DATE_EPOCH)' +%Y-%m-%d)
+       -d "$(shell dpkg-parsechangelog -SDate)" +%Y-%m-%d)
 
 ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
 export libopts_cv_with_libregex=yes

Reply via email to