Name: perl-SQL-Tokenizer Version: 0.24 Release: 9%{?dist} Summary: Simple SQL tokenizer License: GPL+ or Artistic URL: http://search.cpan.org/dist/SQL-Tokenizer/ Source0: http://www.cpan.org/authors/id/I/IZ/IZUT/SQL-Tokenizer-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl BuildRequires: perl-generators BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(constant) BuildRequires: perl(strict) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description SQL::Tokenizer is a simple tokenizer for SQL queries. It does not claim to be a parser or query verifier. It just creates sane tokens from a valid SQL query. %prep %setup -q -n SQL-Tokenizer-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} # SQL-Tokenizer does not honor ExtUtils::MakeMaker's NO_PACKLIST # Until this changes, we do things the old-fashioned way # https://rt.cpan.org/Ticket/Display.html?id=107930 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorlib}/SQL* %{_mandir}/man3/SQL* %changelog * Mon Aug 28 2017 Matěj Cepl - 0.24-9 - Rebuilt for EPEL7 * Thu Jul 27 2017 Fedora Release Engineering - 0.24-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.24-7 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.24-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.24-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.24-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Oct 23 2015 Emmanuel Seyman - 0.24-3 - Take into account review comments (#1274496) * Thu Oct 22 2015 Emmanuel Seyman - 0.24-2 - Clean up spec file * Sat Oct 17 2015 Adam Williamson - 0.24-1 - initial package