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
|
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
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
Version: 0.06
|
#
|
||||||
Release: 1
|
|
||||||
Provides: %cpan_name
|
Name: perl-Module-Find
|
||||||
Group: Development/Libraries/Perl
|
Version: 0.10
|
||||||
License: Artistic
|
Release: 0
|
||||||
URL: http://search.cpan.org/dist/Module-Find/
|
%define cpan_name Module-Find
|
||||||
Summary: Find and use installed modules in a (sub)category
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
BuildRequires: perl
|
||||||
BuildRequires: perl-Test-Pod perl-Test-Pod-Coverage
|
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Module::Find lets you find and use modules in categories. This can be very
|
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.
|
between looking in the category itself or in all subcategories.
|
||||||
|
|
||||||
If you want Module::Find to search in a certain directory on your harddisk
|
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
|
(such as the plugins directory of your software installation), make sure
|
||||||
modify @INC before you call the Module::Find functions.
|
you modify '@INC' before you call the Module::Find functions.
|
||||||
|
|
||||||
%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 INSTALLDIRS=vendor
|
||||||
make
|
%{__make} %{?_smp_mflags}
|
||||||
make test
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
# clean up the hard disc after build
|
%defattr(-,root,root,755)
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%doc Changes examples MANIFEST.skip README
|
||||||
|
|
||||||
%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
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user