From 3213aec07bda14b08b761c04b2312f64f61e3d9d Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Tue, 25 Jun 2019 21:49:54 +0200 Subject: [PATCH] Spec file modernization --- rc.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rc.spec b/rc.spec index fd32927..4a80e6b 100644 --- a/rc.spec +++ b/rc.spec @@ -15,7 +15,7 @@ Provides: /bin/rc %endif Requires(post): grep Requires(postun): sed -BuildRequires: gcc +BuildRequires: gcc BuildRequires: readline-devel %description @@ -28,11 +28,10 @@ This is a re-implementation for Unix, by Byron Rakitzis, of the Plan 9 shell. %build %configure --with-edit=gnu -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install +%make_install %check make check @@ -54,7 +53,6 @@ if [ ! -x %{_bindir}/%{name} ]; then fi %files -%{!?_licensedir:%global license %%doc} %license COPYING %doc ChangeLog AUTHORS EXAMPLES NEWS README %{_bindir}/%{name}