Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
377ff85029 | |||
65a4b5787b |
15
IPAddress-reproducible.patch
Normal file
15
IPAddress-reproducible.patch
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
diff -urEbwB IPAddress-5.5.1/IPAddress/build.xml IPAddress-5.5.1/IPAddress/build.xml
|
||||||
|
--- IPAddress-5.5.1/IPAddress/build.xml 2025-07-17 00:23:22.955680951 +0200
|
||||||
|
+++ IPAddress-5.5.1/IPAddress/build.xml 2025-07-17 00:30:44.477386275 +0200
|
||||||
|
@@ -177,7 +177,10 @@
|
||||||
|
Bundle-SymbolicName: com.github.seancfoley.ipaddress
|
||||||
|
ver: ${version}
|
||||||
|
Bundle-Version: ${version}
|
||||||
|
-Export-Package: *;version=${version}</concat>
|
||||||
|
+Export-Package: *;version=${version}
|
||||||
|
+-reproducible: true
|
||||||
|
+-noextraheaders: true
|
||||||
|
+-snapshot: SNAPSHOT</concat>
|
||||||
|
<fixcrlf file="${bndfile}" eol="lf"/>
|
||||||
|
<echo message="created ${bndfile}"/>
|
||||||
|
</target>
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 16 22:31:10 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Added patch:
|
||||||
|
* IPAddress-reproducible.patch
|
||||||
|
+ make the bundle manifest reproducible
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 7 14:30:24 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Thu Nov 7 14:30:24 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package IPAddress
|
# spec file for package IPAddress
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -25,6 +25,7 @@ URL: https://github.com/seancfoley/IPAddress
|
|||||||
Source0: https://github.com/seancfoley/IPAddress/archive/v%{version}.tar.gz
|
Source0: https://github.com/seancfoley/IPAddress/archive/v%{version}.tar.gz
|
||||||
Patch0: IPAddress-encoding.patch
|
Patch0: IPAddress-encoding.patch
|
||||||
Patch1: IPAddress-doclet.patch
|
Patch1: IPAddress-doclet.patch
|
||||||
|
Patch2: IPAddress-reproducible.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: aqute-bnd
|
BuildRequires: aqute-bnd
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -45,17 +46,14 @@ This package provides API documentation for xbean.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch -P 0 -p1
|
%patch -P 0 -p1
|
||||||
%patch -P 1 -p1
|
%patch -P 1 -p1
|
||||||
|
%patch -P 2 -p1
|
||||||
find -name \*.jar -delete
|
find -name \*.jar -delete
|
||||||
find -name \*.class -delete
|
find -name \*.class -delete
|
||||||
|
|
||||||
echo "-reproducible: true" >> IPAddress/ipaddress.bnd
|
|
||||||
echo "-noextraheaders: true" >> IPAddress/ipaddress.bnd
|
|
||||||
echo "-snapshot: SNAPSHOT" >> IPAddress/ipaddress.bnd
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd IPAddress
|
pushd IPAddress
|
||||||
mkdir bin
|
mkdir bin
|
||||||
%{ant} "create dist jar" "create javadoc" "create pom"
|
ant "create dist jar" "create javadoc" "create pom"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jar
|
# jar
|
||||||
|
Reference in New Issue
Block a user