forked from pool/jisp2
Compare commits
11 Commits
54fb89772b
...
e354efe4a7
Author | SHA256 | Date | |
---|---|---|---|
e354efe4a7 | |||
eff2ebaacd | |||
25c42d9918 | |||
bfc7308baf | |||
0e75dcd5c9 | |||
d94680e425 | |||
832d2ef326 | |||
2566fc777b | |||
31471d5d92 | |||
ce6ac1159d | |||
bdebe608dc |
@@ -16,3 +16,12 @@
|
||||
|
||||
profile: JispLoadTest
|
||||
java -Xrunhprof:cpu=samples,file=JispLoadTest.profile JispLoadTest
|
||||
@@ -16,7 +17,7 @@
|
||||
jar -cfm jisp.jar JISPJAR.MF com/coyotegulch/jisp/*.class svfl.txt
|
||||
|
||||
docs:
|
||||
- javadoc -d docs com.coyotegulch.jisp
|
||||
+ javadoc -d docs -notimestamp com.coyotegulch.jisp
|
||||
|
||||
clean:
|
||||
-rm -rf *.class
|
||||
|
13
jisp2-2.5.1-reproducible-jar-mtime.patch
Normal file
13
jisp2-2.5.1-reproducible-jar-mtime.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- jisp-2.5.1/Makefile 2024-09-23 17:44:21.056217694 +0200
|
||||
+++ jisp-2.5.1/Makefile 2024-09-23 17:48:23.961290309 +0200
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
jars:
|
||||
-rm -rf *.jar
|
||||
- jar -cfm jisp-demo.jar MANIFEST.MF *.class svfl.txt
|
||||
- jar -cfm jisp.jar JISPJAR.MF com/coyotegulch/jisp/*.class svfl.txt
|
||||
+ jar --date="$$(date -u -d @$${SOURCE_DATE_EPOCH:-$$(date +%s)} +%Y-%m-%dT%H:%M:%SZ)" --create --file=jisp-demo.jar --manifest=MANIFEST.MF *.class svfl.txt
|
||||
+ jar --date="$$(date -u -d @$${SOURCE_DATE_EPOCH:-$$(date +%s)} +%Y-%m-%dT%H:%M:%SZ)" --create --file=jisp.jar --manifest=JISPJAR.MF com/coyotegulch/jisp/*.class svfl.txt
|
||||
|
||||
docs:
|
||||
javadoc -d docs -notimestamp com.coyotegulch.jisp
|
@@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 15:58:19 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added patch:
|
||||
* jisp2-2.5.1-reproducible-jar-mtime.patch
|
||||
+ Use SOURCE_DATE_EPOCH for jar modification times
|
||||
- Modified patch:
|
||||
* jisp2-2.5.1-javac-flags.patch
|
||||
+ build javadoc with the -notimestamp option
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 12:37:06 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 21 12:13:36 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with java source/target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 14 08:05:04 UTC 2017 - fstrba@suse.com
|
||||
|
||||
- Specify java source and target level 1.6 in order to allow
|
||||
building with jdk9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 28 06:53:36 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
|
26
jisp2.spec
26
jisp2.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package jisp2
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -12,29 +12,30 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{!?make_build:%global make_build make %{?_smp_mflags}}
|
||||
Name: jisp2
|
||||
Version: 2.5.1
|
||||
Release: 0
|
||||
Summary: The Java Indexed Serialization Package
|
||||
License: Libpng
|
||||
Group: Development/Libraries/Java
|
||||
Url: http://www.coyotegulch.com/jisp/
|
||||
URL: http://www.coyotegulch.com/jisp/
|
||||
Source0: jisp-2.5.1-source.tar.bz2
|
||||
Patch0: jisp2-2.5.1-java5-enum.patch
|
||||
Patch1: jisp2-2.5.1-javac-flags.patch
|
||||
Patch2: jisp2-2.5.1-reproducible-jar-mtime.patch
|
||||
# jisp-3.0.0 won't work with jakarta-turbine-jcs
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: make
|
||||
Requires: javapackages-tools
|
||||
Requires(post): update-alternatives
|
||||
Requires(pre): update-alternatives
|
||||
Requires(pre): update-alternatives
|
||||
Provides: hibernate_in_process_cache
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@@ -59,15 +60,18 @@ serialized objects stored in files.
|
||||
|
||||
%prep
|
||||
%setup -q -n jisp-%{version}
|
||||
%patch0 -p1
|
||||
%patch -P 0 -p1
|
||||
sed -i -e 's/\r$//g' svfl.txt
|
||||
%patch1 -b .java-cflags
|
||||
%patch -P 1 -b .java-cflags
|
||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0}
|
||||
%patch -P 2 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
export CLASSPATH=
|
||||
make JAVAC_FLAGS=" -target 1.5 -source 1.5" %{?_smp_mflags}
|
||||
make jars %{?_smp_mflags}
|
||||
make docs %{?_smp_mflags}
|
||||
%make_build JAVAC_FLAGS=" -target 1.8 -source 1.8"
|
||||
%make_build jars
|
||||
%make_build docs
|
||||
|
||||
%install
|
||||
# jars
|
||||
|
Reference in New Issue
Block a user