Update to 13.24.1
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/debhelper?expand=0&rev=54
This commit is contained in:
commit
31d7f8259b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
_service
Normal file
3
_service
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<services>
|
||||||
|
<service name="download_files" mode="localonly"/>
|
||||||
|
</services>
|
3
debhelper-debian-13.15.3.tar.gz
Normal file
3
debhelper-debian-13.15.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e8cda935acb815e9e103e63fb4bdc795f8f56aa9ee4db75fe100582d520a623d
|
||||||
|
size 1160400
|
3
debhelper-debian-13.16.tar.gz
Normal file
3
debhelper-debian-13.16.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d8b8e7938bc69aa865744dcc3d0b5bf8703b4a4bc58b55ef7018f2319714a8e0
|
||||||
|
size 1167547
|
3
debhelper-debian-13.20.tar.gz
Normal file
3
debhelper-debian-13.20.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a4060ea2e1bc0584ff79b6889d284e951a87af7e3305c076f392da72339522f6
|
||||||
|
size 1182464
|
3
debhelper-debian-13.23.tar.gz
Normal file
3
debhelper-debian-13.23.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8f9c87cce6acab69b55948f89fc133c16bf656aff4a7679f25f20d011ce22c14
|
||||||
|
size 1188276
|
3
debhelper-debian-13.24.1.tar.gz
Normal file
3
debhelper-debian-13.24.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3349be1e58698fa7732812995095b9ba24ac97db50e4aeed228b24e3610802e3
|
||||||
|
size 1189394
|
65
debhelper-fix-perl-version-requirement.patch
Normal file
65
debhelper-fix-perl-version-requirement.patch
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
diff --git lib/Debian/Debhelper/Dh_Lib.pm lib/Debian/Debhelper/Dh_Lib.pm
|
||||||
|
index 7cf59e0..1656c9b 100644
|
||||||
|
--- lib/Debian/Debhelper/Dh_Lib.pm
|
||||||
|
+++ lib/Debian/Debhelper/Dh_Lib.pm
|
||||||
|
@@ -2088,6 +2088,8 @@ sub _parse_debian_control {
|
||||||
|
# - Takes an optional keyword; if passed, this will return true if the keyword is listed in R^3 (Rules-Requires-Root)
|
||||||
|
# - If the optional keyword is omitted or not present in R^3 and R^3 is not 'binary-targets', then returns false
|
||||||
|
# - Returns true otherwise (i.e. keyword is in R^3 or R^3 is 'binary-targets')
|
||||||
|
+{
|
||||||
|
+my %rrr;
|
||||||
|
sub should_use_root {
|
||||||
|
my ($keyword) = @_;
|
||||||
|
my $rrr_env = $ENV{'DEB_RULES_REQUIRES_ROOT'} // 'binary-targets';
|
||||||
|
@@ -2097,10 +2099,11 @@ sub should_use_root {
|
||||||
|
return 1 if $rrr_env eq 'binary-targets';
|
||||||
|
return 0 if not defined($keyword);
|
||||||
|
|
||||||
|
- state %rrr = map { $_ => 1 } split(' ', $rrr_env);
|
||||||
|
+ %rrr = map { $_ => 1 } split(' ', $rrr_env) if not %rrr;
|
||||||
|
return 1 if exists($rrr{$keyword});
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
+}
|
||||||
|
|
||||||
|
# Returns the "gain root command" as a list suitable for passing as a part of the command to "doit()"
|
||||||
|
sub gain_root_cmd {
|
||||||
|
@@ -2219,12 +2222,16 @@ sub is_udeb {
|
||||||
|
return package_type($package) eq 'udeb';
|
||||||
|
}
|
||||||
|
|
||||||
|
-
|
||||||
|
+{
|
||||||
|
+my %packages_to_process;
|
||||||
|
sub process_pkg {
|
||||||
|
my ($package) = @_;
|
||||||
|
- state %packages_to_process = map { $_ => 1 } @{$dh{DOPACKAGES}};
|
||||||
|
+ if (not %packages_to_process) {
|
||||||
|
+ %packages_to_process = map { $_ => 1 } @{$dh{DOPACKAGES}};
|
||||||
|
+ }
|
||||||
|
return $packages_to_process{$package} // 0;
|
||||||
|
}
|
||||||
|
+}
|
||||||
|
|
||||||
|
# Only useful for dh(1)
|
||||||
|
sub bd_dh_sequences {
|
||||||
|
@@ -3075,12 +3082,15 @@ sub perl_cross_incdir {
|
||||||
|
return $incdir;
|
||||||
|
}
|
||||||
|
|
||||||
|
+{
|
||||||
|
+my %known_packages;
|
||||||
|
sub is_known_package {
|
||||||
|
my ($package) = @_;
|
||||||
|
- state %known_packages = map { $_ => 1 } getpackages();
|
||||||
|
+ %known_packages = map { $_ => 1 } getpackages() if not %known_packages;
|
||||||
|
return 1 if exists($known_packages{$package});
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
+}
|
||||||
|
|
||||||
|
sub assert_opt_is_known_package {
|
||||||
|
my ($package, $method) = @_;
|
||||||
|
--
|
||||||
|
2.35.3
|
||||||
|
|
31
debhelper-no-localized-manpages.patch
Normal file
31
debhelper-no-localized-manpages.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
--- debhelper-debian-10.10.9.orig/Makefile 2017-11-19 12:06:36.000000000 +0100
|
||||||
|
+++ debhelper-debian-10.10.9/Makefile 2021-03-16 15:28:10.188324493 +0100
|
||||||
|
@@ -56,14 +56,8 @@
|
||||||
|
|
||||||
|
POD2MAN_FLAGS=--utf8 -c Debhelper -r "$(VERSION)"
|
||||||
|
|
||||||
|
-ifneq ($(USE_NLS),no)
|
||||||
|
-# l10n to be built is determined from .po files
|
||||||
|
-LANGS?=$(notdir $(basename $(wildcard man/po4a/po/*.po)))
|
||||||
|
-LANG_TARGETS = $(foreach L,$(LANGS),translated-$(L)-stamp)
|
||||||
|
-else
|
||||||
|
LANGS=
|
||||||
|
LANG_TARGETS =
|
||||||
|
-endif
|
||||||
|
|
||||||
|
build: $(LANG_TARGETS) version debhelper.7 debhelper-compat-upgrade-checklist.7 debhelper-obsolete-compat.7 $(MANPAGES)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -113,12 +107,6 @@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *-stamp *.1 *.7 lib/Debian/Debhelper/Dh_Version.pm
|
||||||
|
-ifneq ($(USE_NLS),no)
|
||||||
|
- $(PO4A) --previous --rm-translations --rm-backups man/po4a/po4a.cfg
|
||||||
|
-endif
|
||||||
|
- for lang in $(LANGS); do \
|
||||||
|
- if [ -e man/$$lang ]; then rmdir man/$$lang; fi; \
|
||||||
|
- done;
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -d $(DESTDIR)$(PREFIX)/bin \
|
11
debhelper-pod2man-no-utf8.patch
Normal file
11
debhelper-pod2man-no-utf8.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- debhelper-debian-10.10.9.orig/Makefile 2017-11-19 12:06:36.000000000 +0100
|
||||||
|
+++ debhelper-debian-10.10.9/Makefile 2021-03-16 15:18:03.115557862 +0100
|
||||||
|
@@ -54,7 +54,7 @@
|
||||||
|
|
||||||
|
PREFIX=/usr
|
||||||
|
|
||||||
|
-POD2MAN_FLAGS=--utf8 -c Debhelper -r "$(VERSION)"
|
||||||
|
+POD2MAN_FLAGS=-c Debhelper -r "$(VERSION)"
|
||||||
|
|
||||||
|
ifneq ($(USE_NLS),no)
|
||||||
|
# l10n to be built is determined from .po files
|
1556
debhelper.changes
Normal file
1556
debhelper.changes
Normal file
File diff suppressed because it is too large
Load Diff
85
debhelper.spec
Normal file
85
debhelper.spec
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
#
|
||||||
|
# spec file for package debhelper
|
||||||
|
#
|
||||||
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: debhelper
|
||||||
|
Version: 13.24.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Helper programs for debian/rules
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
Group: Development/Tools/Building
|
||||||
|
URL: https://salsa.debian.org/debian/debhelper
|
||||||
|
Source0: https://salsa.debian.org/debian/debhelper/-/archive/debian/%{version}/%{name}-debian-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM not build translated-manpages.
|
||||||
|
Patch0: debhelper-no-localized-manpages.patch
|
||||||
|
# PATCH-FIX-UPSTREAM remove --utf8 since we only build En manpages.
|
||||||
|
Patch1: debhelper-pod2man-no-utf8.patch
|
||||||
|
# PATCH-FIX-UPSTREAM debhelper-fix-perl-version-requirement.patch https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001403
|
||||||
|
Patch2: debhelper-fix-perl-version-requirement.patch
|
||||||
|
BuildRequires: dpkg-devel >= 1.18
|
||||||
|
BuildRequires: perl-Test-Pod
|
||||||
|
Requires: dh-autoreconf >= 17
|
||||||
|
Requires: dpkg >= 1.18
|
||||||
|
Requires: strip-nondeterminism
|
||||||
|
Provides: deb:%{_bindir}/dh_install
|
||||||
|
BuildArch: noarch
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
A collection of programs that can be used in a debian/rules file to
|
||||||
|
automate common tasks related to building debian packages. Programs
|
||||||
|
are included to install various files into your package, compress
|
||||||
|
files, fix file permissions, integrate your package with the debian
|
||||||
|
menu system, debconf, doc-base, etc. Most debian packages use debhelper
|
||||||
|
as part of their build process.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-debian-%{version}
|
||||||
|
|
||||||
|
%patch -P 0 -p1
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} < 1130
|
||||||
|
%patch -P 1 -p1
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
|
%patch -P 2 -p0
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build VERSION='%{version}'
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
# man pages:
|
||||||
|
install -d -m 755 %{buildroot}%{_mandir}/man1
|
||||||
|
install -d -m 755 %{buildroot}%{_mandir}/man7
|
||||||
|
install -m 644 *.1 %{buildroot}%{_mandir}/man1
|
||||||
|
install -m 644 debhelper.7 %{buildroot}%{_mandir}/man7
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc doc/* examples/* debian/changelog debian/copyright
|
||||||
|
%{_mandir}/man*/*
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_datadir}/debhelper
|
||||||
|
%{perl_vendorlib}/Debian
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user