commit e37b6c7e7b14ecee58c3aa3b3d58e177262939eb Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Sep 26 11:00:02 2011 +0200 Import .gitignore | 1 + perl-Test-DBICSchemaLoaderDigest.spec | 62 +++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 64 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..b62bfa2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Test-DBICSchemaLoaderDigest-0.03.tar.gz diff --git a/perl-Test-DBICSchemaLoaderDigest.spec b/perl-Test-DBICSchemaLoaderDigest.spec new file mode 100644 index 0000000..c826602 --- /dev/null +++ b/perl-Test-DBICSchemaLoaderDigest.spec @@ -0,0 +1,62 @@ +Name: perl-Test-DBICSchemaLoaderDigest +Version: 0.03 +Release: 1%{?dist} +Summary: Test the DBIC::Schema::Loader's MD5 sum +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Test-DBICSchemaLoaderDigest/ +Source0: http://www.cpan.org/authors/id/R/RS/RSRCHBOY/Test-DBICSchemaLoaderDigest-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(base) +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +# File::Spec used by inc/Module/Install/Can.pm +BuildRequires: perl(File::Spec) +# Filter::Util::Call used by inc/Test/Base.pm +BuildRequires: perl(Filter::Util::Call) +BuildRequires: perl(Test::More) >= 0.74 +# YAML::* used by inc/YAML.pm +BuildRequires: perl(YAML::Base) +BuildRequires: perl(YAML::Node) +Requires: perl(Test::More) >= 0.74 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +# Remove underspecified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Test::More\\)\\s*$ + +%description +DBIC::Schema::Loader dumps follow code: + + DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2lkIltTa9Ey3fExXmUB/gw + But, some programmer MODIFY THE ABOVE OF THIS CODE! + +This module tests a module MD5 check sum. If you use this module, you can stop +this problem. + + +%prep +%setup -q -n Test-DBICSchemaLoaderDigest-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +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/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Sep 20 2011 Petr Pisar <ppisar@xxxxxxxxxx> 0.03-1 +- Specfile autogenerated by cpanspec 1.78. +- Remove BuildRoot and defattr code diff --git a/sources b/sources index e69de29..20574ad 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6ca2ff85dccf9a974bc3b959f4adc4cb Test-DBICSchemaLoaderDigest-0.03.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