Projects
Eulaceura:Mainline
perl-Config-INI-Reader-Ordered
_service:obs_scm:perl-Config-INI-Reader-Ordered...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Config-INI-Reader-Ordered.spec of Package perl-Config-INI-Reader-Ordered
Name: perl-Config-INI-Reader-Ordered Version: 0.022 Release: 1 Summary: INI file parser that returns sections in order License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Config-INI-Reader-Ordered Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Config-INI-Reader-Ordered-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.12 BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Config::INI::Reader) BuildRequires: perl(vars) # Tests: # CPAN::Meta and CPAN::Meta::Prereqs not helpful BuildRequires: perl(File::Spec) BuildRequires: perl(Test::More) >= 0.96 Requires: perl-Test-Harness Requires: perl(Test::More) >= 0.96 # Filter under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Test::More\\)$ %description Config::INI::Reader::Ordered is a subclass of Config::INI::Reader which preserves section order. %prep %setup -q -n Config-INI-Reader-Ordered-%{version} # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F" chmod +x "$F" done %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh unset AUTHOR_TESTING cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)" EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check unset AUTHOR_TESTING export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test %files %license LICENSE %doc Changes README %dir %{perl_vendorlib}/Config %dir %{perl_vendorlib}/Config/INI %dir %{perl_vendorlib}/Config/INI/Reader %{perl_vendorlib}/Config/INI/Reader/Ordered.pm %{_mandir}/man3/Config::INI::Reader::Ordered.* %{_libexecdir}/%{name} %changelog * Wed Jul 12 2023 leeffo <liweiganga@uniontech.com> - 0.022-1 - init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2