[libdigidoc] SPEC file fixes

mihkel mihkel at fedoraproject.org
Wed Apr 30 15:26:12 UTC 2014


commit c2790dc84f26545d9ed2dbab0bb73570ca2cc01b
Author: Mihkel Vain <mihkel at fedoraproject.org>
Date:   Wed Apr 30 18:26:11 2014 +0300

    SPEC file fixes

 libdigidoc.spec |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libdigidoc.spec b/libdigidoc.spec
index 00dfc77..5ba088b 100644
--- a/libdigidoc.spec
+++ b/libdigidoc.spec
@@ -1,6 +1,6 @@
 Name:           libdigidoc
 Version:        3.8.0.1133
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Library for handling digitally signed documents
 License:        LGPLv2+
 URL:            http://www.ria.ee
@@ -33,16 +33,13 @@ developing applications that use %{name}.
 %setup -q
 
 %build
-cmake . \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_SYSCONFDIR=/etc \
- -DCMAKE_VERBOSE_MAKEFILE=ON
+%{cmake} . \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc
 
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=%{buildroot}
+make install DESTDIR=%{buildroot} 
 
 %check
 
@@ -67,6 +64,9 @@ rm -rf %{buildroot}
 %{_libdir}/*.so
 
 %changelog
+* Wed Apr 30 2014 Mihkel Vain <mihkel at fedoraproject.org> - 3.8.0.1133-2
+- Use cmake macro
+
 * Thu Apr 24 2014 Mihkel Vain <mihkel at fedoraproject.org> - 3.8.0.1133-1
 - First package based on new source code from RIA
 


More information about the scm-commits mailing list