Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
This commit is contained in:
Tomas Hrcka 2019-09-19 10:49:24 +02:00
parent 7f1481b5ad
commit 057e4e3019
4 changed files with 81 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/jboss-jaxrs-api_2.0_spec-1.0.0.Final.tar.gz

View File

@ -1 +0,0 @@
Orphaned for 6+ weeks

79
jboss-jaxrs-2.0-api.spec Normal file
View File

@ -0,0 +1,79 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
%global oname jboss-jaxrs-api_2.0_spec
Name: jboss-jaxrs-2.0-api
Version: 1.0.0
Release: 9%{?dist}
Summary: JAX-RS 2.0: The Java API for RESTful Web Services
# ASL 2.0 src/main/java/javax/ws/rs/core/GenericEntity.java
License: (CDDL or GPLv2 with exceptions) and ASL 2.0
URL: https://github.com/jboss/jboss-jaxrs-api_spec
Source0: https://github.com/jboss/jboss-jaxrs-api_spec/archive/%{oname}-%{namedversion}.tar.gz
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
BuildArch: noarch
%description
JSR 339: JAX-RS 2.0: The Java API for RESTful Web Services.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q -n jboss-jaxrs-api_spec-%{oname}-%{namedversion}
# Unneeded plugin
%pom_remove_plugin :maven-source-plugin
%mvn_file :%{oname} %{name}
# remove after upgrading narayana
%mvn_alias ":jboss-jaxrs-api_2.0_spec" "org.jboss.resteasy:jaxrs-api"
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Jun 24 2016 gil cattaneo <puntogil@libero.it> 1.0.0-3
- temporarily add org.jboss.resteasy:jaxrs-api alias
* Tue Jun 07 2016 gil cattaneo <puntogil@libero.it> 1.0.0-2
- review fixes
* Mon Jun 06 2016 gil cattaneo <puntogil@libero.it> 1.0.0-1
- initial rpm

1
sources Normal file
View File

@ -0,0 +1 @@
ba34279b1793913af28999a4b3107378 jboss-jaxrs-api_2.0_spec-1.0.0.Final.tar.gz