[rsync/f21] fix license handling
Tom Callaway
spot at fedoraproject.org
Mon Aug 4 04:49:04 UTC 2014
commit 3783880432906e2b08b5e5456b542cdb1ded8ae7
Author: Tom Callaway <spot at fedoraproject.org>
Date: Mon Aug 4 00:48:58 2014 -0400
fix license handling
rsync.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/rsync.spec b/rsync.spec
index 85e28fc..80c62d2 100644
--- a/rsync.spec
+++ b/rsync.spec
@@ -9,7 +9,7 @@
Summary: A program for synchronizing files over a network
Name: rsync
Version: 3.1.1
-Release: 1%{?prerelease}%{?dist}
+Release: 2%{?prerelease}%{?dist}
Group: Applications/Internet
URL: http://rsync.samba.org/
@@ -84,7 +84,9 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
-%doc COPYING NEWS OLDNEWS README support/ tech_report.tex
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc NEWS OLDNEWS README support/ tech_report.tex
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_mandir}/man5/rsyncd.conf.5*
@@ -104,6 +106,9 @@ rm -rf $RPM_BUILD_ROOT
%systemd_postun_with_restart rsyncd.service
%changelog
+* Mon Aug 4 2014 Tom Callaway <spot at fedoraproject.org> - 3.1.1-2
+- fix license handling
+
* Wed Jun 25 2014 Michal Luscon <mluscon at redhat.com> - 3.1.1-1
- Update to latest upstream version 3.1.1
More information about the scm-commits
mailing list