6
0
forked from pool/IPAddress

3 Commits

3 changed files with 6 additions and 26 deletions

View File

@@ -1,15 +0,0 @@
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>

View File

@@ -1,10 +1,3 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package IPAddress
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,6 @@ URL: https://github.com/seancfoley/IPAddress
Source0: https://github.com/seancfoley/IPAddress/archive/v%{version}.tar.gz
Patch0: IPAddress-encoding.patch
Patch1: IPAddress-doclet.patch
Patch2: IPAddress-reproducible.patch
BuildRequires: ant
BuildRequires: aqute-bnd
BuildRequires: fdupes
@@ -46,14 +45,17 @@ This package provides API documentation for xbean.
%setup -q
%patch -P 0 -p1
%patch -P 1 -p1
%patch -P 2 -p1
find -name \*.jar -delete
find -name \*.class -delete
echo "-reproducible: true" >> IPAddress/ipaddress.bnd
echo "-noextraheaders: true" >> IPAddress/ipaddress.bnd
echo "-snapshot: SNAPSHOT" >> IPAddress/ipaddress.bnd
%build
pushd IPAddress
mkdir bin
ant "create dist jar" "create javadoc" "create pom"
%{ant} "create dist jar" "create javadoc" "create pom"
%install
# jar