Spec file cleanup

epel9
Robert Scheck 6 years ago
parent a4eefbcd0e
commit ca1e3f8e68

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

Loading…
Cancel
Save