BR: gcc-c++, use %make_build %make_install %ldconfig_scriptlets
This commit is contained in:
parent
7ad1d9d6c8
commit
9469c4fe38
13
redland.spec
13
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 <rdieter@fedoraproject.org> - 1.0.17-15
|
||||
- BR: gcc-c++, use %%make_build %%make_install %%ldconfig_scriptlets
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user