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
Version: 2.0.8
Release: 15%{?dist}
Release: 16%{?dist}
Epoch: 0
Summary: Full regular expressions API
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} ] && \
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%files
%defattr(-,root,root)
%files -f .mfiles
%doc COMPILE ISSUES README TODO CHANGES CONTRIBUTORS LICENSE STYLE
%{_javadir}/*.jar
%{_mavenpomdir}/JPP-%{name}.pom
%{_mavendepmapfragdir}/%{name}
# symlink, not in .mfiles
%{_javadir}/%{base_name}.jar
%files javadoc
%defattr(-,root,root)
%doc LICENSE
%{_javadocdir}/%{name}
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild