[perl-Test-Fixme] New package
RĂ¼diger Landmann
rlandmann at fedoraproject.org
Mon Mar 14 03:35:03 UTC 2011
commit 2c4ccb9ae6015f23cca60417061f68966c7a9557
Author: Ruediger Landmann <r.landmann at redhat.com>
Date: Mon Mar 14 13:37:09 2011 +1000
New package
.gitignore | 1 +
perl-Test-Fixme.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..507d165 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-Fixme-0.04.tar.gz
diff --git a/perl-Test-Fixme.spec b/perl-Test-Fixme.spec
new file mode 100644
index 0000000..0273f2c
--- /dev/null
+++ b/perl-Test-Fixme.spec
@@ -0,0 +1,59 @@
+Name: perl-Test-Fixme
+Version: 0.04
+Release: 1%{?dist}
+Summary: Check code for FIXMEs
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Test-Fixme/
+Source0: http://www.cpan.org/modules/by-module/Test/Test-Fixme-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Finder)
+BuildRequires: perl(File::Slurp)
+BuildRequires: perl(Test::Builder)
+BuildRequires: perl(Test::More)
+Requires: perl(ExtUtils::MakeMaker)
+Requires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+When coding it is common to come up against problems that need to be
+addressed but that are not a big deal at the moment. What generally happens
+is that the coder adds comments and marks them FIXME.
+
+Test::Fixme allows you to add a test file that ensures that none of these
+get forgotten in the module.
+
+%prep
+%setup -q -n Test-Fixme-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+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/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Jan 18 2011 RĂ¼diger Landmann <r.landmann at redhat.com> 0.04-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..d58b48a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+54714e43e52ef1468ea01f03c325dc4d Test-Fixme-0.04.tar.gz
More information about the perl-devel
mailing list