Hello community, here is the log from the commit of package opensc for openSUSE:Factory checked in at 2018-07-18 22:53:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opensc (Old) and /work/SRC/openSUSE:Factory/.opensc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opensc" Wed Jul 18 22:53:39 2018 rev:42 rq:621916 version:0.18.0 Changes: -------- --- /work/SRC/openSUSE:Factory/opensc/opensc.changes 2018-02-06 16:49:21.587491041 +0100 +++ /work/SRC/openSUSE:Factory/.opensc.new/opensc.changes 2018-07-18 22:53:45.970995471 +0200 @@ -1,0 +2,11 @@ +Tue Jul 10 16:56:28 CEST 2018 - [email protected] + +- Update to version 0.18.0: + * Further improvements of PIN support. + * Large number of improvements and fixes + (boo#1097951, boo#1100501). + * See /usr/share/doc/packages/opensc/NEWS for complete list. +- Add opensc-desktop.patch, opensc-desktop2.patch and + opensc-bash-completions.patch. + +------------------------------------------------------------------- Old: ---- opensc-0.17.0.tar.gz New: ---- opensc-0.18.0.tar.gz opensc-bash-completions.patch opensc-desktop.patch opensc-desktop2.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opensc.spec ++++++ --- /var/tmp/diff_new_pack.zUy9he/_old 2018-07-18 22:53:46.550993549 +0200 +++ /var/tmp/diff_new_pack.zUy9he/_new 2018-07-18 22:53:46.554993535 +0200 @@ -17,29 +17,36 @@ Name: opensc -Version: 0.17.0 +Version: 0.18.0 Release: 0 Summary: Smart Card Utilities -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Productivity/Security Url: https://github.com/OpenSC/OpenSC/wiki Source: https://github.com/OpenSC/OpenSC/releases/download/%{version}/%{name}-%{version}.tar.gz Source1: baselibs.conf Source2: %{name}-rpmlintrc # Register with p11-kit -# https://www.opensc-project.org/opensc/ticket/390 +# https://web.archive.org/web/20111225073733/http://www.opensc-project.org/opensc/ticket/390 Source3: opensc.module +# PATCH-FIX-UPSTREAM opensc-desktop.patch https://github.com/OpenSC/OpenSC/issues/1402 [email protected] -- Fix desktop file. +Patch1: opensc-desktop.patch +# PATCH-FIX-UPSTREAM opensc-bash-completions.patch [email protected] https://github.com/OpenSC/OpenSC/issues/1403 -- Use correct bash-completion path. +Patch2: opensc-bash-completions.patch +# PATCH-FEATURE-OPENSUSE opensc-desktop2.patch https://github.com/OpenSC/OpenSC/issues/1402 [email protected] -- Add GenericName to the desktop file. +Patch3: opensc-desktop2.patch BuildRequires: docbook-xsl-stylesheets BuildRequires: libtool BuildRequires: libxslt BuildRequires: pkgconfig BuildRequires: readline-devel +BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(libpcsclite) BuildRequires: pkgconfig(openssl) - Requires: pcsc-lite # There is no more devel package. Obsoletes: opensc-devel < %{version} +%define completionsdir %(pkg-config --variable completionsdir bash-completion) %description OpenSC provides a set of utilities to access smart cards. It mainly @@ -58,6 +65,9 @@ %prep %setup -q +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build autoreconf -fvi @@ -85,6 +95,7 @@ %doc %{_docdir}/%{name}/README %doc %{_docdir}/%{name}/tools.html %{_bindir}/* +%{_datadir}/applications/*.desktop %{_datadir}/opensc # Note: .la and .so must be in the main package, required by ltdl: %{_libdir}/*.la @@ -96,8 +107,8 @@ %config %{_sysconfdir}/opensc.conf %dir %{_sysconfdir}/pkcs11 %config %{_sysconfdir}/pkcs11/modules/ -%{_sysconfdir}/bash_completion.d/* # This is a private library. There is no reason to split it to libopensc* package. %{_libdir}/libopensc.so.* +%{completionsdir}/* %changelog ++++++ opensc-0.17.0.tar.gz -> opensc-0.18.0.tar.gz ++++++ ++++ 40798 lines of diff (skipped) ++++++ opensc-bash-completions.patch ++++++ >From b0a20fa7ca30dc6c6198954fadc5a7fe812834dc Mon Sep 17 00:00:00 2001 From: Stanislav Brabec <[email protected]> Date: Fri, 22 Jun 2018 16:38:38 +0200 Subject: [PATCH] Use correct bash-completion path Recent versions of bash is leaving /etc/bash_completion.d. The correct directory is specified by pkg-config --variable completionsdir bash-completion. Fixes https://github.com/OpenSC/OpenSC/issues/1403 --- configure.ac | 4 ++++ doc/tools/Makefile.am | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 700b14dc..6abad0b7 100644 --- a/configure.ac +++ b/configure.ac @@ -839,6 +839,10 @@ if test "${enable_cryptotokenkit}" = "yes"; then fi AC_DEFINE([ENABLE_CRYPTOTOKENKIT], [1], [Define if CryptoTokenKit is to be enabled]) fi +PKG_CHECK_MODULES([BASH_COMPLETION], [bash-completion >= 2.0], + [completiondir="`pkg-config --variable=completionsdir bash-completion`"], + [completiondir="${sysconfdir}/bash_completion.d"]) +AC_SUBST([completiondir]) AC_SUBST(DYN_LIB_EXT) diff --git a/doc/tools/Makefile.am b/doc/tools/Makefile.am index 17e4fbf1..4e2d941c 100644 --- a/doc/tools/Makefile.am +++ b/doc/tools/Makefile.am @@ -15,7 +15,6 @@ man5_MANS = $(patsubst $(srcdir)/%.xml, %, $(wildcard $(srcdir)/*.5.xml)) endif completion_DATA = $(patsubst $(srcdir)/%.1.xml, %, $(wildcard $(srcdir)/*.1.xml)) -completiondir = $(sysconfdir)/bash_completion.d tools.html: $(srcdir)/tools.xml $(wildcard $(srcdir)/*.1.xml) $(wildcard $(srcdir)/*.5.xml) $(XSLTPROC) --nonet --path "$(srcdir)/..:$(xslstylesheetsdir)/html" --xinclude -o $@ html.xsl $< -- 2.18.0 ++++++ opensc-desktop.patch ++++++ Backport. >From d831076974f02dc7714f92526e6352ab18aee748 Mon Sep 17 00:00:00 2001 From: Frank Morgner <[email protected]> Date: Fri, 22 Jun 2018 08:47:06 +0200 Subject: [PATCH] opensc-notify: use generic icon fixes https://github.com/OpenSC/OpenSC/issues/1402 --- src/tools/org.opensc.notify.desktop.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: opensc-0.18.0/src/tools/org.opensc.notify.desktop.in =================================================================== --- opensc-0.18.0.orig/src/tools/org.opensc.notify.desktop.in +++ opensc-0.18.0/src/tools/org.opensc.notify.desktop.in @@ -3,5 +3,5 @@ Name=OpenSC Notify Type=Application Comment=Monitor smart card events to send notifications. Exec=@bindir@/opensc-notify -Icon=preferences-system-notifications +Icon=utilities-system-monitor Categories=Security;System; ++++++ opensc-desktop2.patch ++++++ >From 4db9db7403cd5c49efc97ce6eac4ab5b4cd46e66 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec <[email protected]> Date: Wed, 27 Jun 2018 21:20:04 +0200 Subject: [PATCH] Add GenericName to the desktop file Add optional GenericName to org.opensc.notify.desktop. GenericName is recently widely used for menu rendering in desktop environments. --- src/tools/org.opensc.notify.desktop.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/org.opensc.notify.desktop.in b/src/tools/org.opensc.notify.desktop.in index 20e217d6..1c8755c4 100644 --- a/src/tools/org.opensc.notify.desktop.in +++ b/src/tools/org.opensc.notify.desktop.in @@ -1,5 +1,6 @@ [Desktop Entry] Name=OpenSC Notify +GenericName=Smard card notification Type=Application Comment=Monitor smart card events to send notifications. Exec=@bindir@/opensc-notify -- 2.18.0
