2021-07-09 05:08:38 +00:00
committed by Git OBS Bridge
parent 6479fce2d1
commit 5ab5dd1d4c
4 changed files with 12 additions and 29 deletions

View File

@@ -1,3 +0,0 @@
<services>
<service name="download_files" mode="manual"/>
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35bd01750eaf46f07a8fd60ad1cdd2afa0c9b892b384dcdf258aecd48b45adf7
size 236701

View File

@@ -1,13 +1,4 @@
-------------------------------------------------------------------
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
- Add the _service file
-------------------------------------------------------------------
Fri Jul 24 08:51:05 UTC 2020 - Fridrich Strba <fstrba@suse.com>
- Initial packaging of jnr-constants 0.9.12
- Initial packaging of jnr-constands 0.9.12

View File

@@ -1,7 +1,7 @@
#
# spec file for package jnr-constants
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,13 @@
#
%global cluster jnr
Name: %{cluster}-constants
Version: 0.10.2
Name: jnr-constants
Version: 0.9.12
Release: 0
Summary: Java Native Runtime constants
License: Apache-2.0
Group: Development/Libraries/Java
URL: https://github.com/%{cluster}/%{name}/
Source0: %{url}/archive/%{name}-%{version}.tar.gz
URL: https://github.com/jnr/%{name}/
Source0: https://github.com/jnr/%{name}/archive/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(junit:junit)
@@ -34,25 +32,25 @@ BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
BuildArch: noarch
%description
This project contains Java enums for common POSIX constants. It is
predominately used to make calls into jnr-posix far simpler.
Provides java values for common platform C constants (e.g. errno).
%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}
%{mvn_file} : %{cluster}/%{name} %{name} constantine
find ./ -name '*.jar' -delete
find ./ -name '*.class' -delete
%{mvn_file} : %{name}/%{name} %{name} constantine
# Unnecessary for RPM builds
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin ":maven-javadoc-plugin"
%build
%{mvn_build} -f
%{mvn_build} -f -- -Dsource=7
%install
%mvn_install