Spec file modernization
This commit is contained in:
parent
ae64f2d1c9
commit
3213aec07b
6
rc.spec
6
rc.spec
@ -28,11 +28,10 @@ This is a re-implementation for Unix, by Byron Rakitzis, of the Plan 9 shell.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-edit=gnu
|
%configure --with-edit=gnu
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%make_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
@ -54,7 +53,6 @@ if [ ! -x %{_bindir}/%{name} ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc ChangeLog AUTHORS EXAMPLES NEWS README
|
%doc ChangeLog AUTHORS EXAMPLES NEWS README
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user