[perl-Inline] Don't require Filters or Struct when bootstrapping

Petr Šabata psabata at fedoraproject.org
Thu Aug 14 12:40:25 UTC 2014


commit 9f6a94e18453f46708abf6e4ea668064cbf1b029
Author: Petr Šabata <contyk at redhat.com>
Date:   Thu Aug 14 14:40:28 2014 +0200

    Don't require Filters or Struct when bootstrapping

 perl-Inline.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-Inline.spec b/perl-Inline.spec
index b529b07..cb041df 100644
--- a/perl-Inline.spec
+++ b/perl-Inline.spec
@@ -1,6 +1,6 @@
 Name:           perl-Inline
 Version:        0.68
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Inline Perl module
 Group:          Development/Libraries
 License:        GPL+ or Artistic
@@ -25,8 +25,10 @@ BuildRequires:  perl(File::Spec::Unix)
 BuildRequires:  perl(FindBin)
 BuildRequires:  perl(Inline::Files)
 # Filters and Struct are optional
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:  perl(Inline::Filters)
 BuildRequires:  perl(Inline::Struct)
+%endif
 BuildRequires:  perl(lib)
 BuildRequires:  perl(Socket)
 BuildRequires:  perl(strict)
@@ -84,6 +86,9 @@ make test
 %{_mandir}/man3/*.3*
 
 %changelog
+* Thu Aug 14 2014 Petr Šabata <contyk at redhat.com> - 0.68-2
+- Don't require Filters or Struct when bootstrapping
+
 * Tue Aug 12 2014 Petr Šabata <contyk at redhat.com> - 0.68-1
 - 0.68 bump
 


More information about the scm-commits mailing list