6
0

Compare commits

...

10 Commits

Author SHA256 Message Date
ad1ef0957a Accepting request 1110828 from Java:packages
reproducible improvements

OBS-URL: https://build.opensuse.org/request/show/1110828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jnr-unixsocket?expand=0&rev=4
2023-09-13 18:45:35 +00:00
ee4c5573d8 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jnr-unixsocket?expand=0&rev=9 2023-09-13 05:38:09 +00:00
a315b6b3f7 Accepting request 1083180 from Java:packages
0.38.19

OBS-URL: https://build.opensuse.org/request/show/1083180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jnr-unixsocket?expand=0&rev=3
2023-04-27 18:01:20 +00:00
2920345366 Accepting request 1080437 from home:urbic:branches:Java:packages
- Update to v0.38.19
  * No changelog provided by upstream
- Update to v0.38.8
  * No changelog provided by upstream
- Wipe obsolete stuff out from the spec file
- Install artifact into %{_javadir}/jnr
- Initial packaging of jnr-unixsocket 0.21

OBS-URL: https://build.opensuse.org/request/show/1080437
OBS-URL: https://build.opensuse.org/package/show/Java:packages/jnr-unixsocket?expand=0&rev=7
2023-04-25 11:25:12 +00:00
c19f224aca Accepting request 905170 from Java:packages
0.38.8

OBS-URL: https://build.opensuse.org/request/show/905170
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jnr-unixsocket?expand=0&rev=2
2021-07-09 22:00:18 +00:00
869dbd1634 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jnr-unixsocket?expand=0&rev=6 2021-07-09 05:10:47 +00:00
7ed84ddc9f OBS-URL: https://build.opensuse.org/package/show/Java:packages/jnr-unixsocket?expand=0&rev=5 2021-07-09 05:10:36 +00:00
ba2c74db7a OBS-URL: https://build.opensuse.org/package/show/Java:packages/jnr-unixsocket?expand=0&rev=4 2021-07-09 05:10:24 +00:00
62e0eb2257 Accepting request 905132 from home:urbic:java
- Update with v0.38.8
- Wipe obsolete stuff out from the spec file
- Install artifact into %{_javadir}/jnr
- Add the _service file

OBS-URL: https://build.opensuse.org/request/show/905132
OBS-URL: https://build.opensuse.org/package/show/Java:packages/jnr-unixsocket?expand=0&rev=3
2021-07-09 05:10:06 +00:00
0bb458f279 Accepting request 822672 from Java:packages
new package

OBS-URL: https://build.opensuse.org/request/show/822672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jnr-unixsocket?expand=0&rev=1
2020-07-27 15:38:21 +00:00
4 changed files with 37 additions and 19 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a277357a6aecfaf81166e2fac07751fc8069d3265761c388d13a2dac007d822
size 24261

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2878098d8ec59fbeab5cf1b7efad2f471c276a49022da88a6e68ab76d6f7c3a
size 32426

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Sep 13 05:37:31 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
-------------------------------------------------------------------
Sun Dec 18 06:16:25 UTC 2022 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v0.38.19
* No changelog provided by upstream
-------------------------------------------------------------------
Thu Jul 8 14:49:22 UTC 2021 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v0.38.8
* No changelog provided by upstream
- Wipe obsolete stuff out from the spec file
- Install artifact into %{_javadir}/jnr
-------------------------------------------------------------------
Fri Jul 24 14:29:22 UTC 2020 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package jnr-unixsocket
# spec file
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,15 @@
#
Name: jnr-unixsocket
Version: 0.21
%global cluster jnr
Name: %{cluster}-unixsocket
Version: 0.38.19
Release: 0
Summary: Unix sockets for Java
License: Apache-2.0
URL: https://github.com/jnr/%{name}/
Source0: https://github.com/jnr/%{name}/archive/%{name}-%{version}.tar.gz
Group: Development/Libraries/Java
URL: https://github.com/%{cluster}/%{name}/
Source0: %{url}/archive/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(com.github.jnr:jnr-constants)
@@ -30,6 +32,7 @@ BuildRequires: mvn(com.github.jnr:jnr-enxio)
BuildRequires: mvn(com.github.jnr:jnr-ffi)
BuildRequires: mvn(com.github.jnr:jnr-posix)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
BuildArch: noarch
@@ -39,38 +42,34 @@ Unix sockets for Java.
%package javadoc
Summary: Javadocs for %{name}
Group: Development/Libraries/Java
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
find ./ -name '*.jar' -delete
find ./ -name '*.class' -delete
%{mvn_file} : %{cluster}/%{name}
# remove unnecessary wagon extension
%pom_xpath_remove pom:build/pom:extensions
# Unnecessary for RPM builds
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_plugin :findbugs-maven-plugin
%pom_remove_plugin :maven-pmd-plugin
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin com.github.spotbugs:spotbugs-maven-plugin
# Can't run integration tests
%pom_remove_plugin :maven-assembly-plugin
%pom_remove_plugin :exec-maven-plugin
# Remove enxio classes to avoid OSGi split-package problems,
# see https://github.com/jnr/jnr-unixsocket/pull/41
rm -r src/main/java/jnr/enxio
# Fix jar plugin usage
%pom_xpath_remove "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions"
%build
%{mvn_build} -f -- -Dsource=7
%{mvn_build} -f -- \
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
-Dsource=8
%install
%mvn_install