commit feec307a94cd3ce010ebe0a015337fd413d06aed Author: Petr Sabata <contyk@xxxxxxxxxx> Date: Mon Oct 24 14:55:17 2011 +0200 1.09 bump .gitignore | 1 + perl-ORLite-Migrate.spec | 44 ++++++++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 30 insertions(+), 17 deletions(-) --- diff --git a/.gitignore b/.gitignore index 14eb64b..3501c21 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ ORLite-Migrate-0.03.tar.gz ORLite-Migrate-1.07.tar.gz /ORLite-Migrate-1.08.tar.gz +/ORLite-Migrate-1.09.tar.gz diff --git a/perl-ORLite-Migrate.spec b/perl-ORLite-Migrate.spec index da4e01b..0642311 100644 --- a/perl-ORLite-Migrate.spec +++ b/perl-ORLite-Migrate.spec @@ -1,5 +1,5 @@ Name: perl-ORLite-Migrate -Version: 1.08 +Version: 1.09 Release: 1%{?dist} Summary: Light weight SQLite-specific schema migration License: GPL+ or Artistic @@ -7,26 +7,42 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/ORLite-Migrate/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/ORLite-Migrate-%{version}.tar.gz Patch0: perl-ORLite-Migrate-req.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # File::Spec >= 3.2701, we have 3.30, rpm can't process 3.2701 < 3.30 BuildRequires: perl-devel >= 4:5.10.0-70 +BuildRequires: perl(Carp) BuildRequires: perl(DBD::SQLite) >= 1.21 BuildRequires: perl(DBI) >= 1.58 +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Path) >= 2.04 BuildRequires: perl(File::pushd) +BuildRequires: perl(File::Spec) >= 3.28 BuildRequires: perl(IPC::Run3) -BuildRequires: perl(ORLite) >= 1.20 +BuildRequires: perl(ORLite) >= 1.28 BuildRequires: perl(Params::Util) >= 0.37 BuildRequires: perl(Probe::Perl) BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(File::Which) +# inc +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::Manifest) +BuildRequires: perl(YAML::Tiny) # The following three requires are not detected automatically: Requires: perl(File::pushd) Requires: perl(IPC::Run3) Requires: perl(Probe::Perl) - +# Specific versions +Requires: perl(DBD::SQLite) >= 1.21 +Requires: perl(DBI) >= 1.58 +Requires: perl(File::Path) >= 2.04 +Requires: perl(File::Spec) >= 3.28 +Requires: perl(ORLite) >= 1.28 +Requires: perl(Params::Util) >= 0.37 +Requires: perl(Test::More) >= 0.47 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%global __requires_exclude ^perl\\(DBD::SQLite|DBI|File::Path|File::Spec|ORLite|Params::Util|Test::More\\)$ %description SQLite is a light weight single file SQL database that provides an excellent @@ -44,28 +60,24 @@ weight single class Database Schema Migration enhancement for ORLite. make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} %{buildroot}/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Mon Oct 24 2011 Petr Sabata <contyk@xxxxxxxxxx> - 1.09-1 +- 1.09 bump +- Remove now obsolete BuildRoot and defattr + * Wed Oct 12 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> 1.08-1 - update to 1.08 diff --git a/sources b/sources index 8d8883d..e967caa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f31e7d56d9ec854a2e3384a362d6a0c7 ORLite-Migrate-1.08.tar.gz +7f311c18c385e053ec8543c3f9c7761c ORLite-Migrate-1.09.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel