[perl-Package-Anon] Initial import (perl-Package-Anon-0.05-2)

Paul Howarth pghmcfc at fedoraproject.org
Sun Jan 13 10:09:45 UTC 2013


commit f4b91d993131ce89cbf8901c9221f32093ce244b
Author: Paul Howarth <paul at city-fan.org>
Date:   Sun Jan 13 10:08:42 2013 +0000

    Initial import (perl-Package-Anon-0.05-2)
    
    This module allows for anonymous packages that are independent of the main
    namespace and only available through an object instance, not by name.

 .gitignore             |    1 +
 perl-Package-Anon.spec |   61 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ddb3b55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Package-Anon-[0-9.]*.tar.gz
diff --git a/perl-Package-Anon.spec b/perl-Package-Anon.spec
new file mode 100644
index 0000000..edb01a0
--- /dev/null
+++ b/perl-Package-Anon.spec
@@ -0,0 +1,61 @@
+Name:		perl-Package-Anon
+Version:	0.05
+Release:	2%{?dist}
+Summary:	Anonymous packages
+License:	GPL+ or Artistic
+Group:		Development/Libraries
+URL:		http://search.cpan.org/dist/Package-Anons/
+Source0:	http://search.cpan.org/CPAN/authors/id/A/AU/AUGGY/Package-Anon-%{version}.tar.gz
+# Build
+BuildRequires:	perl(ExtUtils::MakeMaker)
+# Module
+BuildRequires:	perl >= 4:5.14
+BuildRequires:	perl(Scalar::Util)
+BuildRequires:	perl(XSLoader)
+# Test suite
+BuildRequires:	perl(lib)
+BuildRequires:	perl(Sub::Exporter)
+BuildRequires:	perl(Test::More)
+# Release tests
+BuildRequires:	perl(Pod::Coverage::TrustPod)
+BuildRequires:	perl(Test::EOL)
+BuildRequires:	perl(Test::NoTabs)
+BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
+BuildRequires:	perl(Test::Pod) >= 1.41
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+# Avoid private object provides
+%{perl_default_filter}
+
+%description
+This module allows for anonymous packages that are independent of the main
+namespace and only available through an object instance, not by name.
+
+%prep
+%setup -q -n Package-Anon-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
+
+%check
+make test RELEASE_TESTING=1
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorarch}/auto/Package/
+%{perl_vendorarch}/Package/
+%{_mandir}/man3/Package::Anon.3pm*
+
+%changelog
+* Mon Jan  7 2013 Paul Howarth <paul at city-fan.org> - 0.05-2
+- Sanitize for Fedora submission (#892651)
+
+* Fri Jan  4 2013 Paul Howarth <paul at city-fan.org> - 0.05-1
+- Initial RPM build
diff --git a/sources b/sources
index e69de29..cca8289 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+06599ea8c760e679dce8ebfb6b6a1edb  Package-Anon-0.05.tar.gz


More information about the scm-commits mailing list