public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pcsc-perl] epel10: - Eliminate file based dependencies.
Date: Thu, 03 Sep 2026 15:00:14 GMT	[thread overview]
Message-ID: <178844761495.1.4365465721713039445.rpms-pcsc-perl-957c0773c27c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/pcsc-perl
Branch : epel10
Commit : 957c0773c27c3bf2cf8f7c722f4ef7d65e0d6ac2
Author : Ville Skyttä <scop@fedoraproject.org>
Date   : 2006-12-23T23:11:11+00:00
Stats  : +12/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/pcsc-perl/c/957c0773c27c3bf2cf8f7c722f4ef7d65e0d6ac2?branch=epel10

Log:
- Eliminate file based dependencies.

---
diff --git a/pcsc-perl.spec b/pcsc-perl.spec
index fedd49e..15e30f0 100644
--- a/pcsc-perl.spec
+++ b/pcsc-perl.spec
@@ -1,9 +1,12 @@
 %define pcscver 1.3.0
-%define pcsclib %{_libdir}/libpcsclite.so.1
+%define pcsclib libpcsclite.so.1
+%ifarch x86_64 ppc64 ia64 sparc64 s390x
+%define mark64  ()(64bit)
+%endif
 
 Name:           pcsc-perl
 Version:        1.4.4
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Perl interface to the PC/SC smart card library
 
 Group:          Development/Libraries
@@ -14,7 +17,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  perl
 BuildRequires:  pcsc-lite-devel >= %{pcscver}
-Requires:       %{pcsclib}
+Requires:       %{pcsclib}%{?mark64}
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Provides:       perl-pcsc = %{version}-%{release}
 
@@ -45,6 +48,9 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
 # tests need configured readers etc
+if ! grep -qF 'dlopen("%{pcsclib}"' PCSCperl.h ; then # sanity check
+    echo "ERROR: pcsc lib name mismatch in PCSCperl.h/dependencies" ; exit 1
+fi
 
 
 %clean
@@ -60,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Dec 24 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.4-3
+- Eliminate file based dependencies.
+
 * Thu Nov  2 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.4-2
 - Rebuild with pcsc-lite 1.3.2 for extended APDU support.
 

                 reply	other threads:[~2026-09-03 15:00 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=178844761495.1.4365465721713039445.rpms-pcsc-perl-957c0773c27c@fedoraproject.org \
    --to=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