Spec file modernization

This commit is contained in:
Robert Scheck 2019-06-25 21:49:54 +02:00
parent ae64f2d1c9
commit 3213aec07b

View File

@ -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}