[perl-Set-Tiny] Initial import.

corsepiu corsepiu at fedoraproject.org
Thu Mar 20 03:39:11 UTC 2014


commit 82d42d48bf42d7363a7ad214edb8f6c23f0f98d1
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Thu Mar 20 04:38:09 2014 +0100

    Initial import.

 .gitignore         |    1 +
 perl-Set-Tiny.spec |   43 +++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..739bbe2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Set-Tiny-0.01.tar.gz
diff --git a/perl-Set-Tiny.spec b/perl-Set-Tiny.spec
new file mode 100644
index 0000000..a3c9cf2
--- /dev/null
+++ b/perl-Set-Tiny.spec
@@ -0,0 +1,43 @@
+Name:           perl-Set-Tiny
+Version:        0.01
+Release:        1%{?dist}
+Summary:        Simple sets of strings
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Set-Tiny/
+Source0:        http://www.cpan.org/authors/id/T/TR/TRENDELS/Set-Tiny-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Set::Tiny is a thin wrapper around regular Perl hashes to perform often
+needed set operations, such as testing two sets of strings for equality, or
+checking whether one is contained within the other.
+
+%prep
+%setup -q -n Set-Tiny-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$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
+* Tue Mar 18 2014 Ralf Corsépius <corsepiu at fedoraproject.org> 0.01-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..f6662b1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1edda94a178ac2911f6f2a2e1101b633  Set-Tiny-0.01.tar.gz



More information about the perl-devel mailing list