[perl-Package-Constants] Import 0.04
Petr Pisar
ppisar at fedoraproject.org
Fri Jun 20 06:25:36 UTC 2014
commit 463237a3a823d60386cb97c101ee2c9fbe469462
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Jun 20 08:23:44 2014 +0200
Import 0.04
https://bugzilla.redhat.com/show_bug.cgi?id=1111157
.gitignore | 1 +
dead.package | 1 -
perl-Package-Constants.spec | 57 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 59 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4cc25b1..330fdba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Package-Constants-0.01.tar.gz
+/Package-Constants-0.04.tar.gz
diff --git a/perl-Package-Constants.spec b/perl-Package-Constants.spec
new file mode 100644
index 0000000..e3baf69
--- /dev/null
+++ b/perl-Package-Constants.spec
@@ -0,0 +1,57 @@
+Name: perl-Package-Constants
+# Epoch to compete with perl.spec
+Epoch: 1
+Version: 0.04
+Release: 1%{?dist}
+Summary: List all constants declared in a package
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Package-Constants/
+Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Package-Constants-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(strict)
+# Run-time:
+BuildRequires: perl(if)
+BuildRequires: perl(vars)
+%if 0%(perl -e 'print $] > 5.019006')
+BuildRequires: perl(deprecate)
+%endif
+# Tests:
+BuildRequires: perl(constant)
+BuildRequires: perl(lib)
+BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+%if 0%(perl -e 'print $] > 5.019006')
+Requires: perl(deprecate)
+%endif
+
+%description
+Package::Constants lists all the constants defined in a certain package.
+This can be useful for, among others, setting up an autogenerated
+ at EXPORT/@EXPORT_OK for a Constants.pm file.
+
+%prep
+%setup -q -n Package-Constants-%{version}
+
+%build
+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 {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc CHANGES README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jun 19 2014 Petr Pisar <ppisar at redhat.com> 1:0.04-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
new file mode 100644
index 0000000..0697cd8
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ded65e6d3de82439a716c5889c47427a Package-Constants-0.04.tar.gz
More information about the scm-commits
mailing list