From f68e0fe59e13d6dd52e7effc747feca1b33c1a06 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 4 Aug 2014 00:48:25 -0400 Subject: [PATCH] fix license handling --- rsync.spec | 9 +++++++-- 1 file 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 - 3.1.1-2 +- fix license handling + * Wed Jun 25 2014 Michal Luscon - 3.1.1-1 - Update to latest upstream version 3.1.1