From d7295b7098b292bdb13f814d140e7b52d6a252e8 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mar 07 2018 17:01:54 +0000 Subject: BR: gcc-c++, use %license %make_build %make_install --- diff --git a/libpgf.spec b/libpgf.spec index 336c1d7..80feaeb 100644 --- a/libpgf.spec +++ b/libpgf.spec @@ -1,9 +1,8 @@ Name: libpgf Version: 6.14.12 -Release: 9%{?dist} +Release: 10%{?dist} Summary: PGF (Progressive Graphics File) library -Group: System Environment/Libraries License: LGPLv2+ URL: http://www.libpgf.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.gz @@ -15,6 +14,7 @@ Patch147: libpgf-r147.patch Patch148: libpgf-r148.patch BuildRequires: doxygen +BuildRequires: gcc-c++ BuildRequires: libtool %description @@ -53,21 +53,22 @@ export CFLAGS="%{optflags} -DLIBPGF_DISABLE_OPENMP" export CXXFLAGS="%{optflags} -DLIBPGF_DISABLE_OPENMP" %configure --disable-static -make %{?_smp_mflags} + +%make_build %install -make install DESTDIR=%{buildroot} +%make_install # unpackaged files rm -fv %{buildroot}%{_libdir}/libpgf.la -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files -%doc COPYING README +%doc README +%license COPYING %{_libdir}/libpgf.so.6* %files devel @@ -79,6 +80,9 @@ rm -fv %{buildroot}%{_libdir}/libpgf.la %changelog +* Wed Mar 07 2018 Rex Dieter - 6.14.12-10 +- BR: gcc-c++, use %%license %%make_build %%make_install + * Wed Feb 07 2018 Fedora Release Engineering - 6.14.12-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild