From 4a460c309d49e4ef7fa2feecba058718fdbdff0aecd33defd91e56c9ebbb8e22 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 9 Jul 2021 05:08:18 +0000 Subject: [PATCH 1/3] Accepting request 905127 from home:urbic:java - Update to v0.10.2 - Change the description - Spec file cleanup - Install artifact into %{_javadir}/jnr - Add the _service file - Initial packaging of jnr-constants 0.9.12 OBS-URL: https://build.opensuse.org/request/show/905127 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jnr-constants?expand=0&rev=5 --- _service | 3 +++ jnr-constants-0.10.2.tar.gz | 3 +++ jnr-constants-0.9.12.tar.gz | 3 --- jnr-constants.changes | 11 ++++++++++- jnr-constants.spec | 24 +++++++++++++----------- 5 files changed, 29 insertions(+), 15 deletions(-) create mode 100644 _service create mode 100644 jnr-constants-0.10.2.tar.gz delete mode 100644 jnr-constants-0.9.12.tar.gz diff --git a/_service b/_service new file mode 100644 index 0000000..b3ae8b4 --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + diff --git a/jnr-constants-0.10.2.tar.gz b/jnr-constants-0.10.2.tar.gz new file mode 100644 index 0000000..5b5c608 --- /dev/null +++ b/jnr-constants-0.10.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35bd01750eaf46f07a8fd60ad1cdd2afa0c9b892b384dcdf258aecd48b45adf7 +size 236701 diff --git a/jnr-constants-0.9.12.tar.gz b/jnr-constants-0.9.12.tar.gz deleted file mode 100644 index 85c4e78..0000000 --- a/jnr-constants-0.9.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7c2d23ddd98721ccfab19a9a257a8d967812e74982dd4a01b9b71a05bdc2e3b -size 108760 diff --git a/jnr-constants.changes b/jnr-constants.changes index 6387471..e530878 100644 --- a/jnr-constants.changes +++ b/jnr-constants.changes @@ -1,4 +1,13 @@ +------------------------------------------------------------------- +Thu Jul 8 14:20:52 UTC 2021 - Anton Shvetz + +- Update with v0.10.2 +- Change the description +- Spec file cleanup +- Install artifact into %{_javadir}/jnr +- Add the _service file + ------------------------------------------------------------------- Fri Jul 24 08:51:05 UTC 2020 - Fridrich Strba -- Initial packaging of jnr-constands 0.9.12 +- Initial packaging of jnr-constants 0.9.12 diff --git a/jnr-constants.spec b/jnr-constants.spec index 7ec257d..ddd06ec 100644 --- a/jnr-constants.spec +++ b/jnr-constants.spec @@ -1,7 +1,7 @@ # # spec file for package jnr-constants # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 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-constants -Version: 0.9.12 +%global cluster jnr +Name: %{cluster}-constants +Version: 0.10.2 Release: 0 Summary: Java Native Runtime constants 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(junit:junit) @@ -32,25 +34,25 @@ BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildArch: noarch %description -Provides java values for common platform C constants (e.g. errno). +This project contains Java enums for common POSIX constants. It is +predominately used to make calls into jnr-posix far simpler. %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} : %{name}/%{name} %{name} constantine +%{mvn_file} : %{cluster}/%{name} %{name} constantine # Unnecessary for RPM builds -%pom_remove_plugin ":maven-javadoc-plugin" +%pom_remove_plugin :maven-javadoc-plugin %build -%{mvn_build} -f -- -Dsource=7 +%{mvn_build} -f %install %mvn_install From 0cebc2dc1b6167c66d93518e0992071e394cbb60224c3231c5be308d7c2e3f4e Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 9 Jul 2021 05:08:38 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jnr-constants?expand=0&rev=6 --- _service | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 _service diff --git a/_service b/_service deleted file mode 100644 index b3ae8b4..0000000 --- a/_service +++ /dev/null @@ -1,3 +0,0 @@ - - - From 786effa6621efc4287696936dd2bb28a4bfd51edfe6d1d099e46e29dc8a12c66 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 9 Jul 2021 05:08:49 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jnr-constants?expand=0&rev=7 --- jnr-constants.changes | 1 - 1 file changed, 1 deletion(-) diff --git a/jnr-constants.changes b/jnr-constants.changes index e530878..b58b5da 100644 --- a/jnr-constants.changes +++ b/jnr-constants.changes @@ -5,7 +5,6 @@ Thu Jul 8 14:20:52 UTC 2021 - Anton Shvetz - Change the description - Spec file cleanup - Install artifact into %{_javadir}/jnr -- Add the _service file ------------------------------------------------------------------- Fri Jul 24 08:51:05 UTC 2020 - Fridrich Strba