diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..ab2fb20 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,5 @@ +opensc + +/usr/lib(64)?/*.la + +/usr/lib(64)?/*.so* + +/usr/lib(64)?/pkcs11/*.so + requires "opensc = " diff --git a/opensc-ADVISORIES b/opensc-ADVISORIES deleted file mode 100644 index f64c2a0..0000000 --- a/opensc-ADVISORIES +++ /dev/null @@ -1,14 +0,0 @@ -opensc security advisories -========================== - -Opensc gets regular security updates during the maintenance period like -other packages in openSUSE and SLE. - -But opensc needs a special care - some of security problems cannot be -fixed by a simple package update. You need to take a special action and -check your cards, tokens or certificates. - -If you just updated from a previous version of openSUSE or SLE, don't -forget to check for these advisories. - -http://en.opensuse.org/Smart_Cards/Advisories diff --git a/opensc.changes b/opensc.changes index bdf29fc..06fae7d 100644 --- a/opensc.changes +++ b/opensc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 22 16:42:06 CET 2016 - sbrabec@suse.com + +- Add baselibs.conf to provide 32-bit PKCS11 plugins (bsc#996047). +- Drop opensc-ADVISORIES. There is no new advisory since 2009. + ------------------------------------------------------------------- Tue Jul 5 12:09:24 UTC 2016 - t.gruner@katodev.de diff --git a/opensc.spec b/opensc.spec index 8ae4de3..da77563 100644 --- a/opensc.spec +++ b/opensc.spec @@ -24,7 +24,7 @@ License: LGPL-2.1+ Group: Productivity/Security Url: https://github.com/OpenSC/OpenSC/wiki Source: %{name}-%{version}.tar.gz -Source1: %{name}-ADVISORIES +Source1: baselibs.conf Source2: %{name}-rpmlintrc # Register with p11-kit # https://www.opensc-project.org/opensc/ticket/390 @@ -58,7 +58,6 @@ may require third party proprietary software. %prep %setup -q -cp -a %{SOURCE1} ADVISORIES %build %if 0%{?suse_version} > 1100 @@ -74,7 +73,7 @@ make %{?_smp_mflags} mkdir -p %{buildroot}%{_sysconfdir} mkdir -p %{buildroot}%{_libdir}/pkcs11 make %{?_smp_mflags} DESTDIR=%{buildroot} install -cp COPYING ADVISORIES NEWS README %{buildroot}%{_docdir}/%{name} +cp COPYING NEWS README %{buildroot}%{_docdir}/%{name} # Private library. rm %{buildroot}%{_libdir}/libopensc.so install -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pkcs11/modules/opensc.module @@ -85,7 +84,6 @@ install -D -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pkcs11/modules/opensc.mo %files %defattr(-,root,root) %doc %dir %{_docdir}/%{name} -%doc %{_docdir}/%{name}/ADVISORIES %doc %{_docdir}/%{name}/COPYING %doc %{_docdir}/%{name}/NEWS %doc %{_docdir}/%{name}/README