From 7feeb6fd9acef989b9c02f4c1707752c417f89c8 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 29 Sep 2009 05:55:04 +0000 Subject: [PATCH 1/4] Initialize branch F-12 for perl-Class-Accessor-Grouped --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..06de2d2 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-12 From b208b07c26d255c7d8a7df43636fe1b465d4024c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 02:16:44 +0000 Subject: [PATCH 2/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 91be093..e15fd91 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: perl-Class-Accessor-Grouped -# $Id$ +# $Id: Makefile,v 1.1 2007/12/07 17:18:20 kevin Exp $ NAME := perl-Class-Accessor-Grouped 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 $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +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)) From 247c6137dcc5c576121a6c7a1c1dc034bac73362 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sun, 7 Feb 2010 04:08:00 +0000 Subject: [PATCH 3/4] - subpackage tests, drop t/ from doc - update filtering (perl_default_filter) - PERL_INSTALL_ROOT => DESTDIR in make install - auto-update to 0.09002 (by cpan-spec-update 0.01) --- perl-Class-Accessor-Grouped.spec | 60 +++++++++++--------------------- sources | 2 +- 2 files changed, 21 insertions(+), 41 deletions(-) diff --git a/perl-Class-Accessor-Grouped.spec b/perl-Class-Accessor-Grouped.spec index 13580c3..750061b 100644 --- a/perl-Class-Accessor-Grouped.spec +++ b/perl-Class-Accessor-Grouped.spec @@ -1,7 +1,7 @@ Name: perl-Class-Accessor-Grouped -Version: 0.09000 +Version: 0.09002 Release: 1%{?dist} -Summary: Lets you build groups of accessors +Summary: Build groups of accessors License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Class-Accessor-Grouped/ @@ -10,30 +10,25 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -# core BuildRequires: perl >= 1:5.6.1 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 -#BuildRequires: perl(Carp) -#BuildRequires: perl(Scalar::Util) -# cpan +BuildRequires: perl(Carp) +BuildRequires: perl(Scalar::Util) BuildRequires: perl(Class::Inspector) BuildRequires: perl(MRO::Compat) -# test BuildRequires: perl(Test::More) +BuildRequires: perl(Sub::Identify) +BuildRequires: perl(Sub::Name) >= 0.04 +BuildRequires: perl(CPAN) -### auto-added reqs! Requires: perl(Carp) Requires: perl(Class::Inspector) Requires: perl(MRO::Compat) Requires: perl(Scalar::Util) Requires: perl(Sub::Name) >= 0.04 -### auto-added brs! -BuildRequires: perl(Carp) -BuildRequires: perl(Scalar::Util) -BuildRequires: perl(Sub::Identify) -BuildRequires: perl(Sub::Name) >= 0.04 -BuildRequires: perl(CPAN) +%{?perl_default_filter} +%{?perl_default_subpackage_tests} %description This class lets you build groups of accessors that will call different @@ -42,30 +37,6 @@ getters and setters. %prep %setup -q -n Class-Accessor-Grouped-%{version} -#find t/ -type f -name '*.t' -chmod -perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t - -# Filter unwanted Provides: -cat << \EOF > %{name}-prov -#!/bin/sh -%{__perl_provides} $* |\ - sed -e '/perl(.*Groups.*)/d' -e 's/perl(NotHashBased)//' -EOF - -%define __perl_provides %{_builddir}/Class-Accessor-Grouped-%{version}/%{name}-prov -chmod +x %{__perl_provides} - - -# Filter unwanted Requires: -cat << \EOF > %{name}-req -#!/bin/sh -%{__perl_requires} $* |\ - sed -e '/perl(base)/d' -EOF - -%define __perl_requires %{_builddir}/Class-Accessor-Grouped-%{version}/%{name}-req -chmod +x %{__perl_requires} - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -73,7 +44,7 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; @@ -88,11 +59,20 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc Changes README t/ +%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Sun Feb 07 2010 Chris Weyl 0.09002-1 +- subpackage tests, drop t/ from doc +- update filtering (perl_default_filter) +- PERL_INSTALL_ROOT => DESTDIR in make install +- auto-update to 0.09002 (by cpan-spec-update 0.01) + +* Mon Dec 7 2009 Stepan Kasal - 0.09000-2 +- rebuild against perl 5.10.1 + * Tue Aug 25 2009 Chris Weyl 0.09000-1 - auto-update to 0.09000 (by cpan-spec-update 0.01) - added a new br on perl(Carp) (version 0) diff --git a/sources b/sources index 5ada00b..17edb75 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3e45eaf661a67dfc86becec239712355 Class-Accessor-Grouped-0.09000.tar.gz +86c3b2aacdaabf5e98110be04ac2f48e Class-Accessor-Grouped-0.09002.tar.gz From 32a3b20d96df9ec5aae0d57a590424cf16703dba Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 06:02:20 +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 e15fd91..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: perl-Class-Accessor-Grouped -# $Id: Makefile,v 1.1 2007/12/07 17:18:20 kevin Exp $ -NAME := perl-Class-Accessor-Grouped -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 06de2d2..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-12