[perl-XML-SAX-Writer] Drop BR perl(Module::Install::*) for RHEL.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 941d1ec7e8ea206aae85f875dcb40422ea2f312b
Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx>
Date:   Fri Nov 23 16:08:40 2012 +0100

    Drop BR perl(Module::Install::*) for RHEL.
    
    Signed-off-by: Marcela Mašláňová <mmaslano@xxxxxxxxxx>

 perl-XML-SAX-Writer.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/perl-XML-SAX-Writer.spec b/perl-XML-SAX-Writer.spec
index cd7fd85..abbf6b2 100644
--- a/perl-XML-SAX-Writer.spec
+++ b/perl-XML-SAX-Writer.spec
@@ -1,6 +1,6 @@
 Name:           perl-XML-SAX-Writer
 Version:        0.53
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        SAX2 Writer
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -10,8 +10,10 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(inc::Module::Install)
 BuildRequires:  perl(Encode) >= 2.12
+%if ! ( 0%{?rhel} )
 BuildRequires:  perl(Module::Install::AutoManifest)
 BuildRequires:  perl(Module::Install::Repository)
+%endif
 BuildRequires:  perl(Test::More) >= 0.40
 BuildRequires:  perl(XML::Filter::BufferText) >= 1.00
 BuildRequires:  perl(XML::NamespaceSupport) >= 1.00
@@ -23,11 +25,15 @@ A new XML Writer to match the SAX2 effort.
 
 %prep
 %setup -q -n XML-SAX-Writer-%{version}
-
 rm -r inc
 sed -i -e '/^inc\// d' MANIFEST
 find -type f -exec chmod -x {} +
 
+%if ( 0%{?rhel} )
+sed -i -e '/^auto_set_repository/ d' Makefile.PL
+sed -i -e '/^auto_manifest/ d' Makefile.PL
+%endif
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -55,6 +61,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Fri Nov 23 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.53-2
+- Drop BR perl(Module::Install::*) for RHEL
+
 * Fri Nov 23 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.53-1
 - 0.53 bump
 - Update dependencies
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux