From 24992d486bdad7103926a48b790ef86f6a87a099 Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Tue, 11 May 2010 13:28:43 +0000 Subject: [PATCH] Improve backward compatibility of commons-logging --- apache-commons-logging.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apache-commons-logging.spec b/apache-commons-logging.spec index 831f974..ba1fd14 100644 --- a/apache-commons-logging.spec +++ b/apache-commons-logging.spec @@ -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 - 1.1.1-6 +- Add one more add_to_maven_depmap for backward compatibility + * Mon May 10 2010 Stanislav Ochotnicky - 1.1.1-5 - Fix up add_to_maven_depmap - Add jpackage-utils Requires for javadoc