SHA256
1
0
forked from pool/ant

Accepting request 536291 from home:bmwiedemann:reproducible:test

Add reproducible-build-date.patch to allow to have fixed build dates to make other packages build more reproducibly

OBS-URL: https://build.opensuse.org/request/show/536291
OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=104
This commit is contained in:
Tomáš Chvátal
2017-10-26 06:45:48 +00:00
committed by Git OBS Bridge
parent 9cb65596d2
commit 2d00d3514c
7 changed files with 48 additions and 0 deletions

View File

@@ -41,6 +41,8 @@ Patch1: apache-ant-class-path-in-manifest.patch
Patch3: reproducible.patch
Patch4: apache-ant-1.9.9-sourcetarget.patch
Patch5: apache-ant-bootstrap.patch
#PATCH-FEATURE-OPENSUSE bmwiedemann -- have fixed build dates
Patch6: reproducible-build-date.patch
BuildRequires: antlr-bootstrap
BuildRequires: java-devel >= 1.6
BuildRequires: javapackages-tools
@@ -339,6 +341,7 @@ find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
# clean jar files
%{_bindir}/find . -name "*.jar" | %{_bindir}/xargs -t rm