Blame SPECS/perl-Test-MockModule.spec

Packit 187f7b
# Run optional test
Packit 187f7b
%bcond_without perl_Test_MockModule_enables_optional_test
Packit 187f7b
Packit 187f7b
Name:           perl-Test-MockModule
Packit 187f7b
Version:        0.13
Packit 187f7b
Release:        3%{?dist}
Packit 187f7b
Summary:        Override subroutines in a module for unit testing
Packit 187f7b
Group:          Development/Libraries
Packit 187f7b
License:        GPL+ or Artistic
Packit 187f7b
URL:            http://search.cpan.org/dist/Test-MockModule/
Packit 187f7b
Source0:        http://search.cpan.org/CPAN/authors/id/G/GF/GFRANKS/Test-MockModule-%{version}.tar.gz
Packit 187f7b
BuildArch:      noarch
Packit 187f7b
BuildRequires:  coreutils
Packit 187f7b
BuildRequires:  perl-generators
Packit 187f7b
BuildRequires:  perl-interpreter
Packit 187f7b
BuildRequires:  perl(Module::Build)
Packit 187f7b
BuildRequires:  perl(strict)
Packit 187f7b
BuildRequires:  perl(warnings)
Packit 187f7b
# Run-time:
Packit 187f7b
BuildRequires:  perl(Carp)
Packit 187f7b
BuildRequires:  perl(Scalar::Util)
Packit 187f7b
BuildRequires:  perl(SUPER)
Packit 187f7b
BuildRequires:  perl(vars)
Packit 187f7b
# Tests:
Packit 187f7b
BuildRequires:  perl(lib)
Packit 187f7b
BuildRequires:  perl(Test::More)
Packit 187f7b
%if %{with perl_Test_MockModule_enables_optional_test}
Packit 187f7b
# Optional tests:
Packit 187f7b
BuildRequires:  perl(Test::Pod) >= 1.00
Packit 187f7b
BuildRequires:  perl(Test::Pod::Coverage) >= 1.00
Packit 187f7b
%endif
Packit 187f7b
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Packit 187f7b
Packit 187f7b
%description
Packit 187f7b
%{summary}.
Packit 187f7b
Packit 187f7b
%prep
Packit 187f7b
%setup -q -n Test-MockModule-%{version}
Packit 187f7b
Packit 187f7b
%build
Packit 187f7b
%{__perl} Build.PL installdirs=vendor
Packit 187f7b
./Build
Packit 187f7b
Packit 187f7b
%install
Packit 187f7b
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
Packit 187f7b
chmod -R u+w $RPM_BUILD_ROOT/*
Packit 187f7b
Packit 187f7b
%check
Packit 187f7b
./Build test
Packit 187f7b
Packit 187f7b
%files
Packit 187f7b
%doc Changes README.md
Packit 187f7b
%license LICENSE
Packit 187f7b
%{perl_vendorlib}/Test
Packit 187f7b
%{_mandir}/man3/*.3*
Packit 187f7b
Packit 187f7b
%changelog
Packit 187f7b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-3
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Wed Dec 13 2017 Petr Pisar <ppisar@redhat.com> - 0.13-2
Packit 187f7b
- Remove unused CGI dependency
Packit 187f7b
Packit 187f7b
* Wed Oct 25 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.13-1
Packit 187f7b
- 0.13 bump
Packit 187f7b
Packit 187f7b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-2
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Mon Jul 17 2017 Tom Callaway <spot@fedoraproject.org> - 0.12-1
Packit 187f7b
- update to 0.12
Packit 187f7b
Packit 187f7b
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-5
Packit 187f7b
- Perl 5.26 rebuild
Packit 187f7b
Packit 187f7b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-4
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-3
Packit 187f7b
- Perl 5.24 rebuild
Packit 187f7b
Packit 187f7b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Wed Oct 28 2015 Tom Callaway <spot@fedoraproject.org> - 0.11-1
Packit 187f7b
- update to 0.11
Packit 187f7b
Packit 187f7b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-2
Packit 187f7b
- Perl 5.22 rebuild
Packit 187f7b
Packit 187f7b
* Tue Jun  2 2015 Tom Callaway <spot@fedoraproject.org> - 0.10-1
Packit 187f7b
- update to 0.10
Packit 187f7b
Packit 187f7b
* Fri Mar 27 2015 Tom Callaway <spot@fedoraproject.org> - 0.09-1
Packit 187f7b
- update to 0.09
Packit 187f7b
Packit 187f7b
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-22
Packit 187f7b
- Perl 5.20 rebuild
Packit 187f7b
Packit 187f7b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-21
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-20
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.05-19
Packit 187f7b
- Perl 5.18 rebuild
Packit 187f7b
Packit 187f7b
* Sat Feb 23 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.05-19
Packit 187f7b
- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914317).
Packit 187f7b
- Modernize spec.
Packit 187f7b
Packit 187f7b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-18
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-17
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.05-16
Packit 187f7b
- Perl 5.16 rebuild
Packit 187f7b
Packit 187f7b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-15
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.05-14
Packit 187f7b
- Perl mass rebuild
Packit 187f7b
Packit 187f7b
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-13
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Wed Dec 08 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.05-12
Packit 187f7b
- Add BR: perl(CGI) (Fix FTBFS: BZ 661082).
Packit 187f7b
Packit 187f7b
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-11
Packit 187f7b
- Mass rebuild with perl-5.12.0
Packit 187f7b
Packit 187f7b
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.05-10
Packit 187f7b
- rebuild against perl 5.10.1
Packit 187f7b
Packit 187f7b
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-9
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-8
Packit 187f7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Packit 187f7b
Packit 187f7b
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-7
Packit 187f7b
- Rebuild for perl 5.10 (again)
Packit 187f7b
Packit 187f7b
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-6
Packit 187f7b
- rebuild for new perl
Packit 187f7b
Packit 187f7b
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-5
Packit 187f7b
- license tag fix
Packit 187f7b
Packit 187f7b
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-4
Packit 187f7b
- bump for fc6
Packit 187f7b
Packit 187f7b
* Wed Jul 27 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-3
Packit 187f7b
- add missing BuildRequires
Packit 187f7b
Packit 187f7b
* Fri Jul  8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-2
Packit 187f7b
- cleanups
Packit 187f7b
Packit 187f7b
* Wed Jul  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-1
Packit 187f7b
- Initial package for Fedora Extras