Update for latest Java packaging guidelines (#1106816)

Signed-off-by: Mikolaj Izdebski <mizdebsk@redhat.com>
This commit is contained in:
Yaakov Selkowitz 2014-06-26 19:41:57 -05:00 committed by Mikolaj Izdebski
parent b3a5197138
commit 7628cf91de

View File

@ -32,7 +32,7 @@
Name: jakarta-oro Name: jakarta-oro
Version: 2.0.8 Version: 2.0.8
Release: 15%{?dist} Release: 16%{?dist}
Epoch: 0 Epoch: 0
Summary: Full regular expressions API Summary: Full regular expressions API
License: ASL 1.1 License: ASL 1.1
@ -97,19 +97,19 @@ install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \ [ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || : rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%files %files -f .mfiles
%defattr(-,root,root)
%doc COMPILE ISSUES README TODO CHANGES CONTRIBUTORS LICENSE STYLE %doc COMPILE ISSUES README TODO CHANGES CONTRIBUTORS LICENSE STYLE
%{_javadir}/*.jar # symlink, not in .mfiles
%{_mavenpomdir}/JPP-%{name}.pom %{_javadir}/%{base_name}.jar
%{_mavendepmapfragdir}/%{name}
%files javadoc %files javadoc
%defattr(-,root,root)
%doc LICENSE %doc LICENSE
%{_javadocdir}/%{name} %{_javadocdir}/%{name}
%changelog %changelog
* Fri Jun 27 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0:2.0.8-16
- Update for latest Java packaging guidelines (#1106816)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.0.8-15 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.0.8-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild