- Minor spec cleanup.
- Add COPYING and Artistic.
This commit is contained in:
parent
c2ace78dda
commit
d7611f0de1
@ -1,14 +1,12 @@
|
|||||||
Name: perl-Module-Build
|
Name: perl-Module-Build
|
||||||
Version: 0.2611
|
Version: 0.2611
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Perl module for building and installing Perl modules
|
Summary: Perl module for building and installing Perl modules
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL or Artistic
|
License: GPL or Artistic
|
||||||
URL: http://search.cpan.org/dist/Module-Build/
|
URL: http://search.cpan.org/dist/Module-Build/
|
||||||
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49
|
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(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49
|
||||||
@ -18,42 +16,46 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|||||||
Perl module for building and installing Perl modules, a replacement to
|
Perl module for building and installing Perl modules, a replacement to
|
||||||
ExtUtils::MakeMaker.
|
ExtUtils::MakeMaker.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Module-Build-%{version}
|
%setup -q -n Module-Build-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
./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 || :
|
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
perldoc -t perlgpl > COPYING
|
||||||
|
perldoc -t perlartistic > Artistic
|
||||||
|
|
||||||
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes README
|
%doc Changes README COPYING Artistic
|
||||||
%{_bindir}/config_data
|
%{_bindir}/config_data
|
||||||
%{perl_vendorlib}/Module
|
%{perl_vendorlib}/Module
|
||||||
%{_mandir}/man1/config_data.1*
|
%{_mandir}/man1/config_data.1*
|
||||||
%{_mandir}/man3/Module::Build*.3*
|
%{_mandir}/man3/Module::Build*.3*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> - 0.2611-2
|
||||||
|
- Minor spec cleanup.
|
||||||
|
- Add COPYING and Artistic.
|
||||||
|
|
||||||
* Wed Jul 06 2005 Steven Pritchard <steve@kspei.com> - 0.2611-1
|
* Wed Jul 06 2005 Steven Pritchard <steve@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
|
* Sat May 7 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.2610-3
|
||||||
- Rebuild.
|
- Rebuild.
|
||||||
|
Loading…
Reference in New Issue
Block a user