From 7a097df6c6ba32b88a729a4c27885da595a7f40b Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Dec 14 2020 09:52:17 +0000 Subject: add explicit BR on make use modern macros mark license text accordingly --- diff --git a/abook.spec b/abook.spec index 323ce5f..493b453 100644 --- a/abook.spec +++ b/abook.spec @@ -1,9 +1,6 @@ -%global commit 6e550af8a907a680dc845c22a7d6c36d89e900c1 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - Name: abook Version: 0.6.1 -Release: 16%{?dist} +Release: 17%{?dist} License: GPLv2+ URL: http://abook.sourceforge.net/ Summary: Text-based addressbook program for mutt @@ -19,6 +16,7 @@ Patch3: 0003-build-fix-compilation-when-used-with-GCC-std-gnu99-o.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-devel +BuildRequires: make BuildRequires: ncurses-devel BuildRequires: readline-devel BuildRequires: gcc @@ -38,20 +36,26 @@ autoreconf -vif %build %configure -%{__make} %{?_smp_mflags} +%make_build %install -%{__make} DESTDIR=$RPM_BUILD_ROOT install +%make_install # generate localized files list %find_lang %{name} %files -f %{name}.lang -%doc AUTHORS BUGS COPYING ChangeLog FAQ README RELEASE_NOTES THANKS TODO sample.abookrc +%license COPYING +%doc AUTHORS BUGS ChangeLog FAQ README RELEASE_NOTES THANKS TODO sample.abookrc %{_bindir}/abook %{_mandir}/man1/abook.* %{_mandir}/man5/abookrc.* %changelog +* Mon Dec 14 2020 Dominik Mierzejewski 0.6.1-17 +- add explicit BR on make +- use modern macros +- mark license text accordingly + * Fri Jul 31 2020 Fedora Release Engineering - 0.6.1-16 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild