Update to 0.58. Small spec cleanups.
This commit is contained in:
parent
e1aabd93e9
commit
5e2ec03972
@ -1 +1 @@
|
|||||||
YAML-0.39.tar.gz
|
YAML-0.58.tar.gz
|
||||||
|
@ -1,18 +1,16 @@
|
|||||||
Name: perl-YAML
|
Name: perl-YAML
|
||||||
Version: 0.39
|
Version: 0.58
|
||||||
Release: 2
|
Release: 1%{?dist}
|
||||||
Summary: YAML Ain't Markup Language (tm)
|
Summary: YAML Ain't Markup Language (tm)
|
||||||
|
|
||||||
Group: Development/Libraries
|
|
||||||
License: GPL or Artistic
|
License: GPL or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/YAML/
|
URL: http://search.cpan.org/dist/YAML/
|
||||||
Source0: http://www.cpan.org/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/I/IN/INGY/YAML-%{version}.tar.gz
|
||||||
Patch0: %{name}-testmore054.patch
|
Patch0: %{name}-testmore054.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl >= 1:5.6.1
|
BuildRequires: perl(Test::Base) >= 0.49
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The YAML.pm module implements a YAML Loader and Dumper based on the
|
The YAML.pm module implements a YAML Loader and Dumper based on the
|
||||||
@ -23,33 +21,30 @@ most modern programming languages, including Perl.
|
|||||||
For information on the YAML syntax, please refer to the YAML
|
For information on the YAML syntax, please refer to the YAML
|
||||||
specification.
|
specification.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n YAML-%{version}
|
%setup -q -n YAML-%{version}
|
||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
make pure_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+w $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 \;
|
||||||
|
|
||||||
%check || :
|
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
make test
|
make 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
|
||||||
@ -58,8 +53,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/ysh.1*
|
%{_mandir}/man1/ysh.1*
|
||||||
%{_mandir}/man3/YAML*.3*
|
%{_mandir}/man3/YAML*.3*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 04 2006 Steven Pritchard <steve@kspei.com> 0.58-1
|
||||||
|
- Update to 0.58.
|
||||||
|
- Small spec cleanups.
|
||||||
|
|
||||||
* Thu Apr 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.39-2
|
* Thu Apr 14 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.39-2
|
||||||
- 0.39.
|
- 0.39.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user