BR: gcc-c++, use %make_build %make_insall %ldconfig_scriptlets

This commit is contained in:
Rex Dieter 2018-03-07 12:31:00 -06:00
parent ca88fb41d2
commit 39df1b3acc

View File

@ -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 <rdieter@fedoraproject.org> - 0.9.33-7
- BR: gcc-c++, use %%make_build %%make_insall %%ldconfig_scriptlets
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.33-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild