From 7aece5ecd8df429463bb494063e583b071ec7f7a Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Tue, 12 Jan 2016 16:13:16 +0000
Subject: Use %global rather than %define

---
 perl-RRD-Simple.spec | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/perl-RRD-Simple.spec b/perl-RRD-Simple.spec
index ec72fb9..0163044 100644
--- a/perl-RRD-Simple.spec
+++ b/perl-RRD-Simple.spec
@@ -3,7 +3,7 @@
 
 Name:          perl-RRD-Simple
 Version:       1.44
-Release:       22%{?dist}
+Release:       23%{?dist}
 Summary:       Simple interface to create and store data in RRD files
 Group:         Development/Libraries
 License:       ASL 2.0
@@ -12,6 +12,9 @@ Source0:      
http://search.cpan.org/CPAN/authors/id/N/NI/NICOLAW/RRD-Simple-%{versio
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:     noarch
 # Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
 BuildRequires: perl
 BuildRequires: perl(Config)
 BuildRequires: perl(Module::Build)
@@ -68,14 +71,14 @@ if you do not need to, nor want to, bother defining custom 
RRA definitions.
 # Apply provides/requires filters
 %if %{rpm49}
 %global provfilt /bin/sh -c "%{docfilt} | %{__perllib_provides} | %{verfilt}"
-%define __perllib_provides %{provfilt}
+%global __perllib_provides %{provfilt}
 %global reqfilt /bin/sh -c "%{docfilt} | %{__perllib_requires}"
-%define __perllib_requires %{reqfilt}
+%global __perllib_requires %{reqfilt}
 %else
 %global provfilt /bin/sh -c "%{docfilt} | %{__perl_provides} | %{verfilt}"
-%define __perl_provides %{provfilt}
+%global __perl_provides %{provfilt}
 %global reqfilt /bin/sh -c "%{docfilt} | %{__perl_requires}"
-%define __perl_requires %{reqfilt}
+%global __perl_requires %{reqfilt}
 %endif
 
 %build
@@ -109,6 +112,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/RRD::Simple::Examples.3*
 
 %changelog
+* Tue Jan 12 2016 Paul Howarth <p...@city-fan.org> - 1.44-23
+- Use %%global rather than %%define
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 1.44-22
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-RRD-Simple.git/commit/?h=perl-RRD-Simple-1.44-23.fc24&id=7aece5ecd8df429463bb494063e583b071ec7f7a
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to