[qdigidoc] SPEC file fixes

mihkel mihkel at fedoraproject.org
Wed Apr 30 18:09:47 UTC 2014


commit 2fab3c6c678a556d029188b6c8517e0b69f705af
Author: Mihkel Vain <mihkel at fedoraproject.org>
Date:   Wed Apr 30 21:09:27 2014 +0300

    SPEC file fixes

 qdigidoc.spec |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/qdigidoc.spec b/qdigidoc.spec
index 7d42456..173e61b 100644
--- a/qdigidoc.spec
+++ b/qdigidoc.spec
@@ -22,8 +22,8 @@ BuildRequires:  pcsc-lite-devel >= 1.7
 Requires:       hicolor-icon-theme
 # Dynamically loaded library
 Requires:       opensc%{?_isa}
-# Obsolete removed subpackages
-Obsoletes:      qdigidoc-nautilus
+# Obsolete removed subpackage
+Obsoletes:      qdigidoc-nautilus < 3.8.1
 
 %description
 QDigiDoc is an application for digitally signing and encrypting documents in
@@ -41,10 +41,7 @@ Estonia where they are used for storing legally binding digital signatures.
 chmod -x %{_builddir}/%{name}-%{version}/breakpad/google-breakpad/src/processor/minidump.cc
 
 %build
-cmake . \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_VERBOSE_MAKEFILE=ON
+%{cmake} .
 
 make %{?_smp_mflags}
 
@@ -89,6 +86,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 - Obsolete qdigidoc-nautilus
 - Change minidump.cc permissions in prep
 - Patch right line with 0001-fix-cmake-flags.patch
+- Use cmake macro
 
 * Wed Apr 30 2014 Mihkel Vain <mihkel at fedoraproject.org> - 3.8.1.1250-1
 - First package based on new source code from RIA


More information about the scm-commits mailing list