[perl-Test-ConsistentVersion] Initial import.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit c530d8e556e86e763e4abee778f7317ec3fbd771
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Tue Jul 5 14:39:48 2011 +0200

    Initial import.

 .gitignore                       |    1 +
 perl-Test-ConsistentVersion.spec |   51 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..dd64b6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-ConsistentVersion-v0.2.3.tar.gz
diff --git a/perl-Test-ConsistentVersion.spec b/perl-Test-ConsistentVersion.spec
new file mode 100644
index 0000000..0527af6
--- /dev/null
+++ b/perl-Test-ConsistentVersion.spec
@@ -0,0 +1,51 @@
+Name:           perl-Test-ConsistentVersion
+Version:        0.2.3
+Release:        1%{?dist}
+Summary:        Ensures a CPAN distribution has consistent versioning
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Test-ConsistentVersion/
+Source0:        http://www.cpan.org/authors/id/C/CE/CEBJYRE/Test-ConsistentVersion-v%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::Builder)
+BuildRequires:  perl(Test::Pod::Content)
+
+# Needed for TEST_AUTHOR tests
+BuildRequires:  perl(Test::Perl::Critic)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Simple)
+
+BuildRequires:  perl(version)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+The purpose of this module is to make it easy for other distribution
+authors to have consistent version numbers within the modules (as well as
+readme file and changelog) of the distribution.
+
+%prep
+%setup -q -n Test-ConsistentVersion-v%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+TEST_AUTHOR=1 ./Build test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon May 16 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.2.3-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..762ad35 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f4e90bd16dd08330e6c89da0abc7b8ec  Test-ConsistentVersion-v0.2.3.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux