%define _unpackaged_files_terminate_build 1 Group: Development/Other # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl BuildRequires: perl(App/pod2pdf.pm) perl(CPAN.pm) perl(JSON.pm) perl(LWP/Simple.pm) perl(Module/Build.pm) perl(Net/FTP.pm) perl(Parse/CPAN/Meta.pm) perl(YAML/Tiny.pm) perl-podlators # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: perl-Test-utf8 Version: 1.02 Release: alt1 Summary: Handy utf8 tests License: GPL+ or Artistic URL: https://metacpan.org/release/Test-utf8 Source0: http://www.cpan.org/authors/id/M/MA/MARKF/Test-utf8-%{version}.tar.gz # Do not require author's dependencies Patch0: Test-utf8-1.01-Drop-useless-build-time-dependencies.patch # Until the POD has changed, there is no point in regenerating README. This # saves from a dependency on Module::Install::ReadmeFromPod. Patch1: Test-utf8-1.01-Do-no-regenerate-README.patch BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: perl-devel BuildRequires: rpm-build-perl BuildRequires: perl(inc/Module/Install.pm) BuildRequires: perl(Module/Install/Metadata.pm) BuildRequires: perl(Module/Install/WriteAll.pm) BuildRequires: sed # Module Runtime BuildRequires: perl(base.pm) BuildRequires: perl(charnames.pm) BuildRequires: perl(Encode.pm) BuildRequires: perl(Exporter.pm) BuildRequires: perl(strict.pm) BuildRequires: perl(Test/Builder.pm) BuildRequires: perl(warnings.pm) # Test Suite BuildRequires: perl(Test/Builder/Tester.pm) BuildRequires: perl(Test/More.pm) # Runtime Source44: import.info %description This module is a collection of tests that's useful when dealing with utf8 strings in Perl. %prep %setup -q -n Test-utf8-%{version} %patch0 -p1 %patch1 -p1 # Remove bundled modules rm -rf ./inc/* sed -i -e '/^inc\//d' MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 %make_build %install make pure_install DESTDIR=%{buildroot} # %{_fixperms} %{buildroot} %check make test %files %doc CHANGES README %{perl_vendor_privlib}/Test/ %changelog * Tue Mar 03 2020 Igor Vlasenko 1.02-alt1 - automated CPAN update * Wed Nov 20 2019 Igor Vlasenko 1.01-alt1_16 - update to new release by fcimport * Sat Jul 14 2018 Igor Vlasenko 1.01-alt1_12 - update to new release by fcimport * Mon May 07 2018 Igor Vlasenko 1.01-alt1_11 - update to new release by fcimport * Mon Oct 02 2017 Igor Vlasenko 1.01-alt1_9 - update to new release by fcimport * Thu Aug 03 2017 Igor Vlasenko 1.01-alt1_8 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko 1.01-alt1_6 - update to new release by fcimport * Mon Dec 19 2016 Igor Vlasenko 1.01-alt1_5 - update to new release by fcimport * Mon Mar 07 2016 Igor Vlasenko 1.01-alt1_4 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko 1.01-alt1_3 - update to new release by fcimport * Mon Oct 27 2014 Igor Vlasenko 1.01-alt1_1 - update to new release by fcimport * Tue Jan 14 2014 Igor Vlasenko 1.01-alt1 - automated CPAN update * Mon Aug 12 2013 Igor Vlasenko 1.00-alt3_6 - update to new release by fcimport * Mon Aug 05 2013 Igor Vlasenko 1.00-alt3_5 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko 1.00-alt3_4 - update to new release by fcimport * Mon Dec 10 2012 Igor Vlasenko 1.00-alt3_3 - moved to Sisyphus * Tue Jul 31 2012 Igor Vlasenko 1.00-alt2_3 - update to new release by fcimport * Fri May 25 2012 Igor Vlasenko 1.00-alt2_1 - fc import * Thu May 24 2012 Igor Vlasenko 1.00-alt1_1 - fc import