From 53a48b9ae7fdffde96cf013590e7fc46784f7b7b Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 4 Aug 2014 00:27:25 -0400 Subject: [PATCH] fix license handling --- qrencode.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/qrencode.spec b/qrencode.spec index 29fa40a..d91f6cc 100644 --- a/qrencode.spec +++ b/qrencode.spec @@ -1,6 +1,6 @@ Name: qrencode Version: 3.4.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Generate QR 2D barcodes Summary(fr): Génère les code-barres en 2D QR @@ -82,7 +82,9 @@ sh test_all.sh %{_mandir}/man1/qrencode.1* %files libs -%doc ChangeLog COPYING NEWS README TODO +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc ChangeLog NEWS README TODO %{_libdir}/libqrencode.so.* %files devel @@ -92,6 +94,9 @@ sh test_all.sh %changelog +* Mon Aug 4 2014 Tom Callaway - 3.4.2-3 +- fix license handling + * Sun Jun 08 2014 Fedora Release Engineering - 3.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild