Rebuild for jsp api.

- Drop old javadoc pre section.
This commit is contained in:
Alexander Kurtakov 2015-02-25 22:47:32 +02:00
parent 534e9f635f
commit 0649f11cec

View File

@ -3,7 +3,7 @@
Name: apache-%{short_name}
Version: 1.3
Release: 20%{?dist}
Release: 21%{?dist}
Summary: Simple XPath interpreter
Group: Development/Libraries
@ -26,7 +26,7 @@ BuildRequires: maven-plugin-bundle
BuildRequires: maven-resources-plugin
BuildRequires: maven-surefire-plugin
BuildRequires: servlet
BuildRequires: jsp
BuildRequires: mvn(javax.servlet:jsp-api)
BuildRequires: el_api
%description
@ -55,12 +55,6 @@ This package contains the API documentation for %{name}.
%install
%mvn_install
%pre javadoc
# workaround for rpm bug, can be removed in F-20
[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%files -f .mfiles
%doc LICENSE.txt NOTICE.txt
@ -68,6 +62,10 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%doc LICENSE.txt NOTICE.txt
%changelog
* Wed Feb 25 2015 Alexander Kurtakov <akurtako@redhat.com> 1.3-21
- Rebuild for jsp api.
- Drop old javadoc pre section.
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3-20
- Remove legacy Obsoletes/Provides for jakarta-commons