Accepting request 376080 from home:bmwiedemann:branches:Base:System
Add reproducible.patch to fix build-compare OBS-URL: https://build.opensuse.org/request/show/376080 OBS-URL: https://build.opensuse.org/package/show/Base:System/sitar?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 20 14:51:02 UTC 2016 - bwiedemann@suse.com
|
||||
|
||||
- Add reproducible.patch to fix build-compare
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 6 13:41:18 UTC 2014 - wbauer@tmo.at
|
||||
|
||||
|
||||
+5
-1
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sitar
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products 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
|
||||
@@ -26,6 +26,7 @@ Group: System/Monitoring
|
||||
Source0: sitar-%{version}.tar.bz2
|
||||
# PATCH-FIX-OPENSUSE fix-syntax-errors-with-newer-perl.patch boo#899992 wbauer@tmo.at -- fix syntax errors when run with the perl in openSUSE 13.1 and higher
|
||||
Patch: fix-syntax-errors-with-newer-perl.patch
|
||||
Patch1: reproducible.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: groff
|
||||
BuildArch: noarch
|
||||
@@ -58,8 +59,11 @@ Authors:
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
: ${SOURCE_DATE_EPOCH:=1168904229}
|
||||
export SOURCE_DATE_EPOCH
|
||||
make
|
||||
|
||||
%install
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
Index: sitar-1.0.6/Makefile
|
||||
===================================================================
|
||||
--- sitar-1.0.6.orig/Makefile
|
||||
+++ sitar-1.0.6/Makefile
|
||||
@@ -26,7 +26,7 @@ PERL = /usr/bin/perl
|
||||
RELEASE = 1.0.6
|
||||
|
||||
SVNVERSION := $(shell svnversion -n . | sed "s/:/./" )
|
||||
-RELDATE := $(shell date +"%Y%m%d")
|
||||
+RELDATE := $(shell date --date=@$$SOURCE_DATE_EPOCH +"%Y%m%d")
|
||||
CFG_PFRAGS = pfrags/cfg2scm.header.pl \
|
||||
pfrags/cfg2scm.manpage.pl \
|
||||
pfrags/cfg2scm.globals.pl \
|
||||
Reference in New Issue
Block a user