Spec file cleanup

epel9
Robert Scheck 6 years ago
parent a4eefbcd0e
commit ca1e3f8e68

@ -69,11 +69,10 @@ pushd gnu
popd popd
# Disable binary strippings # Disable binary strippings
make %{?_smp_mflags} ADD_LDFLAGS="" %make_build ADD_LDFLAGS=""
%install %install
rm -rf $RPM_BUILD_ROOT %make_install
make DESTDIR=$RPM_BUILD_ROOT install
install -D -p -m 644 resource/rearj.cfg.example $RPM_BUILD_ROOT%{_sysconfdir}/rearj.cfg install -D -p -m 644 resource/rearj.cfg.example $RPM_BUILD_ROOT%{_sysconfdir}/rearj.cfg
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/unarj install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/unarj
@ -84,7 +83,6 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/arj-register
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/arj-register.1* rm -f $RPM_BUILD_ROOT%{_mandir}/man1/arj-register.1*
%files %files
%{!?_licensedir:%global license %%doc}
%license doc/COPYING %license doc/COPYING
%doc ChangeLog* doc/rev_hist.txt %doc ChangeLog* doc/rev_hist.txt
%config(noreplace) %{_sysconfdir}/rearj.cfg %config(noreplace) %{_sysconfdir}/rearj.cfg

Loading…
Cancel
Save