Minor spec file cleanups
This commit is contained in:
parent
618a599dab
commit
77119cc14d
@ -11,7 +11,7 @@ Summary: A program for synchronizing files over a network
|
|||||||
Name: rsync
|
Name: rsync
|
||||||
Version: 3.2.3
|
Version: 3.2.3
|
||||||
Release: 4%{?dist}
|
Release: 4%{?dist}
|
||||||
URL: http://rsync.samba.org/
|
URL: https://rsync.samba.org/
|
||||||
|
|
||||||
Source0: https://download.samba.org/pub/rsync/src/rsync-%{version}%{?prerelease}.tar.gz
|
Source0: https://download.samba.org/pub/rsync/src/rsync-%{version}%{?prerelease}.tar.gz
|
||||||
Source1: https://download.samba.org/pub/rsync/src/rsync-patches-%{version}%{?prerelease}.tar.gz
|
Source1: https://download.samba.org/pub/rsync/src/rsync-patches-%{version}%{?prerelease}.tar.gz
|
||||||
@ -82,8 +82,6 @@ make check
|
|||||||
chmod -x support/*
|
chmod -x support/*
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%{make_install} INSTALLCMD='install -p' INSTALLMAN='install -p'
|
%{make_install} INSTALLCMD='install -p' INSTALLMAN='install -p'
|
||||||
|
|
||||||
install -D -m644 %{SOURCE3} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd.service
|
install -D -m644 %{SOURCE3} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd.service
|
||||||
@ -93,7 +91,6 @@ install -D -m644 %{SOURCE5} $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/rsyncd
|
|||||||
install -D -m644 %{SOURCE6} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd@.service
|
install -D -m644 %{SOURCE6} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd@.service
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc support/ tech_report.tex
|
%doc support/ tech_report.tex
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user