rpms/perl-Test-Portability-Files/FC-5 perl-Test-Portability-Files.spec, 1.2, 1.3
Steven Pritchard (steve)
fedora-extras-commits at redhat.com
Mon May 15 21:33:22 UTC 2006
Author: steve
Update of /cvs/extras/rpms/perl-Test-Portability-Files/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22813
Modified Files:
perl-Test-Portability-Files.spec
Log Message:
Roll back to 0.05-1.
Index: perl-Test-Portability-Files.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Test-Portability-Files/FC-5/perl-Test-Portability-Files.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-Test-Portability-Files.spec 12 May 2006 22:56:04 -0000 1.2
+++ perl-Test-Portability-Files.spec 15 May 2006 21:33:21 -0000 1.3
@@ -1,6 +1,6 @@
Name: perl-Test-Portability-Files
Version: 0.05
-Release: 2%{?dist}
+Release: 1%{?dist}
Summary: Check file names portability
License: GPL or Artistic
Group: Development/Libraries
@@ -8,7 +8,7 @@
Source0: http://www.cpan.org/authors/id/S/SA/SAPER/Test-Portability-Files-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-#BuildRequires: perl(Module::Build)
+BuildRequires: perl(Module::Build)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -21,24 +21,19 @@
%setup -q -n Test-Portability-Files-%{version}
%build
-#%{__perl} Build.PL installdirs=vendor
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-#./Build
-make
+%{__perl} Build.PL installdirs=vendor
+./Build
%install
rm -rf $RPM_BUILD_ROOT
-#./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
%check
-#./Build test
-make test
+./Build test
%clean
rm -rf $RPM_BUILD_ROOT
@@ -50,8 +45,5 @@
%{_mandir}/man3/*
%changelog
-* Fri May 12 2006 Steven Pritchard <steve at kspei.com> 0.05-2
-- Use Makefile.PL temporarily to work around Module::Build breakage.
-
* Fri May 12 2006 Steven Pritchard <steve at kspei.com> 0.05-1
- Specfile autogenerated by cpanspec 1.66.
More information about the fedora-extras-commits
mailing list