fix issues from package review
This commit is contained in:
parent
1c1ead627c
commit
573981d8b0
@ -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 @@ URL: http://search.cpan.org/dist/TermReadKey/
|
||||
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 @@ good likelyhood of it working.
|
||||
%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 f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||
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 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Oct 25 2007 Robin Norwood <rnorwood@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@redhat.com> - 2.30-2
|
||||
- correct license tag
|
||||
- add BR: perl(ExtUtils::MakeMaker)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user