Projects
home:Eustace:branches:Eulaceura:Factory
perl-File-Find-Object-Rule
_service:obs_scm:perl-File-Find-Object-Rule.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-File-Find-Object-Rule.spec of Package perl-File-Find-Object-Rule
%global _empty_manifest_terminate_build 0 Name: perl-File-Find-Object-Rule Version: 0.0312 Release: 1 Summary: Alternative interface to File::Find::Object License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-Find-Object-Rule/ Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/File-Find-Object-Rule-%{version}.tar.gz BuildArch: noarch BuildRequires: perl >= 0:5.008 BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(Class::XSAccessor) BuildRequires: perl(Cwd) BuildRequires: perl(File::Find::Object) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(Module::Build) BuildRequires: perl(Number::Compare) BuildRequires: perl(strict) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Text::Glob) BuildRequires: perl(warnings) Requires: perl(Carp) Requires: perl(Class::XSAccessor) Requires: perl(Cwd) Requires: perl(File::Find::Object) Requires: perl(File::Spec) Requires: perl(File::Spec::Functions) Requires: perl(Number::Compare) Requires: perl(strict) Requires: perl(Text::Glob) Requires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description File::Find::Object::Rule is a friendlier interface to File::Find::Object . It allows you to build rules which specify the desired files and directories. %package help Summary : Alternative interface to File::Find::Object Provides: perl-File-Find-Object-Rule-doc %description help File::Find::Object::Rule is a friendlier interface to File::Find::Object . It allows you to build rules which specify the desired files and directories. %prep %setup -q -n File-Find-Object-Rule-%{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 Changes.F-F-R dist.ini LICENSE META.json README scripts weaver.ini %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Thu Sep 30 2021 wangqing <wangqing@uniontech.com> - - 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