public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: John Dennis <jdennis@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/jss] pqc: move jar location to %%{_libdir}/jss and provide symlinks, on 32bit looks like this:
Date: Tue, 28 Jul 2026 16:48:14 GMT	[thread overview]
Message-ID: <178525729477.1.2919431754565614105.rpms-jss-6e20d6e78503@fedoraproject.org> (raw)

          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

                 reply	other threads:[~2026-07-28 16:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178525729477.1.2919431754565614105.rpms-jss-6e20d6e78503@fedoraproject.org \
    --to=jdennis@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox