Projects
Eulaceura:Factory
perl-Version-Next
_service:obs_scm:perl-Version-Next.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Version-Next.spec of Package perl-Version-Next
%global _empty_manifest_terminate_build 0 Name: perl-Version-Next Version: 1.000 Release: 2 Summary: Increment module version numbers simply and correctly License: Apache-2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/Version-Next/ Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Version-Next-%{version}.tar.gz BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(strict) BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Test::Exception) >= 0.29 BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(version) >= 0.81 BuildRequires: perl(warnings) Requires: perl(Carp) Requires: perl(strict) Requires: perl(Sub::Exporter) Requires: perl(version) >= 0.81 Requires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides a simple, correct way to increment a Perl module version number. It does not attempt to guess what the original version number author intended, it simply increments in the smallest possible fashion. Decimals are incremented like an odometer. Dotted decimals are incremented piecewise and presented in a standardized way. %package help Summary : Increment module version numbers simply and correctly Provides: perl-Version-Next-doc %description help This module provides a simple, correct way to increment a Perl module version number. It does not attempt to guess what the original version number author intended, it simply increments in the smallest possible fashion. Decimals are incremented like an odometer. Dotted decimals are incremented piecewise and presented in a standardized way. %prep %setup -q -n Version-Next-%{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 CONTRIBUTING.mkdn cpanfile dist.ini LICENSE META.json perlcritic.rc README tidyall.ini %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Tue May 10 2022 houyingchao <houyingchao@h-partners.com> - 1.000-2 - License compliance rectification * Sat Jun 05 2021 Perl_Bot <Perl_Bot@openeuler.org> 1.000-1 - Specfile autogenerated by Perl_Bot
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