From 39df1b3acc28792efc2cffa30cfb0b16f1641851 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 7 Mar 2018 12:31:00 -0600 Subject: [PATCH] BR: gcc-c++, use %make_build %make_insall %ldconfig_scriptlets --- rasqal.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/rasqal.spec b/rasqal.spec index 261d6c4..78018e3 100644 --- a/rasqal.spec +++ b/rasqal.spec @@ -1,12 +1,13 @@ Name: rasqal Version: 0.9.33 -Release: 6%{?dist} +Release: 7%{?dist} Summary: RDF Query Library License: LGPLv2+ or ASL 2.0 URL: http://librdf.org/rasqal/ Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz +BuildRequires: gcc-c++ BuildRequires: libxml2-devel BuildRequires: mpfr-devel BuildRequires: pcre-devel @@ -39,13 +40,15 @@ sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure %build -%configure --disable-static --enable-release +%configure \ + --disable-static\ + --enable-release -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install # unpackaged files rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la @@ -65,8 +68,7 @@ echo "WARNING: %{_bindir}/rapper not present in buildroot, 'make check' skipped" fi -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license COPYING COPYING.LIB @@ -89,6 +91,9 @@ fi %changelog +* Wed Mar 07 2018 Rex Dieter - 0.9.33-7 +- BR: gcc-c++, use %%make_build %%make_insall %%ldconfig_scriptlets + * Fri Feb 09 2018 Fedora Release Engineering - 0.9.33-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild