Compare commits

...

No commits in common. "c8-stream-201902" and "c8-beta-stream-rhel8" have entirely different histories.

3 changed files with 29 additions and 24 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/glassfish-servlet-api-4.0.1.tar.gz
SOURCES/javax.servlet-api-3.1.0.tar.xz

View File

@ -1 +1 @@
50f70c543342255050ccb8ca227de45f0fbafb90 SOURCES/glassfish-servlet-api-4.0.1.tar.gz
30227f6152fe7febbe70330e1f47ac57094e999d SOURCES/javax.servlet-api-3.1.0.tar.xz

View File

@ -1,11 +1,14 @@
Name: glassfish-servlet-api
Version: 4.0.1
Release: 2%{?dist}
Summary: Java Servlet API
License: (CDDL-1.0 or GPLv2 with exceptions) and ASL 2.0
URL: https://javaee.github.io/servlet-spec/
%global artifactId javax.servlet-api
Source0: https://github.com/javaee/servlet-spec/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Name: glassfish-servlet-api
Version: 3.1.0
Release: 19%{?dist}
Summary: Java Servlet API
License: (CDDL or GPLv2 with exceptions) and ASL 2.0
URL: http://servlet-spec.java.net
# svn export https://svn.java.net/svn/glassfish~svn/tags/javax.servlet-api-3.1.0 javax.servlet-api-3.1.0
# tar cvJf javax.servlet-api-3.1.0.tar.xz javax.servlet-api-3.1.0/
Source0: %{artifactId}-%{version}.tar.xz
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildArch: noarch
@ -16,7 +19,6 @@ BuildRequires: maven-local
BuildRequires: maven-plugin-bundle
BuildRequires: maven-source-plugin
%description
The javax.servlet package contains a number of classes
and interfaces that describe and define the contracts between
@ -30,16 +32,13 @@ Summary: Javadoc for %{name}
API documentation for %{name}.
%prep
%setup -q -n servlet-spec-%{version}
%setup -q -n %{artifactId}-%{version}
%pom_remove_plugin :maven-remote-resources-plugin
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :glassfish-copyright-maven-plugin
cp -p %{SOURCE1} .
# README contains also part of javax.servlet-api license
cp -p src/main/resources/META-INF/README .
%mvn_file :javax.servlet-api glassfish-servlet-api
%mvn_file :%{artifactId} %{name}
%build
%mvn_alias : javax.servlet:servlet-api
@ -52,21 +51,27 @@ cp -p src/main/resources/META-INF/README .
%files -f .mfiles
%doc README
%license LICENSE-2.0.txt LICENSE
%license LICENSE-2.0.txt
%files javadoc -f .mfiles-javadoc
%doc README
%license LICENSE-2.0.txt LICENSE
%license LICENSE-2.0.txt
%changelog
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.0.1-2
- Mass rebuild for javapackages-tools 201902
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.1.0-19
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Thu Jul 18 2019 Marian Koncek <mkoncek@redhat.com> - 4.0.1-1
- Update to upstream version 4.0.1
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1.0-15
- Mass rebuild for javapackages-tools 201901
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@ -112,4 +117,4 @@ cp -p src/main/resources/META-INF/README .
- Update to 3.1.0
* Sat Mar 09 2013 David Xie <david.scriptfan@gmail.com> - 3.1-0.1.b07
- Initial version of package
- Initial version of package