SHA256
1
0
forked from pool/devscripts

Accepting request 181478 from home:adra:branches:system:packagemanager

Added a patch (fix_pod_syntax.patch) to fix build with perl 5.18

OBS-URL: https://build.opensuse.org/request/show/181478
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/devscripts?expand=0&rev=10
This commit is contained in:
Frank Lichtenheld 2013-07-01 08:25:03 +00:00 committed by Git OBS Bridge
parent 7e29362366
commit e57b8874cf
3 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 29 20:34:29 UTC 2013 - asterios.dramis@gmail.com
- Added a patch (fix_pod_syntax.patch) to fix build with perl 5.18.
-------------------------------------------------------------------
Tue Feb 12 09:11:49 UTC 2013 - frank.lichtenheld@sophos.com

View File

@ -37,6 +37,8 @@ Patch2: devscripts-pod2man-no-utf8.patch
Patch3: devscripts-2.11.7-remove-install-layout-deb.patch
# PATCH-FIX-OPENSUSE support old versions of File::Patch (SLE 11)
Patch4: devscripts-old-File-Path.patch
# PATCH-FIX-UPSTREAM fix_pod_syntax.patch asterios.dramis@gmail.com -- Fix pod syntax (fixes build with perl 5.18)
Patch5: fix_pod_syntax.patch
BuildRequires: dpkg-devel >= 1.15.6
BuildRequires: python-devel
# we are sorry to drop sles10 support, but no setuptools
@ -119,6 +121,7 @@ line, and outputs warnings if possible bashisms are detected.
%endif
%patch1 -p1
%patch3 -p1
%patch5 -p1
%build
make %{?_smp_mflags} XSL_STYLESHEET="%{_xsl_stylesheet}"

18
fix_pod_syntax.patch Normal file
View File

@ -0,0 +1,18 @@
diff -Naur devscripts-2.12.4.orig/scripts/transition-check.pl devscripts-2.12.4/scripts/transition-check.pl
--- devscripts-2.12.4.orig/scripts/transition-check.pl 2012-09-25 01:51:39.000000000 +0300
+++ devscripts-2.12.4/scripts/transition-check.pl 2013-06-29 23:31:50.225798441 +0300
@@ -58,12 +58,12 @@
=over 4
-=item 0
+=item C<0>
Either B<--help> or B<--version> was used, or none of the packages examined
was involved in a transition.
-=item 1
+=item C<1>
At least one package examined is involved in a current transition.