Autobuild autoformatter for 74158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Find-Rule?expand=0&rev=4
This commit is contained in:
parent
1125198072
commit
bfb069dfc9
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
Name: perl-%cpan_name
|
Name: perl-%cpan_name
|
||||||
Version: 0.32
|
Version: 0.32
|
||||||
Release: 1
|
Release: 3
|
||||||
Provides: %cpan_name
|
Provides: %cpan_name
|
||||||
Requires: perl-Number-Compare perl-Text-Glob
|
Requires: perl-Number-Compare perl-Text-Glob
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
@ -33,33 +33,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: perl-Number-Compare perl-Text-Glob
|
BuildRequires: perl-Number-Compare perl-Text-Glob
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
File::Find::Rule is a friendlier interface to File::Find. It allows you to build rules which specify the desired files and directories.
|
File::Find::Rule is a friendlier interface to File::Find. It allows you to build rules which specify the desired files and directories.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %cpan_name-%{version}
|
%setup -q -n %cpan_name-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
# clean up the hard disc after build
|
# clean up the hard disc after build
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/findrule*
|
%{_bindir}/findrule*
|
||||||
@ -68,6 +62,4 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{perl_vendorarch}/auto/File
|
%{perl_vendorarch}/auto/File
|
||||||
%doc Changes MANIFEST README
|
%doc Changes MANIFEST README
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user