|
@@ -1,6 +1,6 @@
|
|
Name: perl-TermReadKey
|
|
Name: perl-TermReadKey
|
|
Version: 2.30
|
|
Version: 2.30
|
|
-Release: 3%{?_dist_release}
|
|
+Release: 4%{?_dist_release}
|
|
Summary: A perl module for simple terminal control
|
|
Summary: A perl module for simple terminal control
|
|
|
|
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
@@ -10,11 +10,7 @@ Source0: http://www.cpan.org/authors/id/J/JS/JSTOWE/TermReadKey-%{version
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
-%if "%{?_dist_release}" == "vl4"
|
|
|
|
-Requires: perl = %(rpm -q --qf '%%{epoch}:%%{version}' perl)
|
|
|
|
-%else
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
-%endif
|
|
|
|
|
|
|
|
%description
|
|
%description
|
|
Term::ReadKey is a compiled perl module dedicated to providing simple
|
|
Term::ReadKey is a compiled perl module dedicated to providing simple
|
|
@@ -31,17 +27,17 @@ good likelyhood of it working.
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
+CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
|
|
+make %{?_smp_mflags} OPTIMIZE="%{optflags}"
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
+rm -rf %{buildroot}
|
|
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
-find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
+find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
-chmod -R u+w $RPM_BUILD_ROOT/*
|
|
+chmod -R u+w %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
%check
|
|
@@ -49,7 +45,7 @@ make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
+rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
%files
|
|
@@ -61,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Mar 13 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.30-4
|
|
|
|
+- rebuild
|
|
|
|
+
|
|
* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 2.30-3vl6
|
|
* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 2.30-3vl6
|
|
- build with perl 5.12.3
|
|
- build with perl 5.12.3
|
|
|
|
|