BR: gcc, use %ldconfig_scriptlets %make_build %make_install
This commit is contained in:
parent
77b9be9c2c
commit
2a657f1b05
@ -1,12 +1,13 @@
|
||||
Name: libspectre
|
||||
Version: 0.2.8
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: A library for rendering PostScript(TM) documents
|
||||
|
||||
License: GPLv2+
|
||||
URL: http://libspectre.freedesktop.org
|
||||
Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
%if 0%{?fedora} > 27
|
||||
BuildRequires: libgs-devel
|
||||
%else
|
||||
@ -36,17 +37,16 @@ developing applications that use %{name}.
|
||||
--disable-silent-rules \
|
||||
--disable-static
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
|
||||
rm -fv %{buildroot}%{_libdir}/libspectre.la
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
@ -60,6 +60,9 @@ rm -fv %{buildroot}%{_libdir}/libspectre.la
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.2.8-6
|
||||
- BR: gcc, use %%ldconfig_scriptlets %%make_build %%make_install
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user