ddick pushed to perl-Math-Random-ISAAC (el6). "Only use %%license when it exists"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 1 10:35:11 UTC 2015


>From b0914f6ae694b2e081e7c37e76321fe1c0963a61 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at 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=el6&id=b0914f6ae694b2e081e7c37e76321fe1c0963a61


More information about the scm-commits mailing list