ALT Linux repositórios
Group :: Desenvolvimento/Perl
RPM: perl-XML-LibXSLT
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
# BEGIN SourceDeps(oneline):
BuildRequires: perl(autodie.pm)
# END SourceDeps(oneline)
%define dist XML-LibXSLT
Name: perl-%dist
Version: 2.002000
Release: alt1
Summary: Perl interface to the Gnome libxslt library
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{dist}-%{version}.tar.gz
# Automatically added by buildreq on Wed Sep 26 2012
BuildRequires: libxslt-devel perl-XML-LibXML perl-devel zlib-devel
%description
This module is a fast XSLT library, based on the Gnome libxslt engine.
The libxslt processor is fast, highly standards compliant, with
practically all of XSLT 1.0 being supported in version 0.9 of libxslt.
%prep
%setup -q -n %{dist}-%{version}
# disable dependency on perl libs like gdbm
sed -i- '/Config{libs}/d' Makefile.PL
%ifarch %ix86 armh
[ %version = 1.99 ] && rm t/10functions.t
%endif
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README example
%perl_vendor_archlib/XML
%perl_vendor_autolib/XML
%changelog
…
Todas as alterações você pod ver aqui
# BEGIN SourceDeps(oneline):
BuildRequires: perl(autodie.pm)
# END SourceDeps(oneline)
%define dist XML-LibXSLT
Name: perl-%dist
Version: 2.002000
Release: alt1
Summary: Perl interface to the Gnome libxslt library
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{dist}-%{version}.tar.gz
# Automatically added by buildreq on Wed Sep 26 2012
BuildRequires: libxslt-devel perl-XML-LibXML perl-devel zlib-devel
%description
This module is a fast XSLT library, based on the Gnome libxslt engine.
The libxslt processor is fast, highly standards compliant, with
practically all of XSLT 1.0 being supported in version 0.9 of libxslt.
%prep
%setup -q -n %{dist}-%{version}
# disable dependency on perl libs like gdbm
sed -i- '/Config{libs}/d' Makefile.PL
%ifarch %ix86 armh
[ %version = 1.99 ] && rm t/10functions.t
%endif
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README example
%perl_vendor_archlib/XML
%perl_vendor_autolib/XML
%changelog
…
Todas as alterações você pod ver aqui