This commit is contained in:
parent
a8e6ed33ed
commit
c5f5ae3469
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 10 10:27:31 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Reproducible builds: Do not create timestamps with bnd wrap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 27 06:46:38 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
15
picocli.spec
15
picocli.spec
@ -81,13 +81,18 @@ cp %{SOURCE1} build.xml
|
||||
-Djline2.jar=$(find-jar jline/jline) \
|
||||
jar javadoc
|
||||
|
||||
echo "-reproducible: true" >> bnd.bnd
|
||||
echo "-noextraheaders: true" >> bnd.bnd
|
||||
echo "-snapshot: SNAPSHOT" >> bnd.bnd
|
||||
|
||||
# Convert to OSGi bundle
|
||||
bnd wrap \
|
||||
--bsn %{name} \
|
||||
--version %{version} \
|
||||
--output target/%{name}-%{version}.bar \
|
||||
--properties bnd.bnd \
|
||||
target/%{name}-%{version}.jar
|
||||
--force \
|
||||
--bsn %{name} \
|
||||
--version %{version} \
|
||||
--output target/%{name}-%{version}.bar \
|
||||
--properties bnd.bnd \
|
||||
target/%{name}-%{version}.jar
|
||||
mv target/%{name}-%{version}.bar target/%{name}-%{version}.jar
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user