From 9469c4fe38e1952072588c0e8ed999ba88f93b14 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 7 Mar 2018 12:34:57 -0600 Subject: [PATCH] BR: gcc-c++, use %make_build %make_install %ldconfig_scriptlets --- redland.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/redland.spec b/redland.spec index e022593..0d87494 100644 --- a/redland.spec +++ b/redland.spec @@ -1,7 +1,7 @@ Name: redland Version: 1.0.17 -Release: 14%{?dist} +Release: 15%{?dist} Summary: RDF Application Framework License: LGPLv2+ or ASL 2.0 @@ -9,6 +9,7 @@ URL: http://librdf.org/ Source0: http://download.librdf.org/source/%{name}-%{version}.tar.gz BuildRequires: curl-devel +BuildRequires: gcc-c++ BuildRequires: libdb-devel BuildRequires: libtool-ltdl-devel BuildRequires: libxml2-devel >= 2.4.0 @@ -72,11 +73,11 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" --disable-static \ --with-virtuoso=no -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install #unpackaged files find $RPM_BUILD_ROOT -name \*.la -exec rm -v {} \; @@ -86,8 +87,7 @@ find $RPM_BUILD_ROOT -name \*.la -exec rm -v {} \; make check -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc AUTHORS NEWS README @@ -126,6 +126,9 @@ make check %changelog +* Wed Mar 07 2018 Rex Dieter - 1.0.17-15 +- BR: gcc-c++, use %%make_build %%make_install %%ldconfig_scriptlets + * Fri Feb 09 2018 Fedora Release Engineering - 1.0.17-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild