perl-Unicode-UTF8: spec update
Signed-off-by: Grooooot <isula@huawei.com>
This commit is contained in:
parent
3f2ccfbde3
commit
1709c9df21
@ -1,36 +1,33 @@
|
||||
%bcond_with perl_Unicode_UTF8_enables_Module_Install_ReadmeFromPod
|
||||
|
||||
Name: perl-Unicode-UTF8
|
||||
Version: 0.62
|
||||
Release: 8
|
||||
Summary: Module to dencode and ecode of UTF-8 encoding
|
||||
License: GPL+ and Artistic
|
||||
URL: https://metacpan.org/release/Unicode-UTF8
|
||||
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHANSEN/Unicode-UTF8-%{version}.tar.gz
|
||||
BuildRequires: coreutils findutils make perl-interpreter perl-devel perl-generators
|
||||
Summary: Encoding and decoding of UTF-8 encoding form
|
||||
Name: perl-Unicode-UTF8
|
||||
Version: 0.62
|
||||
Release: 8
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Unicode-UTF8
|
||||
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHANSEN/Unicode-UTF8-%{version}.tar.gz
|
||||
|
||||
BuildRequires: coreutils findutils gcc make perl-interpreter perl-devel perl-generators
|
||||
BuildRequires: perl(Carp) perl(Exporter) perl(strict) perl(warnings) perl(XSLoader)
|
||||
BuildRequires: perl(Encode) >= 1.9801 perl(IO::File) perl(lib) perl(Scalar::Util)
|
||||
BuildRequires: perl(Test::Builder) perl(Test::More) >= 0.47 perl(Test::Fatal) >= 0.006
|
||||
BuildRequires: perl(Test::Builder) perl(Test::More) >= 0.47
|
||||
%if %{with perl_Unicode_UTF8_enables_Module_Install_ReadmeFromPod}
|
||||
BuildRequires: perl(inc::Module::Install) perl(Module::Install::ReadmeFromPod)
|
||||
%else
|
||||
BuildRequires: perl(base) perl(Config) perl(Cwd) perl(ExtUtils::MakeMaker) perl(Fcntl)
|
||||
BuildRequires: perl(File::Basename) perl(File::Find) perl(File::Path) perl(Pod::Text) perl(vars)
|
||||
%endif
|
||||
BuildRequires: perl(Taint::Runtime) >= 0.03 perl(Test::LeakTrace) >= 0.10
|
||||
BuildRequires: perl(Test::Pod) >= 1.00 perl(Variable::Magic)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Exporter) perl(XSLoader)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Exporter)
|
||||
Requires: perl(XSLoader)
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
The package is a module which provides functions to dencode and ecode UTF-8 encoding
|
||||
The package is a module which provides functions to dencode and ecode UTF-8 encoding.
|
||||
|
||||
%package help
|
||||
Summary: Documention for perl-Unicode-UTF8 package
|
||||
%description help
|
||||
Documention for perl-Unicode-UTF8 package
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n Unicode-UTF8-%{version}
|
||||
@ -40,25 +37,22 @@ rm -rf inc/
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%{perl_vendorarch}/Unicode/
|
||||
%{perl_vendorarch}/auto/Unicode/
|
||||
%exclude %{perl_vendorarch}/auto/Unicode/UTF8/.packlist
|
||||
|
||||
%files help
|
||||
%files help
|
||||
%doc Changes README
|
||||
%{_mandir}/man3/Unicode::UTF8.3*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 2 2019 zhujunhao <zhujunhao5@huawei.com> - 0.62-8
|
||||
* Thu Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.62-8
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user