rpms/perl-TermReadKey/devel perl-TermReadKey.spec,1.17,1.18
Robin Norwood (rnorwood)
fedora-extras-commits at redhat.com
Thu Oct 25 04:18:34 UTC 2007
Author: rnorwood
Update of /cvs/pkgs/rpms/perl-TermReadKey/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23746
Modified Files:
perl-TermReadKey.spec
Log Message:
fix issues from package review
Index: perl-TermReadKey.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-TermReadKey/devel/perl-TermReadKey.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- perl-TermReadKey.spec 17 Oct 2007 03:39:31 -0000 1.17
+++ perl-TermReadKey.spec 25 Oct 2007 04:18:00 -0000 1.18
@@ -1,6 +1,6 @@
Name: perl-TermReadKey
Version: 2.30
-Release: 2
+Release: 3%{?dist}
Summary: A perl module for simple terminal control
Group: Development/Libraries
@@ -9,9 +9,8 @@
Source0: http://www.cpan.org/authors/id/J/JS/JSTOWE/TermReadKey-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: perl >= 1:5.6.1
BuildRequires: perl(ExtUtils::MakeMaker)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Term::ReadKey is a compiled perl module dedicated to providing simple
@@ -26,10 +25,12 @@
%prep
%setup -q -n TermReadKey-%{version}
+
%build
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
+
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -38,9 +39,11 @@
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
-%check || :
+
+%check
make test
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -54,6 +57,13 @@
%changelog
+* Thu Oct 25 2007 Robin Norwood <rnorwood at redhat.com> - 2.30-3
+- fix various issues from package review:
+- remove extra || : from %%check
+- add dist tag to release
+- remove BR: perl
+- fix tabs and spacing
+
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 2.30-2
- correct license tag
- add BR: perl(ExtUtils::MakeMaker)
More information about the fedora-extras-commits
mailing list