Improve backward compatibility of commons-logging

This commit is contained in:
Stanislav Ochotnicky 2010-05-11 13:28:43 +00:00
parent 8b643ad3cb
commit 24992d486b

View File

@ -4,7 +4,7 @@
Name: apache-%{short_name}
Version: 1.1.1
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Apache Commons Logging
License: ASL 2.0
Group: Development/Libraries
@ -108,6 +108,10 @@ install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{short_name}.pom
%add_to_maven_depmap org.apache.commons %{short_name} %{version} JPP %{name}
# following line is only for backwards compatibility. New packages
# should use proper groupid org.apache.commons and also artifactid
%add_to_maven_depmap %{short_name} %{short_name} %{version} JPP %{name}
# javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
@ -144,6 +148,9 @@ rm -rf $RPM_BUILD_ROOT
# -----------------------------------------------------------------------------
%changelog
* Tue May 11 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.1-6
- Add one more add_to_maven_depmap for backward compatibility
* Mon May 10 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.1-5
- Fix up add_to_maven_depmap
- Add jpackage-utils Requires for javadoc