From b0914f6ae694b2e081e7c37e76321fe1c0963a61 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel(a)seyman.fr>
Date: Sun, 21 Sep 2014 10:19:12 +0200
Subject: Only use %%license when it exists
diff --git a/perl-Math-Random-ISAAC.spec b/perl-Math-Random-ISAAC.spec
index 0d709fb..c4c0ac0 100644
--- a/perl-Math-Random-ISAAC.spec
+++ b/perl-Math-Random-ISAAC.spec
@@ -41,6 +41,7 @@ make test
%files
%doc Changes examples README
+%{!?_licensedir:%global license %%doc}
%license LICENSE
%{perl_vendorlib}/*
%{_mandir}/man3/*
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Math-Random-ISAAC.git/commit/?h=e...