Blame SPECS/perl-Params-Util.spec

f1b5a3
%{?scl:%scl_package perl-Params-Util}
f1b5a3
f1b5a3
Name:		%{?scl_prefix}perl-Params-Util
f1b5a3
Version:	1.07
f1b5a3
Release:	17%{?dist}
f1b5a3
Summary:	Simple standalone parameter-checking functions
f1b5a3
License:	GPL+ or Artistic
f1b5a3
Group:		Development/Libraries
f1b5a3
URL:		http://search.cpan.org/dist/Params-Util/
f1b5a3
Source0:	http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Util-%{version}.tar.gz
f1b5a3
f1b5a3
Requires:	%{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
f1b5a3
Requires:	%{?scl_prefix}perl(Scalar::Util) >= 1.18
f1b5a3
f1b5a3
BuildRequires:	%{?scl_prefix}perl
f1b5a3
BuildRequires:	%{?scl_prefix}perl-devel
f1b5a3
BuildRequires:	%{?scl_prefix}perl-generators
f1b5a3
BuildRequires:	%{?scl_prefix}perl(Config)
f1b5a3
BuildRequires:	%{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.52
f1b5a3
BuildRequires:	%{?scl_prefix}perl(File::Spec) >= 0.82
f1b5a3
BuildRequires:	%{?scl_prefix}perl(File::Temp)
f1b5a3
BuildRequires:	%{?scl_prefix}perl(strict)
f1b5a3
# Run-time:
f1b5a3
BuildRequires:	%{?scl_prefix}perl(DynaLoader)
f1b5a3
BuildRequires:	%{?scl_prefix}perl(Exporter)
f1b5a3
BuildRequires:	%{?scl_prefix}perl(overload)
f1b5a3
BuildRequires:	%{?scl_prefix}perl(Scalar::Util) >= 1.18
f1b5a3
BuildRequires:	%{?scl_prefix}perl(vars)
f1b5a3
# Tests:
f1b5a3
BuildRequires:	%{?scl_prefix}perl(Test::More) >= 0.47
f1b5a3
BuildRequires:	%{?scl_prefix}perl(File::Spec::Functions)
f1b5a3
f1b5a3
%if 0%{?rhel} < 7
f1b5a3
# RPM 4.8 style
f1b5a3
%{?filter_setup:
f1b5a3
# Remove under-specified dependencies
f1b5a3
%filter_from_requires /^%{?scl_prefix}perl(Scalar::Util)$/d
f1b5a3
%?perl_default_filter
f1b5a3
}
f1b5a3
# RPM 4.9 style
f1b5a3
%else
f1b5a3
%{?perl_default_filter}
f1b5a3
# Remove under-specified dependencies
f1b5a3
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\(Scalar::Util\\)$
f1b5a3
%endif
f1b5a3
f1b5a3
%description
f1b5a3
Params::Util provides a basic set of importable functions that 
f1b5a3
makes checking parameters a hell of a lot easier.
f1b5a3
f1b5a3
%prep
f1b5a3
%setup -q -n Params-Util-%{version}
f1b5a3
f1b5a3
%build
f1b5a3
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 && make %{?_smp_mflags}%{?scl:'}
f1b5a3
f1b5a3
%install
f1b5a3
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
f1b5a3
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
f1b5a3
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
f1b5a3
chmod -R u+w $RPM_BUILD_ROOT/*
f1b5a3
f1b5a3
%check
f1b5a3
%{?scl:scl enable %{scl} '}make test AUTOMATED_TESTING=1%{?scl:'}
f1b5a3
f1b5a3
%files
f1b5a3
%doc Changes
f1b5a3
%doc LICENSE
f1b5a3
%{perl_vendorarch}/auto/*
f1b5a3
%{perl_vendorarch}/Params
f1b5a3
f1b5a3
%{_mandir}/man3/*
f1b5a3
f1b5a3
%changelog
f1b5a3
* Wed Jul 20 2016 Petr Pisar <ppisar@redhat.com> - 1.07-17
f1b5a3
- SCL
f1b5a3
f1b5a3
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-16
f1b5a3
- Perl 5.24 rebuild
f1b5a3
f1b5a3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-15
f1b5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f1b5a3
f1b5a3
* Tue Jan 26 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-14
f1b5a3
- Remove %defattr.
f1b5a3
- Modernize spec.
f1b5a3
- Add %%license.
f1b5a3
f1b5a3
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-13
f1b5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f1b5a3
f1b5a3
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-12
f1b5a3
- Perl 5.22 rebuild
f1b5a3
f1b5a3
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 1.07-11
f1b5a3
- Specify all dependencies
f1b5a3
f1b5a3
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-10
f1b5a3
- Perl 5.20 rebuild
f1b5a3
f1b5a3
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-9
f1b5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f1b5a3
f1b5a3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-8
f1b5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f1b5a3
f1b5a3
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-7
f1b5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f1b5a3
f1b5a3
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.07-6
f1b5a3
- Perl 5.18 rebuild
f1b5a3
f1b5a3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-5
f1b5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f1b5a3
f1b5a3
* Tue Aug 14 2012 Petr Pisar <ppisar@redhat.com> - 1.07-4
f1b5a3
- Specify all dependencies
f1b5a3
f1b5a3
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-3
f1b5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f1b5a3
f1b5a3
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.07-2
f1b5a3
- Perl 5.16 rebuild
f1b5a3
f1b5a3
* Mon Mar 19 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Mon Mar 05 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-3
f1b5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f1b5a3
f1b5a3
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.04-2
f1b5a3
- Perl mass rebuild
f1b5a3
f1b5a3
* Fri Apr 29 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.04-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-2
f1b5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f1b5a3
f1b5a3
* Mon Dec 06 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.03-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Wed Jun 23 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.01-2
f1b5a3
- Rebuild for perl-5.12.x.
f1b5a3
f1b5a3
* Fri May 07 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.01-1
f1b5a3
- Upstream update.
f1b5a3
- Revert Marcela's 2010-05-04 changes.
f1b5a3
- Remove BR's on perl(Test::MinimumVersion), perl(Test::Pod), 
f1b5a3
  perl(Test::CPAN::Meta).
f1b5a3
  (Reflect upstream having disabled tests depending on them).
f1b5a3
f1b5a3
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.00-4
f1b5a3
- Mass rebuild with perl-5.12.0
f1b5a3
f1b5a3
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.00-3
f1b5a3
- rebuild against perl 5.10.1
f1b5a3
f1b5a3
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-2
f1b5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f1b5a3
f1b5a3
* Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.00-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.38-2
f1b5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f1b5a3
f1b5a3
* Thu Feb 19 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.38-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Thu Feb 12 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.37-1
f1b5a3
- Upstream update.
f1b5a3
- Pass OPTIMIZE to make.
f1b5a3
- Remove *.bs after install.
f1b5a3
- Misc. minor spec fixes.
f1b5a3
f1b5a3
* Sat Nov 29 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.35-1
f1b5a3
- Upstream update.
f1b5a3
- Remove BuildArch: noarch (package now is arch'ed).
f1b5a3
- Remove testsuite hack to accept perl(Test::CPAN::Meta) != 0.07.
f1b5a3
f1b5a3
* Tue Jul 08 2008 Ralf Corsépius <rc040203@freenet.de> - 0.33-2
f1b5a3
- Unconditionally BR: perl(Test::CPAN::Meta).
f1b5a3
f1b5a3
* Mon Jun 02 2008 Ralf Corsépius <rc040203@freenet.de> - 0.33-1
f1b5a3
- Upstream update.
f1b5a3
- Conditionally BR: perl(Test::CPAN::Meta).
f1b5a3
- Hack testsuite to accept Test::CPAN::Meta != 0.07.
f1b5a3
f1b5a3
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-6
f1b5a3
- Rebuild normally, second pass
f1b5a3
f1b5a3
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-5
f1b5a3
- Rebuild for perl 5.10 (again), first pass
f1b5a3
f1b5a3
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-4
f1b5a3
- rebuild normally, second pass
f1b5a3
f1b5a3
* Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-3.1
f1b5a3
- disable Test::MinimumVersion, tests for first pass
f1b5a3
f1b5a3
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-3
f1b5a3
- rebuild for new perl
f1b5a3
f1b5a3
* Sun Nov 25 2007 Ralf Corsépius <rc040203@freenet.de> - 0.31-2
f1b5a3
- Add BR: perl(Test::MinimumVersion).
f1b5a3
f1b5a3
* Mon Nov 19 2007 Ralf Corsépius <rc040203@freenet.de> - 0.31-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Tue Oct 30 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Thu Sep 06 2007 Ralf Corsépius <rc040203@freenet.de> - 0.29-1
f1b5a3
- Upstream update.
f1b5a3
- Update licence tag.
f1b5a3
- Conditionally disable AUTOMATED_TESTING.
f1b5a3
f1b5a3
* Sat Jul 28 2007 Ralf Corsépius <rc040203@freenet.de> - 0.26-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Wed May 30 2007 Ralf Corsépius <rc040203@freenet.de> - 0.25-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Mon May 14 2007 Ralf Corsépius <rc040203@freenet.de> - 0.24-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Mon Mar 12 2007 Ralf Corsépius <rc040203@freenet.de> - 0.23-2
f1b5a3
- BR: perl(ExtUtils::MakeMaker).
f1b5a3
f1b5a3
* Fri Mar 02 2007 Ralf Corsépius <rc040203@freenet.de> - 0.23-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Fri Nov 03 2006 Ralf Corsépius <rc040203@freenet.de> - 0.22-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Thu Oct 19 2006 Ralf Corsépius <rc040203@freenet.de> - 0.21-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Wed Oct 04 2006 Ralf Corsépius <rc040203@freenet.de> - 0.20-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Mon Sep 18 2006 Ralf Corsépius <rc040203@freenet.de> - 0.19-1
f1b5a3
- Upstream update.
f1b5a3
- Activate AUTOMATED_TESTING (t/99_author.t).
f1b5a3
f1b5a3
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.17-2
f1b5a3
- Mass rebuild.
f1b5a3
f1b5a3
* Sun Aug 13 2006 Ralf Corsépius <rc040203@freenet.de> - 0.17-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Wed Jul 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.15-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Sun May 21 2006 Ralf Corsépius <rc040203@freenet.de> - 0.14-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Mon May 08 2006 Ralf Corsépius <rc040203@freenet.de> - 0.13-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Thu Apr 20 2006 Ralf Corsépius <rc040203@freenet.de> - 0.11-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 0.10-2
f1b5a3
- Rebuild for perl-5.8.8.
f1b5a3
f1b5a3
* Wed Jan 18 2006 Ralf Corsépius <rc040203@freenet.de> - 0.10-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Wed Jan 11 2006 Ralf Corsépius <rc040203@freenet.de> - 0.09-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Wed Dec 21 2005 Ralf Corsépius <rc040203@freenet.de> - 0.08-1
f1b5a3
- Upstream update.
f1b5a3
f1b5a3
* Wed Oct 12 2005 Ralf Corsepius <rc040203@freenet.de> - 0.07-1
f1b5a3
- Upstream update.