- 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
This commit is contained in:
Stephan Kulow 2016-03-08 08:47:21 +00:00 committed by Git OBS Bridge
parent 0ac68ec7ef
commit 15380b2872
4 changed files with 26 additions and 3 deletions

View File

@ -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
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE $tag SYSTEM "rpc-method.dtd">
<!--
- Generated automatically by $cmd $VERSION on $date
+ Generated automatically by $cmd $VERSION
Any changes made here will be lost.
-->

View File

@ -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: |-

View File

@ -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

View File

@ -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