[packages/debhelper] Up to 14.5
arekm
arekm at pld-linux.org
Fri Nov 27 21:58:15 CET 2026
commit 278f37a374fa0e6996880fbc53876fe25a7690d3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 15:50:23 2026 +0100
Up to 14.5
debhelper-po4a-keep.patch | 29 -----------------------------
debhelper.spec | 37 +++++++++++++++----------------------
2 files changed, 15 insertions(+), 51 deletions(-)
---
diff --git a/debhelper.spec b/debhelper.spec
index 726af2e..c5efa10 100644
--- a/debhelper.spec
+++ b/debhelper.spec
@@ -5,13 +5,12 @@
Summary: Helper programs for debian/rules
Summary(pl.UTF-8): Programy pomocnicze dla debian/rules
Name: debhelper
-Version: 9.20160814
-Release: 3
+Version: 14.5
+Release: 1
License: GPL v2+
Group: Development/Tools
Source0: http://ftp.debian.org/debian/pool/main/d/debhelper/%{name}_%{version}.tar.xz
-# Source0-md5: 2e6a77d0f969d2421260f3f75a2cf1ff
-Patch0: %{name}-po4a-keep.patch
+# Source0-md5: 23700afbe6793f765ff49db65981e8a1
URL: http://joeyh.name/code/debhelper/
BuildRequires: dpkg
BuildRequires: fakeroot
@@ -42,18 +41,17 @@ pakietu z systemem menu Debiana, debconfem, doc-base itp.
%prep
%setup -qc
-mv %{name}/* .
-%patch -P 0 -p1
+mv work/* .
%build
%{!?with_tests:DEB_BUILD_OPTIONS=nocheck} \
fakeroot debian/rules binary
-mv debian/debhelper%{_docdir}/debhelper doc
+mv debian/libdebhelper-perl%{_docdir}/libdebhelper-perl doc
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT
-cp -a debian/debhelper/* $RPM_BUILD_ROOT
+cp -a debian/debhelper/* debian/libdebhelper-perl/* $RPM_BUILD_ROOT
%{__rm} -r $RPM_BUILD_ROOT/DEBIAN
@@ -66,28 +64,23 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/dh
%attr(755,root,root) %{_bindir}/dh_*
%{_datadir}/%{name}
+%{_datadir}/debputy
-%dir %{perl_vendorlib}/Debian
-%dir %{perl_vendorlib}/Debian/Debhelper
-%{perl_vendorlib}/Debian/Debhelper/Dh_Buildsystems.pm
-%{perl_vendorlib}/Debian/Debhelper/Dh_Getopt.pm
-%{perl_vendorlib}/Debian/Debhelper/Dh_Lib.pm
-%{perl_vendorlib}/Debian/Debhelper/Dh_Version.pm
-%{perl_vendorlib}/Debian/Debhelper/Sequence
-%{perl_vendorlib}/Debian/Debhelper/Buildsystem
-%{perl_vendorlib}/Debian/Debhelper/Buildsystem.pm
+%{perl_vendorlib}/Debian
%{_mandir}/man1/dh.1*
%{_mandir}/man1/dh_*.1*
%lang(de) %{_mandir}/de/man1/dh.1*
%lang(de) %{_mandir}/de/man1/dh_*.1*
-%lang(es) %{_mandir}/es/man1/dh.1*
%lang(es) %{_mandir}/es/man1/dh_*.1*
%lang(fr) %{_mandir}/fr/man1/dh.1*
%lang(fr) %{_mandir}/fr/man1/dh_*.1*
+%lang(ja) %{_mandir}/ja/man1/dh_*.1*
%lang(pt) %{_mandir}/pt/man1/dh.1*
%lang(pt) %{_mandir}/pt/man1/dh_*.1*
-%{_mandir}/man7/debhelper.7*
-%lang(de) %{_mandir}/de/man7/debhelper.7*
-%lang(fr) %{_mandir}/fr/man7/debhelper.7*
-%lang(pt) %{_mandir}/pt/man7/debhelper.7*
+%{_mandir}/man7/debhelper*.7*
+%lang(de) %{_mandir}/de/man7/debhelper*.7*
+%lang(es) %{_mandir}/es/man7/debhelper*.7*
+%lang(fr) %{_mandir}/fr/man7/debhelper*.7*
+%lang(ja) %{_mandir}/ja/man7/debhelper*.7*
+%lang(pt) %{_mandir}/pt/man7/debhelper*.7*
diff --git a/debhelper-po4a-keep.patch b/debhelper-po4a-keep.patch
deleted file mode 100644
index 957fd7b..0000000
--- a/debhelper-po4a-keep.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Pass --keep 0 to po4a so that translations below the default 80% threshold
-do not cause the build to fail. Newer po4a (>= 0.55) tries to discard low-
-coverage translations; with --keep 0 every translation is kept.
-
-Also tolerate po4a's exit code and missing per-language directories.
-po4a 0.70 has a bug where its Pod.pm imports symbols from TransTractor,
-which does not inherit from Exporter; the resulting warning corrupts $?
-and the script exits 25 even after a partly-successful run. With this
-same po4a, the fr and pt translations are silently skipped (encoding
-mismatches in TransTractor), so we must not iterate through unwritten
-man/<lang> dirs either.
-
---- debhelper-9.20160814/Makefile.orig
-+++ debhelper-9.20160814/Makefile
-@@ -53,11 +53,13 @@
- find . -maxdepth 1 -type f -perm /100 -name "dh*" \
- -exec $(POD2MAN) {} {}.1 \;
- ifneq ($(USE_NLS),no)
-- po4a --previous -L UTF-8 man/po4a/po4a.cfg
-+ po4a --previous --keep 0 -L UTF-8 man/po4a/po4a.cfg || :
- set -e; \
- for lang in $(LANGS); do \
- dir=man/$$lang; \
-+ [ -d $$dir ] || continue; \
- for file in $$dir/dh*.pod; do \
-+ [ -e $$file ] || continue; \
- prog=`basename $$file | sed 's/.pod//'`; \
- $(POD2MAN) $$file $$prog.$$lang.1; \
- done; \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/debhelper.git/commitdiff/278f37a374fa0e6996880fbc53876fe25a7690d3
More information about the pld-cvs-commit
mailing list