From 6b047ca35660689fff4b29f2b7bce38ada3977cc Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 31 May 2010 19:34:10 +0000 Subject: [PATCH 1/4] Initialize branch F-13 for perl-CPAN-Meta --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..baa94ef --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-13 From 900df032fd1a00ce6281d2ae22f586331e2ca88f Mon Sep 17 00:00:00 2001 From: Iain Arnell Date: Tue, 1 Jun 2010 03:17:24 +0000 Subject: [PATCH 2/4] initial import --- .cvsignore | 1 + perl-CPAN-Meta.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 61 insertions(+) create mode 100644 perl-CPAN-Meta.spec diff --git a/.cvsignore b/.cvsignore index e69de29..6768f35 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +CPAN-Meta-2.101461.tar.gz diff --git a/perl-CPAN-Meta.spec b/perl-CPAN-Meta.spec new file mode 100644 index 0000000..6fc7d47 --- /dev/null +++ b/perl-CPAN-Meta.spec @@ -0,0 +1,59 @@ +Name: perl-CPAN-Meta +Version: 2.101461 +Release: 1%{?dist} +Summary: Distribution metadata for a CPAN dist +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/CPAN-Meta/ +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(JSON) >= 2 +BuildRequires: perl(Parse::CPAN::Meta) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Version::Requirements) >= 0.101020 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Software distributions released to the CPAN include a META.json or, for +older distributions, META.yml, which describes the distribution, its +contents, and the requirements for building and installing the +distribution. The data structure stored in the META.json file is described +in CPAN::Meta::Spec. + +%prep +%setup -q -n CPAN-Meta-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes dist.ini history LICENSE META.json README Todo +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri May 28 2010 Iain Arnell 2.101461-1 +- Specfile autogenerated by cpanspec 1.78. +- drop explicit requirements diff --git a/sources b/sources index e69de29..0ef8e86 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +cb52286aaf8c2743c2707f3947b3b584 CPAN-Meta-2.101461.tar.gz From ab1bfb145a46e7bd07f71543cc4d3386c3fe7ab3 Mon Sep 17 00:00:00 2001 From: Iain Arnell Date: Mon, 14 Jun 2010 15:01:54 +0000 Subject: [PATCH 3/4] - update to latest upstream --- .cvsignore | 2 +- perl-CPAN-Meta.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 6768f35..cfa039b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -CPAN-Meta-2.101461.tar.gz +CPAN-Meta-2.101610.tar.gz diff --git a/perl-CPAN-Meta.spec b/perl-CPAN-Meta.spec index 6fc7d47..36cc6b9 100644 --- a/perl-CPAN-Meta.spec +++ b/perl-CPAN-Meta.spec @@ -1,5 +1,5 @@ Name: perl-CPAN-Meta -Version: 2.101461 +Version: 2.101610 Release: 1%{?dist} Summary: Distribution metadata for a CPAN dist License: GPL+ or Artistic @@ -54,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Mon Jun 14 2010 Iain Arnell 2.101610-1 +- update to latest upstream + * Fri May 28 2010 Iain Arnell 2.101461-1 - Specfile autogenerated by cpanspec 1.78. - drop explicit requirements diff --git a/sources b/sources index 0ef8e86..eec3dfd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cb52286aaf8c2743c2707f3947b3b584 CPAN-Meta-2.101461.tar.gz +2c6768de59364084c411e2a96d562213 CPAN-Meta-2.101610.tar.gz From 9a03b8a1567dfd84743d8beb1cbf9d45e79da5ec Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 05:54:48 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 19dc4be..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: perl-CPAN-Meta -# $Id$ -NAME := perl-CPAN-Meta -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index baa94ef..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-13