forked from pool/jnr-posix
Compare commits
10 Commits
af63a5d01d
...
factory
Author | SHA256 | Date | |
---|---|---|---|
c8895f1f18 | |||
0e19789e00 | |||
a130adde85 | |||
9d9eb309c9 | |||
5fc67aea7f | |||
5ab51e3ff1 | |||
4038dbf70b | |||
101937fee9 | |||
1c5c5c5e78 | |||
ec7f50b72e |
3
jnr-posix-3.1.16.tar.gz
Normal file
3
jnr-posix-3.1.16.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:236cb57173d46af3c67982891cccbd354d26a4a18da09591b498a69999974b83
|
||||
size 120553
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:98713cd336ab9440996a01c3dc793305b4b876ade3360aecaac28fb1bd0c7d96
|
||||
size 119208
|
@@ -1,10 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 3 23:25:08 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added patch:
|
||||
* sun-misc.patch
|
||||
+ build with source/target 8 instead of release 8 to be able
|
||||
to use the sun.misc package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 9 14:30:59 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 23 21:36:17 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Do not require sun.nio.ch package that we access by reflection
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 18 06:36:29 UTC 2022 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Update to v3.1.16
|
||||
* No changelog provided by upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 8 14:43:57 UTC 2021 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Update with v3.1.7
|
||||
* No changelog provided by upstream
|
||||
- Wipe obsolete stuff out from the spec
|
||||
- Install artifact into %{_javadir}/jnr
|
||||
- Add the _service file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 24 11:40:24 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package jnr-posix
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,13 +18,14 @@
|
||||
|
||||
%global cluster jnr
|
||||
Name: %{cluster}-posix
|
||||
Version: 3.1.7
|
||||
Version: 3.1.16
|
||||
Release: 0
|
||||
Summary: Java Posix layer
|
||||
License: CPL-1.0 OR GPL-2.0-or-later OR LGPL-2.1-or-later
|
||||
Group: Development/Libraries/Java
|
||||
URL: https://github.com/%{cluster}/%{name}
|
||||
Source0: %{url}/archive/%{name}-%{version}.tar.gz
|
||||
Patch0: sun-misc.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(com.github.jnr:jnr-constants)
|
||||
@@ -47,6 +48,7 @@ Javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-%{version}
|
||||
%patch -P 0 -p1
|
||||
%{mvn_file} : %{cluster}/%{name}
|
||||
|
||||
# Remove useless wagon extension.
|
||||
@@ -55,8 +57,10 @@ Javadoc for %{name}.
|
||||
# Unnecessary for RPM builds
|
||||
%pom_remove_plugin ":maven-javadoc-plugin"
|
||||
|
||||
%pom_xpath_set pom:configuration/pom:instructions/pom:Import-Package "!sun.misc,!sun.nio.ch,*"
|
||||
|
||||
%build
|
||||
%{mvn_build} -f
|
||||
%{mvn_build} -f -- -Dsource=8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
28
sun-misc.patch
Normal file
28
sun-misc.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
diff -urEbwB jnr-posix-jnr-posix-3.1.16.orig/pom.xml jnr-posix-jnr-posix-3.1.16/pom.xml
|
||||
--- jnr-posix-jnr-posix-3.1.16.orig/pom.xml 2025-07-04 01:14:29.228326748 +0200
|
||||
+++ jnr-posix-jnr-posix-3.1.16/pom.xml 2025-07-04 01:23:14.708406346 +0200
|
||||
@@ -219,21 +219,9 @@
|
||||
<phase>compile</phase>
|
||||
<goals><goal>compile</goal></goals>
|
||||
<configuration>
|
||||
- <includes>
|
||||
- <include>jnr/posix/util/SunMiscSignal.java</include>
|
||||
- </includes>
|
||||
- </configuration>
|
||||
- </execution>
|
||||
- <execution>
|
||||
- <id>java9-compile</id>
|
||||
- <phase>compile</phase>
|
||||
- <goals><goal>compile</goal></goals>
|
||||
- <configuration>
|
||||
- <!-- Use -release compiler option rather than source/target if 9+ -->
|
||||
- <release>${maven.compiler.target}</release>
|
||||
- <excludes>
|
||||
- <exclude>jnr/posix/util/SunMiscSignal.java</exclude>
|
||||
- </excludes>
|
||||
+ <source>${maven.compiler.source}</source>
|
||||
+ <target>${maven.compiler.target}</target>
|
||||
+ <release combine.self="override"/>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
Reference in New Issue
Block a user