diff --git a/cd-discid.spec b/cd-discid.spec index ba6b3e4..28c7154 100644 --- a/cd-discid.spec +++ b/cd-discid.spec @@ -1,12 +1,13 @@ Name: cd-discid Version: 1.4 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Utility to get CDDB discid information # Also "Larry Wall's Artistic" upstream, but that's not accepted in Fedora License: GPLv2+ URL: http://linukz.org/cd-discid.shtml Source0: http://linukz.org/download/%{name}-%{version}.tar.gz +BuildRequires: gcc %description cd-discid is a backend utility to get CDDB discid information for a @@ -19,16 +20,15 @@ can be used for any purpose requiring CDDB data. %build -CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" make %{?_smp_mflags} +%set_build_flags +make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT %make_install PREFIX=%{_prefix} STRIP=: %files -%{!?_licensedir:%global license %%doc} %license COPYING %doc changelog README %{_bindir}/cd-discid @@ -36,6 +36,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jul 21 2018 Dominik Mierzejewski - 1.4-13 +- Add BR: gcc for https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot +- Clean-up: drop obsolete stuff, use modern macros to simplify build + * Thu Jul 12 2018 Fedora Release Engineering - 1.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild