Accepting request 1110614 from Java:packages

reproducible

OBS-URL: https://build.opensuse.org/request/show/1110614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven?expand=0&rev=19
This commit is contained in:
Ana Guerrero 2023-09-13 18:44:03 +00:00 committed by Git OBS Bridge
commit 1121ea1501
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 12 12:55:07 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Reproducible builds: do not output build number
-------------------------------------------------------------------
Mon Sep 4 15:13:23 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -202,9 +202,7 @@ rm apache-maven/src/main/appended-resources/META-INF/LICENSE.vm
%pom_remove_plugin -r :maven-site-plugin
%pom_remove_plugin -r :buildnumber-maven-plugin
sed -i "
/buildNumber=/ {
s/=.*/=SUSE %{version}-%{release}/
}
/buildNumber=/ d
/timestamp=/ d
" `find -name build.properties`
sed -i "s/version=.*/version=%{version}/" `find -name build.properties`