forked from pool/libical
Accepting request 283976 from home:coolo:branches:openSUSE:Factory
- add reproducible-generator.patch from debian bug report to get reproducible builds (and predicatable API actually) OBS-URL: https://build.opensuse.org/request/show/283976 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libical?expand=0&rev=33
This commit is contained in:
parent
d0ae3a409d
commit
ae6bdddbeb
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 3 19:04:34 UTC 2015 - coolo@suse.com
|
||||
|
||||
- add reproducible-generator.patch from debian bug report to
|
||||
get reproducible builds (and predicatable API actually)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 26 20:45:25 UTC 2014 - badshah400@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libical
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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: Development/Libraries/C and C++
|
||||
Url: http://sourceforge.net/projects/freeassociation/
|
||||
Source: https://github.com/libical/libical/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
Source2: baselibs.conf
|
||||
Patch0: reproducible-generator.patch
|
||||
BuildRequires: cmake >= 2.4
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkg-config
|
||||
@ -86,6 +87,7 @@ component properties, parameters, and subcomponents.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%cmake
|
||||
|
17
reproducible-generator.patch
Normal file
17
reproducible-generator.patch
Normal file
@ -0,0 +1,17 @@
|
||||
Description: Sort keys to generate reproducible source code.
|
||||
Author: Dimitri John Ledkov <dimitri.j.ledkov@linux.intel.com>
|
||||
Bug-Debian: http://bugs.debian.org/773916
|
||||
|
||||
Index: libical-1.0.1/scripts/mkderivedvalues.pl
|
||||
===================================================================
|
||||
--- libical-1.0.1.orig/scripts/mkderivedvalues.pl
|
||||
+++ libical-1.0.1/scripts/mkderivedvalues.pl
|
||||
@@ -141,7 +141,7 @@ if($opt_c){
|
||||
my $count = scalar(keys %h) + 1;
|
||||
print "static const struct icalvalue_kind_map value_map[$count]={\n";
|
||||
|
||||
- foreach $value (keys %h) {
|
||||
+ foreach $value (sort keys %h) {
|
||||
|
||||
next if $value eq 'NO' or $value eq 'ANY';
|
||||
|
Loading…
Reference in New Issue
Block a user