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