Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
6fa096b657 | ||
|
24287ecbb9 | ||
|
b4a32f3eed | ||
|
082cb7d9d1 |
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
|||||||
# Makefile for source rpm: perl-B-Keywords
|
|
||||||
# $Id$
|
|
||||||
NAME := perl-B-Keywords
|
|
||||||
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
|
|
||||||
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)
|
|
@ -1,20 +1,21 @@
|
|||||||
Name: perl-B-Keywords
|
Name: perl-B-Keywords
|
||||||
Version: 1.06
|
Version: 1.08
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Lists of reserved barewords and symbol names
|
Summary: Lists of reserved barewords and symbol names
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/B-Keywords/
|
URL: http://search.cpan.org/dist/B-Keywords/
|
||||||
Source0: http://www.cpan.org/authors/id/J/JJ/JJORE/B-Keywords-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/J/JJ/JJORE/B-Keywords-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Test::Pod)
|
|
||||||
BuildRequires: perl(Test::Pod::Coverage)
|
|
||||||
BuildRequires: perl(YAML)
|
BuildRequires: perl(YAML)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Test)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
@ -33,16 +34,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Skip the Perl::Critic tests for two reasons:
|
make test
|
||||||
# 1) it fails a couple of tests
|
|
||||||
# 2) it causes bootstrap problems
|
|
||||||
# (Perl::Critic 0.23 requires this module)
|
|
||||||
mv t/05critic.t t/05critic.t.skip
|
|
||||||
AUTHOR_TESTS=1 make test
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -57,6 +53,25 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 31 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.08-2
|
||||||
|
- update buildrequires
|
||||||
|
|
||||||
|
* Sat Mar 15 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.08-1
|
||||||
|
- update to 1.08
|
||||||
|
|
||||||
|
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-4
|
||||||
|
- Rebuild normally, second pass
|
||||||
|
|
||||||
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-3
|
||||||
|
- Rebuild for perl 5.10 (again), disable tests for first pass
|
||||||
|
|
||||||
|
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-2
|
||||||
|
- rebuild normally, second pass
|
||||||
|
|
||||||
|
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-1.1
|
||||||
|
- rebuild for new perl
|
||||||
|
- disable Test-Pod-Coverage, tests for first pass
|
||||||
|
|
||||||
* Thu Feb 15 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-1
|
* Thu Feb 15 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-1
|
||||||
- Update to 1.06.
|
- Update to 1.06.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user