rpms/perl-Module-Build/devel perl-Module-Build.spec,1.12,1.13
Steven Pritchard (steve)
fedora-extras-commits at redhat.com
Tue Sep 6 01:05:14 UTC 2005
Author: steve
Update of /cvs/extras/rpms/perl-Module-Build/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20839
Modified Files:
perl-Module-Build.spec
Log Message:
- Minor spec cleanup.
- Add COPYING and Artistic.
Index: perl-Module-Build.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Module-Build/devel/perl-Module-Build.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- perl-Module-Build.spec 6 Jul 2005 05:36:18 -0000 1.12
+++ perl-Module-Build.spec 6 Sep 2005 01:04:44 -0000 1.13
@@ -1,59 +1,61 @@
Name: perl-Module-Build
Version: 0.2611
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Perl module for building and installing Perl modules
-
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Module-Build/
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildArch: noarch
BuildRequires: perl(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49
Requires: perl(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Perl module for building and installing Perl modules, a replacement to
ExtUtils::MakeMaker.
-
%prep
%setup -q -n Module-Build-%{version}
-
%build
%{__perl} Build.PL installdirs=vendor
./Build
-
%install
rm -rf $RPM_BUILD_ROOT
+
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-chmod -R u+w $RPM_BUILD_ROOT/*
+find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
-%check || :
-./Build test
+chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
+
+perldoc -t perlgpl > COPYING
+perldoc -t perlartistic > Artistic
+%check
+./Build test
%clean
rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root,-)
-%doc Changes README
+%doc Changes README COPYING Artistic
%{_bindir}/config_data
%{perl_vendorlib}/Module
%{_mandir}/man1/config_data.1*
%{_mandir}/man3/Module::Build*.3*
-
%changelog
+* Mon Sep 05 2005 Steven Pritchard <steve at kspei.com> - 0.2611-2
+- Minor spec cleanup.
+- Add COPYING and Artistic.
+
* Wed Jul 06 2005 Steven Pritchard <steve at kspei.com> - 0.2611-1
-- Update to 0.2611
+- Update to 0.2611.
* Sat May 7 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.2610-3
- Rebuild.
More information about the fedora-extras-commits
mailing list