forked from pool/jnr-unixsocket
Compare commits
10 Commits
e5bb64cffa
...
ad1ef0957a
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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user