diff --git a/apache-commons-logging.spec b/apache-commons-logging.spec index ddd9880..70f1d15 100644 --- a/apache-commons-logging.spec +++ b/apache-commons-logging.spec @@ -4,7 +4,7 @@ Name: apache-%{short_name} Version: 1.1.1 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Apache Commons Logging License: ASL 2.0 Group: Development/Libraries @@ -87,6 +87,12 @@ install -p -m 644 target/%{short_name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir} install -p -m 644 target/%{short_name}-api-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-api.jar install -p -m 644 target/%{short_name}-adapters-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-adapters.jar +pushd $RPM_BUILD_ROOT%{_javadir} +for jar in %{name}*; do + ln -sf ${jar} `echo $jar| sed "s|apache-||g"` +done +popd + # pom install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{short_name}.pom @@ -139,6 +145,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || : # ----------------------------------------------------------------------------- %changelog +* Thu Dec 16 2010 Alexander Kurtakov 1.1.1-14 +- Bring back commons-logging* symlinks. + * Thu Dec 16 2010 Stanislav Ochotnicky - 1.1.1-13 - Replace tomcat6 BR with servlet25 only - Cleanups according to new packaging guidelines