From 15380b2872389974ab309244f6d4d2c0a7008410be840a5222829efffac3ad1d Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 8 Mar 2016 08:47:21 +0000 Subject: [PATCH] - add RPC-XML-0.78-reproducible.diff to remove date from build result OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPC-XML?expand=0&rev=30 --- RPC-XML-0.78-reproducible.diff | 13 +++++++++++++ cpanspec.yml | 2 ++ perl-RPC-XML.changes | 5 +++++ perl-RPC-XML.spec | 9 ++++++--- 4 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 RPC-XML-0.78-reproducible.diff diff --git a/RPC-XML-0.78-reproducible.diff b/RPC-XML-0.78-reproducible.diff new file mode 100644 index 0000000..fbfcda0 --- /dev/null +++ b/RPC-XML-0.78-reproducible.diff @@ -0,0 +1,13 @@ +Index: RPC-XML-0.78/etc/make_method +=================================================================== +--- RPC-XML-0.78.orig/etc/make_method ++++ RPC-XML-0.78/etc/make_method +@@ -399,7 +399,7 @@ sub write_file + + + diff --git a/cpanspec.yml b/cpanspec.yml index 05477bf..a5c1f80 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -10,6 +10,8 @@ patches: RPC-XML-0.76-extern_ent.dif: #PATCH-FIX-UPSTREAM - coolo@suse.de RT#86187 RPC-XML-0.77-fixtest.dif: -p1 + #PATCH-FIX-OPENSUSE - coolo@suse.de reproducible builds + RPC-XML-0.78-reproducible.diff: -p1 # foo.patch: -p1 # bar.patch: #preamble: |- diff --git a/perl-RPC-XML.changes b/perl-RPC-XML.changes index f5a5720..154085c 100644 --- a/perl-RPC-XML.changes +++ b/perl-RPC-XML.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 8 08:47:05 UTC 2016 - coolo@suse.com + +- add RPC-XML-0.78-reproducible.diff to remove date from build result + ------------------------------------------------------------------- Tue Apr 14 15:37:32 UTC 2015 - coolo@suse.com diff --git a/perl-RPC-XML.spec b/perl-RPC-XML.spec index 6f7f9e0..4cdca70 100644 --- a/perl-RPC-XML.spec +++ b/perl-RPC-XML.spec @@ -1,7 +1,7 @@ # # spec file for package perl-RPC-XML # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,11 +24,13 @@ Summary: Set of Classes for Core Data, Message and Xml Handling License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/RPC-XML/ -Source0: http://www.cpan.org/authors/id/R/RJ/RJRAY/%{cpan_name}-%{version}.tar.gz +#Source0: http://www.cpan.org/authors/id/R/RJ/RJRAY/%{cpan_name}-0.79.tar.gz +Source0: RPC-XML-0.78.tar.gz Source1: cpanspec.yml Patch0: RPC-XML-0.60-rev127.dif Patch1: RPC-XML-0.76-extern_ent.dif Patch2: RPC-XML-0.77-fixtest.dif +Patch3: RPC-XML-0.78-reproducible.diff BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -66,10 +68,11 @@ respectively. %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %patch0 %patch1 %patch2 -p1 +%patch3 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor