Projects
Eulaceura:Factory
perl-Business-CreditCard
_service:obs_scm:perl-Business-CreditCard.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Business-CreditCard.spec of Package perl-Business-CreditCard
%global _empty_manifest_terminate_build 0 Name: perl-Business-CreditCard Version: 0.39 Release: 1 Summary: Validate/generate credit card checksums/names License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Business-CreditCard/ Source0: http://www.cpan.org/authors/id/I/IV/IVAN/Business-CreditCard-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description These subroutines tell you whether a credit card number is self-consistent -- whether the last digit of the number is a valid checksum for the preceding digits. %package help Summary : Validate/generate credit card checksums/names Provides: perl-Business-CreditCard-doc %description help These subroutines tell you whether a credit card number is self-consistent -- whether the last digit of the number is a valid checksum for the preceding digits. %prep %setup -q -n Business-CreditCard-%{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 BINS Changes META.json README %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Fri Jul 07 2023 leeffo <liweiganga@uniontech.com> - 0.39-1 - upgrade to version 0.39 * Tue Jun 29 2021 Perl_Bot <Perl_Bot@openeuler.org> 0.36-1 - Specfile autogenerated by Perl_Bot and remove Requires perl(Test::More)
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