perl-SQL-Abstract/perl-SQL-Abstract.spec

267 lines
9.2 KiB
RPMSpec
Raw Normal View History

Name: perl-SQL-Abstract
2017-04-11 12:33:22 +00:00
Version: 1.84
Release: 1%{?dist}
Summary: Generate SQL from Perl data structures
Group: Development/Libraries
2007-08-26 19:27:38 +00:00
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/SQL-Abstract
2017-04-11 12:33:22 +00:00
Source0: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/SQL-Abstract-%{version}.tar.gz
BuildArch: noarch
2017-04-11 12:33:22 +00:00
BuildRequires: make
2014-12-03 17:13:06 +00:00
BuildRequires: perl
BuildRequires: perl-generators
2017-04-11 12:33:22 +00:00
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
2014-12-03 17:13:06 +00:00
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
2015-02-05 17:11:13 +00:00
%if !%{defined perl_bootstrap}
2014-12-03 17:13:06 +00:00
# DBIx::Class::Storage::Statistic used only with optional tests
BuildRequires: perl(DBIx::Class::Storage::Statistics)
2015-02-05 17:11:13 +00:00
%endif
2014-12-03 17:13:06 +00:00
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(Hash::Merge) >= 0.12
BuildRequires: perl(List::Util)
2017-04-11 12:33:22 +00:00
BuildRequires: perl(Moo) >= 2.000001
2014-12-03 17:13:06 +00:00
BuildRequires: perl(mro)
# MRO::Compat 0.12 not needed since perl 5.9
BuildRequires: perl(Scalar::Util)
2017-04-11 12:33:22 +00:00
BuildRequires: perl(Sub::Quote) >= 2.000001
BuildRequires: perl(Test::Builder)
2014-12-03 17:13:06 +00:00
BuildRequires: perl(Test::Builder::Module)
BuildRequires: perl(Test::Deep) >= 0.101
2014-12-03 17:13:06 +00:00
BuildRequires: perl(Text::Balanced) >= 2.00
# Optional run-time:
# Term::ANSIColor not usefull for tests
# Tests:
BuildRequires: perl(overload)
BuildRequires: perl(Storable)
2014-11-24 15:03:13 +00:00
BuildRequires: perl(Test::Exception) >= 0.31
BuildRequires: perl(Test::More) >= 0.92
2014-12-03 17:13:06 +00:00
BuildRequires: perl(Test::Warn)
2015-02-05 17:11:13 +00:00
%if !%{defined perl_bootstrap}
2014-12-03 17:13:06 +00:00
# Optional tests:
BuildRequires: perl(DBIx::Class) >= 0.08124
2015-02-05 17:11:13 +00:00
%endif
2012-04-12 18:09:34 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
2014-12-03 17:13:06 +00:00
Requires: perl(Data::Dumper)
Requires: perl(Exporter) >= 5.57
Requires: perl(Hash::Merge) >= 0.12
2017-04-11 12:33:22 +00:00
Requires: perl(Moo) >= 2.000001
2014-12-03 17:13:06 +00:00
Requires: perl(mro)
# MRO::Compat 0.12 not needed since perl 5.9
2017-04-11 12:33:22 +00:00
Requires: perl(Sub::Quote) >= 2.000001
2014-12-03 17:13:06 +00:00
Requires: perl(Test::Deep) >= 0.101
Requires: perl(Text::Balanced) >= 2.00
%{?perl_default_filter}
2014-12-03 17:13:06 +00:00
# Remove under-speciefed dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Exporter|Test::Deep)\\)$
2017-04-11 12:33:22 +00:00
%global __requires_exclude %__requires_exclude|^perl\\((Moo|Sub::Quote)\\)$
%description
%{summary}.
2012-04-12 18:09:34 +00:00
%package -n perl-DBIx-Class-Storage-Debug-PrettyPrint
Summary: Pretty Printing DebugObj
Group: Development/Libraries
License: GPL+ or Artistic
2014-12-03 17:13:06 +00:00
# Optional run-time:
# Term::ANSIColor
2012-04-12 18:09:34 +00:00
%description -n perl-DBIx-Class-Storage-Debug-PrettyPrint
%{summary}.
%prep
%setup -q -n SQL-Abstract-%{version}
%build
2017-04-11 12:33:22 +00:00
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
2015-02-05 17:11:13 +00:00
make test
%files
2017-04-11 12:33:22 +00:00
%doc Changes README
2014-11-24 15:03:13 +00:00
# %{_bindir}/format-sql
2012-04-12 18:09:34 +00:00
%{perl_vendorlib}/SQL/
%{_mandir}/man3/SQL::Abstract.3pm*
%{_mandir}/man3/SQL::Abstract::Test.3pm*
%{_mandir}/man3/SQL::Abstract::Tree.3pm*
%files -n perl-DBIx-Class-Storage-Debug-PrettyPrint
%{perl_vendorlib}/DBIx/
%{_mandir}/man3/DBIx::Class::Storage::Debug::PrettyPrint.3pm*
%changelog
2017-04-11 12:33:22 +00:00
* Tue Apr 11 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.84-1
- 1.84 bump
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.81-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.81-9
- Perl 5.24 re-rebuild of bootstrapped packages
2016-05-16 12:03:00 +00:00
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.81-8
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.81-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.81-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.81-5
- Perl 5.22 re-rebuild of bootstrapped packages
2015-06-06 12:46:33 +00:00
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.81-4
- Perl 5.22 rebuild
2015-02-05 17:11:13 +00:00
* Thu Feb 05 2015 Petr Pisar <ppisar@redhat.com> - 1.81-3
- Skip DBIx::Class tests on boostrap
2014-12-03 17:13:06 +00:00
* Wed Dec 03 2014 Petr Pisar <ppisar@redhat.com> - 1.81-2
- Specify all dependencies (bug #1168882)
2014-11-24 15:03:13 +00:00
* Mon Nov 24 2014 Tom Callaway <spot@fedoraproject.org> - 1.81-1
- update to 1.81
2014-08-29 21:52:03 +00:00
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.77-3
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.77-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Apr 9 2014 Paul Howarth <paul@city-fan.org> - 1.77-1
- Update to latest upstream version
- This release by RIBASUSHI -> update source URL
- BR: perl(Data::Dumper) and perl(Test::Deep) 0.101
- Don't need to remove empty directories from the buildroot
- Use DESTDIR rather than PERL_INSTALL_ROOT
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.73-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-30 04:41:14 +00:00
* Tue Jul 30 2013 Petr Pisar <ppisar@redhat.com> - 1.73-3
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.73-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-07-21 15:56:19 +00:00
* Sat Jul 21 2012 Iain Arnell <iarnell@gmail.com> 1.73-1
- update to latest upstream version
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.72-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-06-14 14:48:13 +00:00
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 1.72-6
- Perl 5.16 rebuild
2012-04-12 18:09:34 +00:00
* Sun Apr 8 2012 Paul Howarth <paul@city-fan.org> - 1.72-5
- Split DBIx::Class::Storage::Debug::PrettyPrint off into its own sub-package
to avoid a dependency cycle, since perl-SQL-Abstract and perl-DBIx-Class
would otherwise require each other and make perl-DBIx-Class unbootable
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.72-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-07-19 20:37:41 +00:00
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.72-3
- Perl mass rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.72-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Jan 08 2011 Iain Arnell <iarnell@gmail.com> 1.72-1
- update to latest upstream version
- update BR perl(Test::Deep) >= 0.106
- update BR perl(Test::More) >= 0.92
- new R/BR perl(Class::Accessor::Grouped) >= 0.10002
- new R/BR perl(Getopt::Long::Descriptive) >= 0.086
- new R/BR perl(Hash::Merge) >= 0.12
- add format-sql script and PrettyPrint.pm to files
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.67-2
- 661697 rebuild for fixing problems with vendorach/lib
2010-07-12 14:28:11 +00:00
* Mon Jul 12 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.67-1
- update to 1.67
2010-05-06 13:26:59 +00:00
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.61-2
- Mass rebuild with perl-5.12.0
* Mon Feb 22 2010 Chris Weyl <cweyl@alumni.drew.edu> - 1.61-1
- update to 1.61 (for latest DBIx::Class)
2009-12-07 03:07:51 +00:00
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.60-2
- rebuild against perl 5.10.1
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.60-1
- auto-update to 1.60 (by cpan-spec-update 0.01)
* Fri Sep 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.58-1
- add default filtering (pro forma)
- auto-update to 1.58 (by cpan-spec-update 0.01)
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.56-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat Jun 13 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.56-1
- auto-update to 1.56 (by cpan-spec-update 0.01)
* Thu May 21 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.55-1
- added SQLATEST_TESTER=1 to force tests
- auto-update to 1.55 (by cpan-spec-update 0.01)
- added a new br on perl(ExtUtils::MakeMaker) (version 6.42)
- added a new br on perl(Clone) (version 0.31)
- added a new br on perl(Scalar::Util) (version 0)
- added a new br on perl(List::Util) (version 0)
- added a new br on perl(Test::Builder) (version 0)
2009-03-16 13:40:11 +00:00
* Mon Mar 16 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.50-2
- add missing BR: perl(Test::Exception)
2009-03-13 23:03:15 +00:00
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.50-1
- update to 1.50
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sun Feb 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.24-1
- update to 1.24 (for DBIx::Class 0.8012)
2008-02-28 13:11:56 +00:00
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.22-4
- Rebuild for perl 5.10 (again)
2008-01-25 00:24:17 +00:00
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.22-3
- rebuild for new perl
2007-08-26 19:27:38 +00:00
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.22-2
- license tag fix
2007-01-18 01:39:33 +00:00
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.22-1
- bump to 1.22
2006-09-15 15:37:24 +00:00
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.21-2
- fc6 bump
2006-03-31 20:29:39 +00:00
* Fri Mar 31 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.21-1
- bump to 1.21
2006-01-05 17:35:25 +00:00
* Thu Jan 5 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.20-1
- bump to 1.20
* Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.19-2
- cleanups
* Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.19-1
- Initial package for Fedora Extras