public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jss] pqc: move jar location to %%{_libdir}/jss and provide symlinks, on 32bit looks like this:
@ 2026-07-28 16:48 John Dennis
  0 siblings, 0 replies; only message in thread
From: John Dennis @ 2026-07-28 16:48 UTC (permalink / raw)
  To: git-commits

          A new commit has been pushed.

          Repo   : rpms/jss
          Branch : pqc
          Commit : 6e20d6e785034e58f93674923de01d59ccb54e93
          Author : John Dennis <jdennis@redhat.com>
          Date   : 2010-12-17T09:16:50-05:00
          Stats  : +16/-8 in 1 file(s)
          URL    : https://src.fedoraproject.org/rpms/jss/c/6e20d6e785034e58f93674923de01d59ccb54e93?branch=pqc

          Log:
          move jar location to %%{_libdir}/jss and provide symlinks, on 32bit looks like this:
/usr/lib/java/jss4.jar -> /usr/lib/jss/jss4.jar
/usr/lib/jss/jss4-<version>.jar
/usr/lib/jss/jss4.jar -> jss4-<version>.jar
/usr/lib/jss/libjss4.so

---
diff --git a/jss.spec b/jss.spec
index 649efa4..f2b1785 100644
--- a/jss.spec
+++ b/jss.spec
@@ -1,6 +1,6 @@
 Name:           jss
 Version:        4.2.6
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Java Security Services (JSS)
 
 Group:          System Environment/Libraries
@@ -107,11 +107,12 @@ cp -p %{SOURCE3} .
 # There is no install target so we'll do it by hand
 
 # jars
+install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}/jss
+install -m 644 mozilla/dist/xpclass.jar ${RPM_BUILD_ROOT}%{_libdir}/jss/jss4-%{version}.jar
+ln -fs jss4-%{version}.jar $RPM_BUILD_ROOT%{_libdir}/jss/jss4.jar
+
 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
+ln -fs %{_libdir}/jss/jss4.jar $RPM_BUILD_ROOT%{_jnidir}/jss4.jar
 
 # We have to use the name libjss4.so because this is dynamically
 # loaded by the jar file.
@@ -142,8 +143,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc mozilla/security/jss/jss.html MPL-1.1.txt gpl.txt lgpl.txt
+%{_libdir}/jss/*
 %{_jnidir}/*
-%{_libdir}/jss/lib*.so
 
 %files javadoc
 %defattr(-,root,root,-)
@@ -152,6 +153,13 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Dec 16 2010 John Dennis <jdennis@redhat.com> - 4.2.6-10
+- move jar location to %%{_libdir}/jss and provide symlinks, on 32bit looks like this:
+  /usr/lib/java/jss4.jar -> /usr/lib/jss/jss4.jar
+  /usr/lib/jss/jss4-<version>.jar
+  /usr/lib/jss/jss4.jar -> jss4-<version>.jar
+  /usr/lib/jss/libjss4.so
+
 * Mon Dec  6 2010 John Dennis <jdennis@redhat.com> - 4.2.6-9
 - Resolves: bug 654657 - <jdennis@redhat.com>
   Incorrect socket accept error message due to bad pointer arithmetic
@@ -193,9 +201,9 @@ rm -rf $RPM_BUILD_ROOT
   CA ECC Signing Key Failure
 - Resolves: bug 502111 - <cfu@redhat.com>
   Need JSS interface for NSS's PK11_GenerateKeyPairWithOpFlags() function
-- Resolves: bug 503809 - <cfu@redhat.com>
+- Resolves: bug 503809 - <mharmsen@redhat.com>
   Update JSS version to 4.2.6
-- Resolves: bug 503817 - <cfu@redhat.com>
+- Resolves: bug 503817 - <mharmsen@redhat.com>
   Create JSS Javadocs as their own RPM
 
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.5-4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-28 16:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-28 16:48 [rpms/jss] pqc: move jar location to %%{_libdir}/jss and provide symlinks, on 32bit looks like this: John Dennis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox