forked from pool/jmdns
Compare commits
10 Commits
bf9ddfc957
...
b0b3c41c05
Author | SHA256 | Date | |
---|---|---|---|
b0b3c41c05 | |||
5b05bffc1e | |||
de9bb99254 | |||
92c0c2ef7b | |||
f6068a7972 | |||
b9ac724608 | |||
0afa578b95 | |||
162e87e223 | |||
edbd4470ee | |||
d82f6aba68 |
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 19 11:03:18 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Do not require maven-javadoc-plugin that we don't use
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 11 10:36:51 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 17:06:48 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build with source and target levels 8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 19 08:23:39 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
14
jmdns.spec
14
jmdns.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package jmdns
|
||||
#
|
||||
# Copyright (c) 2022 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
|
||||
@@ -24,6 +24,7 @@ License: Apache-2.0
|
||||
URL: https://github.com/jmdns/jmdns
|
||||
Source0: https://github.com/jmdns/jmdns/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.slf4j:slf4j-api)
|
||||
@@ -45,11 +46,18 @@ Summary: API documentation for %{name}
|
||||
%setup -q
|
||||
chmod -x README.md
|
||||
|
||||
%pom_remove_plugin :maven-javadoc-plugin
|
||||
|
||||
%{mvn_alias} :jmdns javax.jmdns:
|
||||
|
||||
%build
|
||||
# Tests are disabled because they try to use network
|
||||
%{mvn_build} -f -- -Dsource=6
|
||||
|
||||
%{mvn_build} -f -- \
|
||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
|
||||
-Dmaven.compiler.release=8 \
|
||||
%endif
|
||||
-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