Accepting request 74158 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/74158 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Find-Rule?expand=0&rev=3
This commit is contained in:
commit
1125198072
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 17 07:24:19 UTC 2011 - vcizek@novell.com
|
||||||
|
|
||||||
|
- license correction (same as Perl)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 11 13:24:55 UTC 2011 - vcizek@novell.com
|
Tue Jan 11 13:24:55 UTC 2011 - vcizek@novell.com
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ Release: 1
|
|||||||
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
|
||||||
License: Artistic
|
License: GPL-1.0+ or Artistic
|
||||||
Url: http://search.cpan.org/dist/File-Find-Rule/
|
Url: http://search.cpan.org/dist/File-Find-Rule/
|
||||||
Summary: Alternative interface to File::Find
|
Summary: Alternative interface to File::Find
|
||||||
Source: %cpan_name-%{version}.tar.bz2
|
Source: %cpan_name-%{version}.tar.bz2
|
||||||
@ -33,27 +33,33 @@ 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*
|
||||||
@ -62,4 +68,6 @@ 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