|
|
a5439c |
Name: perl-Test-Without-Module
|
|
|
a5439c |
Version: 0.17
|
|
|
4aaee6 |
Release: 12%{?dist}
|
|
|
a5439c |
Summary: Test fallback behavior in absence of modules
|
|
|
a5439c |
License: GPL+ or Artistic
|
|
|
a5439c |
Group: Development/Libraries
|
|
|
a5439c |
URL: http://search.cpan.org/dist/Test-Without-Module/
|
|
|
a5439c |
Source0: http://www.cpan.org/modules/by-module/Test/Test-Without-Module-%{version}.tar.gz
|
|
|
a5439c |
BuildArch: noarch
|
|
|
a5439c |
BuildRequires: perl(Carp)
|
|
|
a5439c |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
a5439c |
BuildRequires: perl(File::Slurp)
|
|
|
a5439c |
BuildRequires: perl(File::Spec)
|
|
|
a5439c |
BuildRequires: perl(Test::More)
|
|
|
a5439c |
BuildRequires: perl(Test::Pod)
|
|
|
a5439c |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
a5439c |
|
|
|
a5439c |
%{?perl_default_filter}
|
|
|
a5439c |
|
|
|
a5439c |
%description
|
|
|
a5439c |
This module allows you to deliberately hide modules from a program even
|
|
|
a5439c |
though they are installed. This is mostly useful for testing modules that
|
|
|
a5439c |
have a fallback when a certain dependency module is not installed.
|
|
|
a5439c |
|
|
|
a5439c |
%prep
|
|
|
a5439c |
%setup -q -n Test-Without-Module-%{version}
|
|
|
a5439c |
find . -type f -exec chmod 644 {} \;
|
|
|
a5439c |
sed -i -e 's/\r//' README Changes
|
|
|
a5439c |
|
|
|
a5439c |
%build
|
|
|
a5439c |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
a5439c |
make %{?_smp_mflags}
|
|
|
a5439c |
|
|
|
a5439c |
%install
|
|
|
a5439c |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
a5439c |
|
|
|
a5439c |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
a5439c |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
a5439c |
|
|
|
a5439c |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
a5439c |
|
|
|
a5439c |
%check
|
|
|
a5439c |
make test
|
|
|
a5439c |
|
|
|
a5439c |
%files
|
|
|
a5439c |
%doc Changes README
|
|
|
a5439c |
%{perl_vendorlib}/*
|
|
|
a5439c |
%{_mandir}/man3/*
|
|
|
a5439c |
|
|
|
a5439c |
%changelog
|
|
|
4aaee6 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.17-12
|
|
|
4aaee6 |
- Mass rebuild 2013-12-27
|
|
|
4aaee6 |
|
|
|
a5439c |
* Sun Dec 16 2012 Emmanuel Seyman <emmanuel@seyman.fr> - 0.17-11
|
|
|
a5439c |
- Remove no-longer-needed macros
|
|
|
a5439c |
|
|
|
a5439c |
* Wed Nov 21 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.17-10
|
|
|
a5439c |
- Remove MANIFEST.skip from %%doc
|
|
|
a5439c |
|
|
|
a5439c |
* Fri Oct 26 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.17-9
|
|
|
a5439c |
- Specify all dependencies.
|
|
|
a5439c |
|
|
|
a5439c |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-8
|
|
|
a5439c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a5439c |
|
|
|
a5439c |
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 0.17-7
|
|
|
a5439c |
- Perl 5.16 rebuild
|
|
|
a5439c |
|
|
|
a5439c |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-6
|
|
|
a5439c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a5439c |
|
|
|
a5439c |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-5
|
|
|
a5439c |
- Perl mass rebuild
|
|
|
a5439c |
|
|
|
a5439c |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-4
|
|
|
a5439c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a5439c |
|
|
|
a5439c |
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.17-3
|
|
|
a5439c |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
a5439c |
|
|
|
a5439c |
* Thu Jul 22 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 0.17-2
|
|
|
a5439c |
- Remove executable permissions
|
|
|
a5439c |
- Dos2unix the README and Changes file
|
|
|
a5439c |
- Americanise the summary
|
|
|
a5439c |
|
|
|
a5439c |
* Sun Jun 27 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 0.17-1
|
|
|
a5439c |
- Specfile autogenerated by cpanspec 1.78.
|