[perl-Devel-OverloadInfo] Initial import (perl-Devel-OverloadInfo-0.002-2)
Paul Howarth
pghmcfc at fedoraproject.org
Mon Nov 10 14:12:06 UTC 2014
commit 9af592e986e4d3e432fd8b93af433041528d5431
Author: Paul Howarth <paul at city-fan.org>
Date: Mon Nov 10 14:11:07 2014 +0000
Initial import (perl-Devel-OverloadInfo-0.002-2)
Devel::OverloadInfo returns information about overloaded operators for a
given class (or object), including where in the inheritance hierarchy the
overloads are declared and where the code implementing it is.
.gitignore | 1 +
perl-Devel-OverloadInfo.spec | 62 ++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2e7a3d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Devel-OverloadInfo-[0-9.]*.tar.gz
diff --git a/perl-Devel-OverloadInfo.spec b/perl-Devel-OverloadInfo.spec
new file mode 100644
index 0000000..77d72b8
--- /dev/null
+++ b/perl-Devel-OverloadInfo.spec
@@ -0,0 +1,62 @@
+Name: perl-Devel-OverloadInfo
+Version: 0.002
+Release: 2%{?dist}
+Summary: Introspect overloaded operators
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Devel-OverloadInfo/
+Source0: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/Devel-OverloadInfo-%{version}.tar.gz
+BuildArch: noarch
+# Module Build
+BuildRequires: perl
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
+# Module Runtime
+BuildRequires: perl(Exporter) >= 5.57
+BuildRequires: perl(MRO::Compat)
+BuildRequires: perl(overload)
+BuildRequires: perl(Package::Stash) >= 0.14
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(strict)
+BuildRequires: perl(Sub::Identify)
+BuildRequires: perl(warnings)
+# Test Suite
+BuildRequires: perl(parent)
+BuildRequires: perl(Test::More) >= 0.88
+# Runtime
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+Devel::OverloadInfo returns information about overloaded operators for a
+given class (or object), including where in the inheritance hierarchy the
+overloads are declared and where the code implementing it is.
+
+%prep
+%setup -q -n Devel-OverloadInfo-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}
+
+%check
+make test
+
+%files
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc Changes README
+%{perl_vendorlib}/Devel/
+%{_mandir}/man3/Devel::OverloadInfo.3*
+
+%changelog
+* Fri Nov 7 2014 Paul Howarth <paul at city-fan.org> - 0.002-2
+- Sanitize for Fedora submission
+
+* Mon Nov 3 2014 Paul Howarth <paul at city-fan.org> - 0.002-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..32cba71 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bff186962739cd63d303061f2da038b1 Devel-OverloadInfo-0.002.tar.gz
More information about the perl-devel
mailing list