diff --git a/jss.spec b/jss.spec index 115ee8b..7d2449b 100644 --- a/jss.spec +++ b/jss.spec @@ -1,6 +1,6 @@ Name: jss Version: 4.2.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Java Security Services (JSS) Group: System Environment/Libraries @@ -82,9 +82,9 @@ cp -p %{SOURCE3} . # There is no install target so we'll do it by hand # jars -install -d -m 0755 $RPM_BUILD_ROOT%{_javadir} -install -m 644 mozilla/dist/xpclass.jar ${RPM_BUILD_ROOT}%{_javadir}/jss4-%{version}.jar -pushd $RPM_BUILD_ROOT%{_javadir} +install -d -m 0755 $RPM_BUILD_ROOT%{_jnidir} +install -m 644 mozilla/dist/xpclass.jar ${RPM_BUILD_ROOT}%{_jnidir}/jss4-%{version}.jar +pushd $RPM_BUILD_ROOT%{_jnidir} ln -fs jss4-%{version}.jar jss4.jar popd @@ -113,11 +113,15 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc mozilla/security/jss/jss.html MPL-1.1.txt gpl.txt lgpl.txt -%{_javadir}/* +%{_jnidir}/* %{_libdir}/lib*.so %changelog +* Thu May 24 2007 Rob Crittenden 4.2.4-6 +- Use _jnidir macro instead of _javadir for the jar files. This will break + multilib installs but adheres to the jpackage spec. + * Wed May 16 2007 Rob Crittenden 4.2.4-5 - Include the 3 license files - Remove Requires for nss and nspr. These libraries have versioned symbols