Projects
home:Eustace:branches:Eulaceura:Factory
perl-File-Find-Rule
_service:obs_scm:perl-File-Find-Rule.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-File-Find-Rule.spec of Package perl-File-Find-Rule
%global _empty_manifest_terminate_build 0 Name: perl-File-Find-Rule Version: 0.34 Release: 3 Summary: Alternative interface to File::Find License: GPL-1.0-or-later or Artistic-1.0 Group: Development/Libraries URL: http://search.cpan.org/dist/File-Find-Rule/ Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/File-Find-Rule-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(Number::Compare) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Glob) >= 0.07 BuildRequires: perl-generators Requires: perl(File::Spec) Requires: perl(Number::Compare) Requires: perl(Test::More) Requires: perl(Text::Glob) >= 0.07 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description File::Find::Rule is a friendlier interface to File::Find. It allows you to build rules which specify the desired files and directories. %package help Summary : Alternative interface to File::Find Provides: perl-File-Find-Rule-doc %description help File::Find::Rule is a friendlier interface to File::Find. It allows you to build rules which specify the desired files and directories. %prep %setup -q -n File-Find-Rule-%{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 findrule META.json %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Mon Jul 18 2022 Chenyx <chenyixiong3@huawei.com> - 0.34-3 - License compliance rectification * Fri Jul 31 2020 shixuantong <shixuantong@huawei.com> - 0.34-2 - Add tar package and Remove %{?dist} in release tag * Thu Jun 11 2020 Perl_Bot <Perl_Bot@openeuler.org> 0.34-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