Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
0b8308ca03 | ||
|
da5dbc4912 | ||
|
e795610647 | ||
|
1fe549ac14 |
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
|
||||
Version: 1.06
|
||||
Release: 1%{?dist}
|
||||
Version: 1.08
|
||||
Release: 2%{?dist}
|
||||
Summary: Lists of reserved barewords and symbol names
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/B-Keywords/
|
||||
Source0: http://www.cpan.org/authors/id/J/JJ/JJORE/B-Keywords-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(YAML)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test)
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
@ -33,16 +34,11 @@ rm -rf $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 -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
|
||||
%check
|
||||
# Skip the Perl::Critic tests for two reasons:
|
||||
# 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
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
@ -57,6 +53,25 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%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
|
||||
- Update to 1.06.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user