rpms/perl-Pod-Readme/devel perl-Pod-Readme.spec,1.1,1.2
Steven Pritchard (steve)
fedora-extras-commits at redhat.com
Fri May 12 23:16:27 UTC 2006
Author: steve
Update of /cvs/extras/rpms/perl-Pod-Readme/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21745
Modified Files:
perl-Pod-Readme.spec
Log Message:
Use Makefile.PL temporarily to work around Module::Build breakage.
Index: perl-Pod-Readme.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Pod-Readme/devel/perl-Pod-Readme.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- perl-Pod-Readme.spec 12 May 2006 20:23:54 -0000 1.1
+++ perl-Pod-Readme.spec 12 May 2006 23:16:27 -0000 1.2
@@ -1,6 +1,6 @@
Name: perl-Pod-Readme
Version: 0.081
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Convert POD to README file
License: GPL or Artistic
Group: Development/Libraries
@@ -8,7 +8,7 @@
Source0: http://www.cpan.org/authors/id/R/RR/RRWO/Pod-Readme-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(Module::Build)
+#BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Portability::Files)
@@ -29,19 +29,24 @@
%setup -q -n Pod-Readme-%{version}
%build
-%{__perl} Build.PL installdirs=vendor
-./Build
+#%{__perl} Build.PL installdirs=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+#./Build
+make
%install
rm -rf $RPM_BUILD_ROOT
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+#./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 {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
%check
-DEVEL_TESTS=1 ./Build test
+#DEVEL_TESTS=1 ./Build test
+DEVEL_TESTS=1 make test
%clean
rm -rf $RPM_BUILD_ROOT
@@ -55,6 +60,9 @@
%{_mandir}/man3/*
%changelog
+* Fri May 12 2006 Steven Pritchard <steve at kspei.com> 0.081-2
+- Use Makefile.PL temporarily to work around Module::Build breakage.
+
* Fri May 12 2006 Steven Pritchard <steve at kspei.com> 0.081-1
- Specfile autogenerated by cpanspec 1.66.
- Remove explicit perl dep.
More information about the fedora-extras-commits
mailing list