| |
@@ -1,21 +1,14 @@
|
| |
%global artifactId javax.servlet.jsp-api
|
| |
- %global jspspec 2.2
|
| |
- %global reltag b01
|
| |
-
|
| |
|
| |
Name: glassfish-jsp-api
|
| |
- Version: 2.3.2
|
| |
- Release: 0.12.%{reltag}%{?dist}
|
| |
+ Version: 2.3.3
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Glassfish J2EE JSP API specification
|
| |
-
|
| |
License: (CDDL-1.1 or GPLv2 with exceptions) and ASL 2.0
|
| |
- URL: http://java.net/jira/browse/JSP
|
| |
- Source0: %{artifactId}-%{version}-%{reltag}.tar.xz
|
| |
- # no source releases, but this will generate tarball for you from an
|
| |
- # SVN tag
|
| |
- Source1: generate_tarball.sh
|
| |
- Source2: http://www.apache.org/licenses/LICENSE-2.0.txt
|
| |
- Source3: https://javaee.github.io/glassfish/LICENSE.html
|
| |
+
|
| |
+ URL: https://github.com/javaee/javaee-jsp-api
|
| |
+ Source0: %{url}/archive/%{artifactId}-%{version}.tar.gz
|
| |
+ Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
| |
|
| |
BuildArch: noarch
|
| |
|
| |
@@ -39,35 +32,44 @@
|
| |
%{summary}.
|
| |
|
| |
%prep
|
| |
- %setup -q -n %{artifactId}-%{version}-%{reltag}
|
| |
+ %setup -q -n javaee-jsp-api-%{artifactId}-%{version}
|
| |
|
| |
- cp -p %{SOURCE2} LICENSE-ASL-2.0.txt
|
| |
- cp -p %{SOURCE3} LICENSE-CDDL+GPLv2.html
|
| |
+ cp -p %{SOURCE1} LICENSE-ASL-2.0.txt
|
| |
|
| |
+ pushd api
|
| |
# Submited upstream: http://java.net/jira/browse/JSP-31
|
| |
sed -i "/<bundle.symbolicName>/s/-api//" pom.xml
|
| |
|
| |
%pom_xpath_remove "pom:dependency[pom:groupId='javax.el' or pom:groupId='javax.servlet']/pom:scope"
|
| |
|
| |
+ %pom_remove_plugin :maven-gpg-plugin
|
| |
# javadoc generation fails due to strict doclint in JDK 8
|
| |
%pom_remove_plugin :maven-javadoc-plugin
|
| |
|
| |
%mvn_alias : javax.servlet:jsp-api
|
| |
+ popd
|
| |
|
| |
%build
|
| |
+ pushd api
|
| |
%mvn_build
|
| |
+ popd
|
| |
|
| |
%install
|
| |
+ pushd api
|
| |
%mvn_install
|
| |
+ popd
|
| |
|
| |
- %files -f .mfiles
|
| |
- %license LICENSE-ASL-2.0.txt LICENSE-CDDL+GPLv2.html
|
| |
+ %files -f api/.mfiles
|
| |
+ %license LICENSE-ASL-2.0.txt LICENSE
|
| |
|
| |
- %files javadoc -f .mfiles-javadoc
|
| |
- %license LICENSE-ASL-2.0.txt LICENSE-CDDL+GPLv2.html
|
| |
+ %files javadoc -f api/.mfiles-javadoc
|
| |
+ %license LICENSE-ASL-2.0.txt LICENSE
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Mon Oct 21 2019 Fabio Valentini <decathorpe@gmail.com> - 2.3.3-1
|
| |
+ - Update to version 2.3.3.
|
| |
+
|
| |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-0.12.b01
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
| |
|
| |
Test rebuilds of recursively dependent packages were done in COPR and were successful:
https://copr.fedorainfracloud.org/coprs/decathorpe/glassfish-jsp-api-2.3.3-pr/monitor/
All build failures were expected and already happen in rawhide without this change.