psabata pushed to perl-IPC-SharedCache (master). "Prevent FTBFS by correcting the build time dependency list (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Aug 11 14:28:20 UTC 2015


From c149c4a13bff88e813d82c39aa8a4a9f507d93a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Tue, 11 Aug 2015 16:28:13 +0200
Subject: Prevent FTBFS by correcting the build time dependency list

- Package the LICENSE text with %license

diff --git a/perl-IPC-SharedCache.spec b/perl-IPC-SharedCache.spec
index 15d37e0..5fc8b3e 100644
--- a/perl-IPC-SharedCache.spec
+++ b/perl-IPC-SharedCache.spec
@@ -1,6 +1,6 @@
 Name:           perl-IPC-SharedCache
 Version:        1.3
-Release:        27%{?dist}
+Release:        28%{?dist}
 Summary:        Perl module to manage a cache in SysV IPC shared memory
 
 Group:          Development/Libraries
@@ -10,9 +10,21 @@ Source0:        http://www.cpan.org/authors/id/S/SA/SAMTREGAR/IPC-SharedCache-%{
 Patch0:         IPC-SharedCache-1.3-test.patch
 
 BuildArch:      noarch
-BuildRequires:  perl(IPC::ShareLite) >= 0.06
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(integer)
+BuildRequires:  perl(IPC::ShareLite) >= 0.06
+BuildRequires:  perl(Storable)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(IPC::ShareLite) >= 0.06
+
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(IPC::ShareLite\\)$
 
 %description
 This module provides a shared memory cache accessed as a tied hash.
@@ -53,12 +65,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc ANNOUNCE Changes LICENSE README
+%license LICENSE
+%doc ANNOUNCE Changes README
 %{perl_vendorlib}/IPC/
 %{_mandir}/man3/*.3pm*
 
 
 %changelog
+* Tue Aug 11 2015 Petr Ĺ abata <contyk at redhat.com> - 1.3-28
+- Prevent FTBFS by correcting the build time dependency list
+- Package the LICENSE text with %%license
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3-27
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-IPC-SharedCache.git/commit/?h=master&id=c149c4a13bff88e813d82c39aa8a4a9f507d93a2


More information about the perl-devel mailing list