[perl-Test-Smoke] - 630802 filter Mail::Sendmail from provides, require it from RPM

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

 



commit 913e9f58837c3237bd67804e552732e77bb336e7
Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx>
Date:   Tue Sep 7 08:32:10 2010 +0200

    - 630802 filter Mail::Sendmail from provides, require it from RPM

 perl-Test-Smoke.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/perl-Test-Smoke.spec b/perl-Test-Smoke.spec
index 2fafd95..023404f 100644
--- a/perl-Test-Smoke.spec
+++ b/perl-Test-Smoke.spec
@@ -1,6 +1,6 @@
 Name:           perl-Test-Smoke
 Version:        1.43
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Perl core test smoke suite
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -10,6 +10,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
+Requires:       perl(Mail::Sendmail)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -17,6 +18,10 @@ Test::Smoke exports $conf and read_config() by default.
 
 %prep
 %setup -q -n Test-Smoke-%{version}
+%{?filter_setup:
+%filter_from_provides /perl(Mail::Sendmail)/d
+%?perl_default_filter
+}
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
@@ -34,6 +39,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 rm -rf $RPM_BUILD_ROOT/%{_bindir}/W32Configure.pl
 rm -rf $RPM_BUILD_ROOT/%{_mandir}/man1/W32Configure*
+rm -rf $RPM_BUILD_ROOT/%{perl_vendorlib}/inc/Mail/Sendmail.pm
 
 %check
 make test
@@ -58,5 +64,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Tue Sep  7 2010 Marcela Mašláňová <mmaslano@xxxxxxxxxx> 1.43-2
+- 630802 filter Mail::Sendmail from provides, require it from RPM
+
 * Fri Mar 26 2010 Marcela Mašláňová <mmaslano@xxxxxxxxxx> 1.43-1
 - Specfile autogenerated by cpanspec 1.78.
--
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