forked from pool/jnr-unixsocket
Compare commits
10 Commits
e5bb64cffa
...
leap-16.0
Author | SHA256 | Date | |
---|---|---|---|
ad1ef0957a | |||
ee4c5573d8 | |||
a315b6b3f7 | |||
2920345366 | |||
c19f224aca | |||
869dbd1634 | |||
7ed84ddc9f | |||
ba2c74db7a | |||
62e0eb2257 | |||
0bb458f279 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4a277357a6aecfaf81166e2fac07751fc8069d3265761c388d13a2dac007d822
|
|
||||||
size 24261
|
|
3
jnr-unixsocket-0.38.19.tar.gz
Normal file
3
jnr-unixsocket-0.38.19.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e2878098d8ec59fbeab5cf1b7efad2f471c276a49022da88a6e68ab76d6f7c3a
|
||||||
|
size 32426
|
@@ -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>
|
Fri Jul 24 14:29:22 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@@ -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
|
# 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
|
||||||
@@ -16,13 +16,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: jnr-unixsocket
|
%global cluster jnr
|
||||||
Version: 0.21
|
Name: %{cluster}-unixsocket
|
||||||
|
Version: 0.38.19
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Unix sockets for Java
|
Summary: Unix sockets for Java
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/jnr/%{name}/
|
Group: Development/Libraries/Java
|
||||||
Source0: https://github.com/jnr/%{name}/archive/%{name}-%{version}.tar.gz
|
URL: https://github.com/%{cluster}/%{name}/
|
||||||
|
Source0: %{url}/archive/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(com.github.jnr:jnr-constants)
|
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-ffi)
|
||||||
BuildRequires: mvn(com.github.jnr:jnr-posix)
|
BuildRequires: mvn(com.github.jnr:jnr-posix)
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
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.apache.maven.plugins:maven-source-plugin)
|
||||||
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -39,38 +42,34 @@ Unix sockets for Java.
|
|||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadocs for %{name}
|
Summary: Javadocs for %{name}
|
||||||
|
Group: Development/Libraries/Java
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
This package contains the API documentation for %{name}.
|
This package contains the API documentation for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
%{mvn_file} : %{cluster}/%{name}
|
||||||
find ./ -name '*.jar' -delete
|
|
||||||
find ./ -name '*.class' -delete
|
|
||||||
|
|
||||||
# remove unnecessary wagon extension
|
# remove unnecessary wagon extension
|
||||||
%pom_xpath_remove pom:build/pom:extensions
|
%pom_xpath_remove pom:build/pom:extensions
|
||||||
|
|
||||||
# Unnecessary for RPM builds
|
# Unnecessary for RPM builds
|
||||||
%pom_remove_plugin :maven-checkstyle-plugin
|
%pom_remove_plugin :maven-checkstyle-plugin
|
||||||
%pom_remove_plugin :findbugs-maven-plugin
|
|
||||||
%pom_remove_plugin :maven-pmd-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
|
# Can't run integration tests
|
||||||
%pom_remove_plugin :maven-assembly-plugin
|
%pom_remove_plugin :maven-assembly-plugin
|
||||||
%pom_remove_plugin :exec-maven-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
|
# Fix jar plugin usage
|
||||||
%pom_xpath_remove "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions"
|
%pom_xpath_remove "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions"
|
||||||
|
|
||||||
%build
|
%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
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
Reference in New Issue
Block a user