From 2cbf0500b29cfa09798d185dd176a700c1c62a4b Mon Sep 17 00:00:00 2001 From: Mihkel Vain Date: Apr 30 2014 17:52:22 +0000 Subject: SPEC file fixes --- diff --git a/libdigidocpp.spec b/libdigidocpp.spec index 03a81e2..9569657 100644 --- a/libdigidocpp.spec +++ b/libdigidocpp.spec @@ -1,6 +1,6 @@ Name: libdigidocpp Version: 3.8.0.1208 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for creating and validating BDoc and DDoc containers License: LGPLv2+ URL: http://www.ria.ee @@ -16,6 +16,11 @@ BuildRequires: xsd # Dynamically loaded libraries Requires: opensc%{?_isa} +# Obsolete removed subpackages +Obsoletes: perl-digidoc < 3.8.0 +Obsoletes: php-digidoc < 3.8.0 +Obsoletes: ppython-digidoc < 3.8.0 + %description libdigidocpp is a C++ library for reading, validating, and creating BDoc and DDoc containers. These file formats are widespread in Estonia where they are @@ -38,11 +43,8 @@ developing applications that use %{name}. %setup -q %build -cmake . \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_INSTALL_PREFIX=/usr \ +%{cmake} . \ -DCMAKE_INSTALL_SYSCONFDIR=/etc \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ -DSWIG_EXECUTABLE=SWIG_EXECUTABLE-NOTFOUND make %{?_smp_mflags} @@ -80,6 +82,10 @@ rm -rf %{buildroot} %changelog +* Wed Apr 30 2014 Mihkel Vain - 3.8.0.1208-2 +- Use cmake macro +- Obsolete old subpackages + * Thu Apr 24 2014 Mihkel Vain - 3.8.0.1208-1 - First package based on new source code from RIA