forked from pool/jnr-constants
Accepting request 905163 from Java:packages
0.10.2 OBS-URL: https://build.opensuse.org/request/show/905163 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jnr-constants?expand=0&rev=2
This commit is contained in:
commit
84901f00e8
3
jnr-constants-0.10.2.tar.gz
Normal file
3
jnr-constants-0.10.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:35bd01750eaf46f07a8fd60ad1cdd2afa0c9b892b384dcdf258aecd48b45adf7
|
||||||
|
size 236701
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c7c2d23ddd98721ccfab19a9a257a8d967812e74982dd4a01b9b71a05bdc2e3b
|
|
||||||
size 108760
|
|
@ -1,4 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 8 14:20:52 UTC 2021 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||||
|
|
||||||
|
- Update with v0.10.2
|
||||||
|
- Change the description
|
||||||
|
- Spec file cleanup
|
||||||
|
- Install artifact into %{_javadir}/jnr
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 24 08:51:05 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
Fri Jul 24 08:51:05 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
- Initial packaging of jnr-constands 0.9.12
|
- Initial packaging of jnr-constants 0.9.12
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package jnr-constants
|
# 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
|
# 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-constants
|
%global cluster jnr
|
||||||
Version: 0.9.12
|
Name: %{cluster}-constants
|
||||||
|
Version: 0.10.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Java Native Runtime constants
|
Summary: Java Native Runtime constants
|
||||||
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(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
@ -32,25 +34,25 @@ BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%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
|
%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}
|
||||||
find ./ -name '*.jar' -delete
|
%{mvn_file} : %{cluster}/%{name} %{name} constantine
|
||||||
find ./ -name '*.class' -delete
|
|
||||||
%{mvn_file} : %{name}/%{name} %{name} constantine
|
|
||||||
|
|
||||||
# Unnecessary for RPM builds
|
# Unnecessary for RPM builds
|
||||||
%pom_remove_plugin ":maven-javadoc-plugin"
|
%pom_remove_plugin :maven-javadoc-plugin
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{mvn_build} -f -- -Dsource=7
|
%{mvn_build} -f
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
|
Loading…
Reference in New Issue
Block a user