Accepting request 281090 from system:packagemanager
- Update to version 9.20150101 - Adapt debhelper-no-localized-manpages.patch to upstream changes * debhelper-9.20150101-no-localized-manpages.patch - Remove upstreamed debhelper-findutils.patch OBS-URL: https://build.opensuse.org/request/show/281090 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/debhelper?expand=0&rev=6
This commit is contained in:
commit
4498c824eb
@ -2,16 +2,21 @@ Index: debhelper/Makefile
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- debhelper/Makefile.orig 2011-03-16 09:40:35.806209287 +0100
|
--- debhelper/Makefile.orig 2011-03-16 09:40:35.806209287 +0100
|
||||||
+++ debhelper/Makefile 2011-03-16 09:40:54.454930738 +0100
|
+++ debhelper/Makefile 2011-03-16 09:40:54.454930738 +0100
|
||||||
@@ -40,26 +40,9 @@
|
@@ -42,32 +42,11 @@
|
||||||
|
|
||||||
POD2MAN=pod2man --utf8 -c Debhelper -r "$(VERSION)"
|
POD2MAN=pod2man --utf8 -c Debhelper -r "$(VERSION)"
|
||||||
|
|
||||||
|
-ifneq ($(USE_NLS),no)
|
||||||
-# l10n to be built is determined from .po files
|
-# l10n to be built is determined from .po files
|
||||||
-LANGS=$(notdir $(basename $(wildcard man/po4a/po/*.po)))
|
-LANGS?=$(notdir $(basename $(wildcard man/po4a/po/*.po)))
|
||||||
-
|
-else
|
||||||
|
LANGS=
|
||||||
|
-endif
|
||||||
|
|
||||||
build: version debhelper.7
|
build: version debhelper.7
|
||||||
find . -maxdepth 1 -type f -perm +100 -name "dh*" \
|
find . -maxdepth 1 -type f -perm /100 -name "dh*" \
|
||||||
-exec $(POD2MAN) {} {}.1 \;
|
-exec $(POD2MAN) {} {}.1 \;
|
||||||
|
-ifneq ($(USE_NLS),no)
|
||||||
- po4a --previous -L UTF-8 man/po4a/po4a.cfg
|
- po4a --previous -L UTF-8 man/po4a/po4a.cfg
|
||||||
- set -e; \
|
- set -e; \
|
||||||
- for lang in $(LANGS); do \
|
- for lang in $(LANGS); do \
|
||||||
@ -26,17 +31,20 @@ Index: debhelper/Makefile
|
|||||||
- $(POD2MAN) --name="debhelper" --section=7 > debhelper.$$lang.7; \
|
- $(POD2MAN) --name="debhelper" --section=7 > debhelper.$$lang.7; \
|
||||||
- fi; \
|
- fi; \
|
||||||
- done
|
- done
|
||||||
|
-endif
|
||||||
|
|
||||||
version:
|
version:
|
||||||
printf "package Debian::Debhelper::Dh_Version;\n\$$version='$(VERSION)';\n1" > \
|
printf "package Debian::Debhelper::Dh_Version;\n\$$version='$(VERSION)';\n1" > \
|
||||||
@@ -72,10 +55,6 @@
|
@@ -80,12 +59,6 @@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.1 *.7 Debian/Debhelper/Dh_Version.pm
|
rm -f *.1 *.7 Debian/Debhelper/Dh_Version.pm
|
||||||
|
-ifneq ($(USE_NLS),no)
|
||||||
- po4a --previous --rm-translations --rm-backups man/po4a/po4a.cfg
|
- po4a --previous --rm-translations --rm-backups man/po4a/po4a.cfg
|
||||||
|
-endif
|
||||||
- for lang in $(LANGS); do \
|
- for lang in $(LANGS); do \
|
||||||
- if [ -e man/$$lang ]; then rmdir man/$$lang; fi; \
|
- if [ -e man/$$lang ]; then rmdir man/$$lang; fi; \
|
||||||
- done;
|
- done;
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -d $(DESTDIR)/usr/bin \
|
install -d $(DESTDIR)$(PREFIX)/bin \
|
@ -1,55 +0,0 @@
|
|||||||
From: Joey Hess <joey@kitenet.net>
|
|
||||||
Date: Sat, 9 Feb 2013 21:38:42 +0000 (-0400)
|
|
||||||
Subject: Avoid find -perm +mode breakage caused by findutils 4.5.11, by instead using -perm...
|
|
||||||
X-Git-Tag: 9.20130504~7
|
|
||||||
X-Git-Url: http://anonscm.debian.org/gitweb/?p=debhelper%2Fdebhelper.git;a=commitdiff_plain;h=e9fe3cee83cdcc4df978fb1761009dfc124add92;hp=7765a25a48492d2d971c836c8e609422c540d721
|
|
||||||
|
|
||||||
Avoid find -perm +mode breakage caused by findutils 4.5.11, by instead using -perm /mode. Closes: #700200
|
|
||||||
---
|
|
||||||
|
|
||||||
Index: debhelper/Makefile
|
|
||||||
===================================================================
|
|
||||||
--- debhelper.orig/Makefile
|
|
||||||
+++ debhelper/Makefile
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
# List of files of dh_* commands. Sorted for debhelper man page.
|
|
||||||
-COMMANDS=$(shell find . -maxdepth 1 -type f -perm +100 -name "dh_*" -printf "%f\n" | sort)
|
|
||||||
+COMMANDS=$(shell find . -maxdepth 1 -type f -perm /100 -name "dh_*" -printf "%f\n" | sort)
|
|
||||||
|
|
||||||
# Find deprecated commands by looking at their synopsis.
|
|
||||||
DEPRECATED=$(shell egrep -l '^dh_.* - .*deprecated' $(COMMANDS))
|
|
||||||
@@ -41,7 +41,7 @@ PERLLIBDIR=$(shell perl -MConfig -e 'pri
|
|
||||||
POD2MAN=pod2man --utf8 -c Debhelper -r "$(VERSION)"
|
|
||||||
|
|
||||||
build: version debhelper.7
|
|
||||||
- find . -maxdepth 1 -type f -perm +100 -name "dh*" \
|
|
||||||
+ find . -maxdepth 1 -type f -perm /100 -name "dh*" \
|
|
||||||
-exec $(POD2MAN) {} {}.1 \;
|
|
||||||
|
|
||||||
version:
|
|
||||||
Index: debhelper/dh_shlibdeps
|
|
||||||
===================================================================
|
|
||||||
--- debhelper.orig/dh_shlibdeps
|
|
||||||
+++ debhelper/dh_shlibdeps
|
|
||||||
@@ -129,7 +129,7 @@ foreach my $package (@{$dh{DOPACKAGES}})
|
|
||||||
if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') {
|
|
||||||
$find_options="! \\( $dh{EXCLUDE_FIND} \\)";
|
|
||||||
}
|
|
||||||
- foreach my $file (split(/\n/,`find $tmp -type f \\( -perm +111 -or -name "*.so*" -or -name "*.cmxs" \\) $find_options -print`)) {
|
|
||||||
+ foreach my $file (split(/\n/,`find $tmp -type f \\( -perm /111 -or -name "*.so*" -or -name "*.cmxs" \\) $find_options -print`)) {
|
|
||||||
# Prune directories that contain separated debug symbols.
|
|
||||||
next if $file=~m!^\Q$tmp\E/usr/lib/debug/(lib|lib64|usr|bin|sbin|opt|dev|emul)/!;
|
|
||||||
# TODO this is slow, optimize. Ie, file can run once on
|
|
||||||
Index: debhelper/dh_suidregister
|
|
||||||
===================================================================
|
|
||||||
--- debhelper.orig/dh_suidregister
|
|
||||||
+++ debhelper/dh_suidregister
|
|
||||||
@@ -53,7 +53,7 @@ foreach my $package (@{$dh{DOPACKAGES}})
|
|
||||||
if (! @files && ! $suid) {
|
|
||||||
# No files specified (and no empty debian/suid file), so
|
|
||||||
# guess what files to process.
|
|
||||||
- @files=split(/\n/,`find $tmp -type f -perm +6000`);
|
|
||||||
+ @files=split(/\n/,`find $tmp -type f -perm /6000`);
|
|
||||||
|
|
||||||
# Strip the debian working directory off of the filenames.
|
|
||||||
$tostrip="$tmp/";
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 4 17:24:25 UTC 2015 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
- Update to version 9.20150101
|
||||||
|
- Adapt debhelper-no-localized-manpages.patch to upstream changes
|
||||||
|
* debhelper-9.20150101-no-localized-manpages.patch
|
||||||
|
- Remove upstreamed debhelper-findutils.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 4 02:43:46 UTC 2013 - frank.lichtenheld@sophos.com
|
Fri Oct 4 02:43:46 UTC 2013 - frank.lichtenheld@sophos.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package debhelper
|
# spec file for package debhelper
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: debhelper
|
Name: debhelper
|
||||||
Version: 9.20120830
|
Version: 9.20150101
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Helper programs for debian/rules
|
Summary: Helper programs for debian/rules
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
@ -26,11 +26,9 @@ Url: http://kitenet.net/~joey/code/debhelper/
|
|||||||
# http://ftp.de.debian.org/debian/pool/main/d/debhelper/
|
# http://ftp.de.debian.org/debian/pool/main/d/debhelper/
|
||||||
Source0: debhelper_%{version}.tar.gz
|
Source0: debhelper_%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM not build translated-manpages.
|
# PATCH-FIX-UPSTREAM not build translated-manpages.
|
||||||
Patch0: debhelper-no-localized-manpages.patch
|
Patch0: debhelper-9.20150101-no-localized-manpages.patch
|
||||||
# PATCH-FIX-UPSTREAM remove --utf8 since we only build En manpages.
|
# PATCH-FIX-UPSTREAM remove --utf8 since we only build En manpages.
|
||||||
Patch1: debhelper-pod2man-no-utf8.patch
|
Patch1: debhelper-pod2man-no-utf8.patch
|
||||||
# PATCH-FIX-UPSTREAM fix problems with new findutils
|
|
||||||
Patch2: debhelper-findutils.patch
|
|
||||||
Requires: dpkg
|
Requires: dpkg
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
@ -51,7 +49,6 @@ as part of their build process.
|
|||||||
%setup -q -n %{name}
|
%setup -q -n %{name}
|
||||||
|
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch2 -p1
|
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} < 1130
|
%if 0%{?suse_version} && 0%{?suse_version} < 1130
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3798a53fdf2e269bb7b74eb61af43444ceb102610fb0bfb6ba2a057d714363c9
|
|
||||||
size 464324
|
|
3
debhelper_9.20150101.tar.gz
Normal file
3
debhelper_9.20150101.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fd8d81d71d1bb0ba4b58c517465551231dd60811b98c867e4344bc55ec6a45f2
|
||||||
|
size 545089
|
Loading…
Reference in New Issue
Block a user