[perl-Task-Kensho-Toolchain] Modernize spec file
Petr Pisar
ppisar at fedoraproject.org
Wed Feb 27 15:44:41 UTC 2013
commit 812a03753bad8d8e5a51243ba8ed5199a8fd87a6
Author: Petr Písař <ppisar at redhat.com>
Date: Wed Feb 27 16:14:33 2013 +0100
Modernize spec file
.rpmlint | 3 +++
perl-Task-Kensho-Toolchain.spec | 27 +++++++++++++++++----------
2 files changed, 20 insertions(+), 10 deletions(-)
---
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..9776a10
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,3 @@
+# coding=utf-8
+from Config import *
+addFilter(u'spelling-error .* Kenshō');
diff --git a/perl-Task-Kensho-Toolchain.spec b/perl-Task-Kensho-Toolchain.spec
index 5e2524e..2fbb15f 100644
--- a/perl-Task-Kensho-Toolchain.spec
+++ b/perl-Task-Kensho-Toolchain.spec
@@ -7,15 +7,22 @@ Group: Development/Libraries
URL: http://search.cpan.org/dist/Task-Kensho-Toolchain/
Source0: http://www.cpan.org/authors/id/A/AP/APEIRON/Task-Kensho-Toolchain-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(inc::Module::Install)
+BuildRequires: perl(Module::Install::AutoManifest)
+BuildRequires: perl(Module::Install::Repository)
+# Run-time:
+# Tests do not need them, but build script does.
BuildRequires: perl(App::cpanminus)
-BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(local::lib)
-BuildRequires: perl(Test::More)
+BuildRequires: perl(strict)
BuildRequires: perl(version)
+# Tests:
+BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(App::cpanminus)
Requires: perl(local::lib)
Requires: perl(version)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
@@ -23,40 +30,40 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
Kenshō (見性) (C. Wu) is a Japanese term for enlightenment
experiences—most commonly used within the confines of Zen
Buddhism—literally meaning "seeing one's nature"[1] or "true self."[2] It
-generally "refers to the realization of nonduality of subject and
+generally "refers to the realization of non-duality of subject and
object."[3]
Task::Kensho is a first cut at building a list of recommended modules for
Enlightened Perl development. CPAN is wonderful, but there are too many
-wheels and you have to pick and choose amongst the various competing
+wheels and you have to pick and choose among the various competing
technologies.
%prep
%setup -q -n Task-Kensho-Toolchain-%{version}
+rm -rf inc/*
+sed -i -e '/^inc\//d' MANIFEST
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$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 MYMETA.yml README
+%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.28-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+- Modernize spec file
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.28-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the perl-devel
mailing list