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
|
||||
|
||||
|
@ -24,7 +24,7 @@ Release: 1
|
||||
Provides: %cpan_name
|
||||
Requires: perl-Number-Compare perl-Text-Glob
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic
|
||||
License: GPL-1.0+ or Artistic
|
||||
Url: http://search.cpan.org/dist/File-Find-Rule/
|
||||
Summary: Alternative interface to File::Find
|
||||
Source: %cpan_name-%{version}.tar.bz2
|
||||
@ -33,27 +33,33 @@ 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*
|
||||
@ -62,4 +68,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{perl_vendorarch}/auto/File
|
||||
%doc Changes MANIFEST README
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user