Projects
home:Eustace:branches:Eulaceura:Factory
perl-File-Find-Object
_service:obs_scm:perl-File-Find-Object.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-File-Find-Object.spec of Package perl-File-Find-Object
%global _empty_manifest_terminate_build 0 Name: perl-File-Find-Object Version: 0.3.8 Release: 1 Summary: Object oriented File::Find replacement License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/File-Find-Object/ Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/File-Find-Object-%{version}.tar.gz BuildArch: noarch BuildRequires: perl >= 0:5.008 BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(Class::XSAccessor) BuildRequires: perl(Fcntl) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(File::TreeCreate) BuildRequires: perl(integer) BuildRequires: perl(IO::Handle) BuildRequires: perl(IPC::Open3) BuildRequires: perl(lib) BuildRequires: perl(List::Util) BuildRequires: perl(Module::Build) BuildRequires: perl(parent) BuildRequires: perl(strict) BuildRequires: perl(Test::File) >= 1.993 BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(vars) BuildRequires: perl(warnings) Requires: perl(Carp) Requires: perl(Class::XSAccessor) Requires: perl(Fcntl) Requires: perl(File::Spec) Requires: perl(integer) Requires: perl(List::Util) Requires: perl(parent) Requires: perl(strict) Requires: perl(warnings) %description File::Find::Object does the same job as File::Find but works like an object and with an iterator. As File::Find is not object oriented, one cannot perform multiple searches in the same application. The second problem of File::Find is its file processing: after starting its main loop, one cannot easily wait for another event and so get the next result. %package help Summary : Object oriented File::Find replacement Provides: perl-File-Find-Object-doc %description help File::Find::Object does the same job as File::Find but works like an object and with an iterator. As File::Find is not object oriented, one cannot perform multiple searches in the same application. The second problem of File::Find is its file processing: after starting its main loop, one cannot easily wait for another event and so get the next result. %prep %setup -q -n File-Find-Object-%{version} %build export PERL_MM_OPT="" %{__perl} Build.PL --installdirs=vendor ./Build %install export PERL_MM_OPT="" rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 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 || : ./Build test %clean rm -rf $RPM_BUILD_ROOT %files -f filelist.lst %defattr(-,root,root,-) %doc Changes dist.ini examples LICENSE META.json README.md scripts weaver.ini %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Thu Mar 28 2024 Xu Jin <jinxu@kylinos.cn> 0.3.8-1 - Upgrade to version 0.3.8. - Extract File::TreeCreate and bug fix. * Sun May 23 2021 Perl_Bot <Perl_Bot@openeuler.org> 0.3.5-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