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
|
||||
Version: 0.32
|
||||
Release: 1
|
||||
Release: 3
|
||||
Provides: %cpan_name
|
||||
Requires: perl-Number-Compare perl-Text-Glob
|
||||
Group: Development/Libraries/Perl
|
||||
@ -33,33 +33,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl-Number-Compare perl-Text-Glob
|
||||
BuildRequires: perl-macros
|
||||
|
||||
|
||||
%description
|
||||
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 %cpan_name-%{version}
|
||||
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_process_packlist
|
||||
|
||||
|
||||
%clean
|
||||
# clean up the hard disc after build
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/findrule*
|
||||
@ -68,6 +62,4 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{perl_vendorarch}/auto/File
|
||||
%doc Changes MANIFEST README
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user