forked from pool/perl-Module-Find
- update to 0.10
Fixed RT#38302: Module::Find now follows symlinks by default (can be disabled). Fixed RT#49511: Removed Mac OS X extended attributes from distribution Fixed RT#38302: Fixed META.yml generation (thanks very much to cpanservice for the help). Fixed RT#55010: Removed Unicode BOM from Find.pm. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Find?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
2fe6e54acd
commit
62a3ed5cc5
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:370a0f2c6b6366eccc71b44993def70516d893a97186402f64f50b9bc194248d
|
||||
size 4373
|
||||
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 11 12:41:44 UTC 2012 - coolo@suse.com
|
||||
|
||||
- update to 0.10
|
||||
Fixed RT#38302: Module::Find now follows symlinks by default (can be disabled).
|
||||
Fixed RT#49511: Removed Mac OS X extended attributes from distribution
|
||||
Fixed RT#38302: Fixed META.yml generation (thanks very much to cpanservice for the help).
|
||||
Fixed RT#55010: Removed Unicode BOM from Find.pm.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 09:44:34 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
||||
@@ -1,18 +1,34 @@
|
||||
%define cpan_name Module-Find
|
||||
#
|
||||
# spec file for package perl-Module-Find
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
Name: perl-%cpan_name
|
||||
Version: 0.06
|
||||
Release: 1
|
||||
Provides: %cpan_name
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic
|
||||
URL: http://search.cpan.org/dist/Module-Find/
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: perl-Module-Find
|
||||
Version: 0.10
|
||||
Release: 0
|
||||
%define cpan_name Module-Find
|
||||
Summary: Find and use installed modules in a (sub)category
|
||||
Source: %cpan_name-%{version}.tar.gz
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Module-Find/
|
||||
Source: http://www.cpan.org/authors/id/C/CR/CRENZ/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl-Test-Pod perl-Test-Pod-Coverage
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Module::Find lets you find and use modules in categories. This can be very
|
||||
@@ -20,33 +36,26 @@ useful for auto-detecting driver or plugin modules. You can differentiate
|
||||
between looking in the category itself or in all subcategories.
|
||||
|
||||
If you want Module::Find to search in a certain directory on your harddisk
|
||||
(such as the plugins directory of your software installation), make sure you
|
||||
modify @INC before you call the Module::Find functions.
|
||||
(such as the plugins directory of your software installation), make sure
|
||||
you modify '@INC' before you call the Module::Find functions.
|
||||
|
||||
%prep
|
||||
%setup -q -n %cpan_name-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
make test
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
# clean up the hard disc after build
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Module
|
||||
%{perl_vendorarch}/auto/Module
|
||||
%doc Changes MANIFEST README
|
||||
|
||||
%changelog -n %{name}
|
||||
* Sun Oct 26 2008 - gerrit.beine@gmx.de
|
||||
- first release 0.06
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples MANIFEST.skip README
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user