Spec file cleanup

epel9
Robert Scheck 6 years ago
parent a4eefbcd0e
commit ca1e3f8e68

@ -19,10 +19,10 @@ Patch7: arj-3.10.22-missing-protos.patch
Patch8: arj-3.10.22-custom-printf.patch
# Filed into upstream bugtracker as https://sourceforge.net/tracker/?func=detail&aid=2853421&group_id=49820&atid=457566
Patch9: arj-3.10.22-quotes.patch
Patch10: arj-3.10.22-security-afl.patch
Patch11: arj-3.10.22-security-traversal-dir.patch
Patch12: arj-3.10.22-security-traversal-symlink.patch
BuildRequires: gcc
Patch10: arj-3.10.22-security-afl.patch
Patch11: arj-3.10.22-security-traversal-dir.patch
Patch12: arj-3.10.22-security-traversal-symlink.patch
BuildRequires: gcc
BuildRequires: autoconf
Provides: unarj = %{version}-%{release}
Obsoletes: unarj < 3
@ -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