package init

This commit is contained in:
weidong 2020-08-10 14:53:41 +08:00
parent 283f6468d3
commit 010499da45
2 changed files with 50 additions and 0 deletions

BIN
Any-URI-Escape-0.01.tar.gz Normal file

Binary file not shown.

50
perl-Any-URI-Escape.spec Normal file
View File

@ -0,0 +1,50 @@
Name: perl-Any-URI-Escape
Version: 0.01
Release: 19
Summary: Load URI::Escape::XS preferentially over URI::Escape
License: GPL+ or Artistic
URL: https://metacpan.org/release/Any-URI-Escape
Source0: Any-URI-Escape-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-generators
BuildRequires: perl(base)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(URI::Escape)
Requires: perl(URI::Escape)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
URI::Escape is great, but URI::Escape::XS is faster. This module loads
URI::Escape::XS and imports the two most common methods if XS is installed.
%prep
%setup -q -n Any-URI-Escape-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/Any*
%{_mandir}/man3/*
%changelog
* Fri Aug 7 2020 weidong <weidong@uniontech.com> - 0.01-19
- Initial release for OpenEuler