From 9494f61edcd862fdcf06405b4e3c03ad9eadfd22 Mon Sep 17 00:00:00 2001 From: Filipe Rosset Date: Oct 11 2018 01:01:58 +0000 Subject: - spec cleanup and modernization --- diff --git a/bbkeys.spec b/bbkeys.spec index d76fd6a..dabc777 100644 --- a/bbkeys.spec +++ b/bbkeys.spec @@ -1,14 +1,12 @@ Summary: Completely configurable key-combo grabber for blackbox Name: bbkeys Version: 0.9.0 -Release: 32%{?dist} +Release: 33%{?dist} License: MIT Group: User Interface/Desktops URL: http://bbkeys.sourceforge.net/ - Source: http://downloads.sf.net/bbkeys/bbkeys-%{version}.tar.gz Patch0: bbkeys-0.9.0-gcc43.patch - BuildRequires: gcc-c++ BuildRequires: gcc BuildRequires: blackbox-devel, perl-interpreter @@ -23,17 +21,16 @@ as well. bbkeys is easily configurable via directly hand-editing the user's %prep -%setup -q -%patch0 -p1 -b .gcc43 +%autosetup -p1 %build %configure --datadir=%{_sysconfdir} -%{__make} %{?_smp_mflags} +%make_build %install -%{__make} install DESTDIR=%{buildroot} +%make_install # Clean this up, we package the exact same files cleanly in %%doc # and it ends up in the wrong place with our override anyway %{__rm} -rf %{buildroot}%{_sysconfdir}/doc/ @@ -50,6 +47,9 @@ as well. bbkeys is easily configurable via directly hand-editing the user's %changelog +* Wed Oct 10 2018 Filipe Rosset - 0.9.0-33 +- spec cleanup and modernization + * Thu Jul 12 2018 Fedora Release Engineering - 0.9.0-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild