Projects
Eulaceura:Factory
perl-Modern-Perl
_service:obs_scm:perl-Modern-Perl.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Modern-Perl.spec of Package perl-Modern-Perl
%global _empty_manifest_terminate_build 0 Name: perl-Modern-Perl Version: 1.20241001 Release: 1 Summary: Modern::Perl Perl module License: GPL-1.0-or-later OR Artistic-1.0 Group: Development/Libraries URL: https://metacpan.org/release/Modern-Perl Source0: https://cpan.metacpan.org/authors/id/C/CH/CHROMATIC/Modern-Perl-%{version}.tar.gz BuildArch: noarch BuildRequires: perl >= 5.010 BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(strict) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(strict) Requires: perl(warnings) %description Modern Perl often relies on the presence of several core and CPAN pragmas and modules. Wouldn't it be nice to use them all with a single command? Try this one: %package help Summary: Modern::Perl Perl module Group: Development/Libraries Provides: perl-Modern-Perl-doc %description help Modern Perl often relies on the presence of several core and CPAN pragmas and modules. Wouldn't it be nice to use them all with a single command? Try this one: %prep %setup -q -n Modern-Perl-%{version} %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install export PERL_MM_OPT="" rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* pushd %{buildroot} touch filelist.lst if [ -d usr/bin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ];then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib ];then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi popd mv %{buildroot}/filelist.lst . %check make test %clean rm -rf $RPM_BUILD_ROOT %files -f filelist.lst %defattr(-,root,root,-) %doc Changes dist.ini LICENSE META.json README %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Thu Oct 10 maqi <maqi@uniontech.com> - 1.20241001-1 - Update version to 1.20241001 - fix switch tests after Perl 5.41.4 removal of deprecated feature * Mon Feb 05 woody2918 <wudi1@uniontech.com> - 1.20240115-1 - Update version to 1.20240115 - fix a few nits in tests - update bundle * Tue Jul 13 2021 nightcool1 <2109800605@qq.com> - 1.20200211-1 - Package init
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