Accepting request 295918 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/295918
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Compile?expand=0&rev=4
This commit is contained in:
Stephan Kulow
2015-04-14 05:57:16 +00:00
committed by Git OBS Bridge
parent c54a34d3a3
commit 248783a3bf
4 changed files with 55 additions and 52 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2970f4e493be50a6b9efd594537a943d86e5b9721f6f35ffdbee6aef345b48a1
size 68571

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:224205297e1d85e4c7821e551d94fa76c43f9b89a0c6fbb0b4a741ced5d896cb
size 34716

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 13 18:11:45 UTC 2015 - coolo@suse.com
- updated to 0.35
see /usr/share/doc/packages/perl-Module-Compile/Changes
-------------------------------------------------------------------
Tue Jun 14 23:11:08 UTC 2011 - pascal.bleser@opensuse.org

View File

@@ -1,68 +1,65 @@
# vim: set sw=4 ts=4 et nu:
#
# spec file for package perl-Module-Compile
#
# Copyright (c) 2015 SUSE LINUX 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Module-Compile
Version: 0.23
Version: 0.35
Release: 0
%define cpan_name Module-Compile
Summary: Perl Module Compilation
Source: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Module-Compile-%{version}.tar.gz
URL: http://search.cpan.org/dist/Module-Compile
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%{perl_requires}
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Filter::Util::Call)
BuildRequires: perl(Digest::SHA1)
Requires: perl(Filter::Util::Call)
Requires: perl(Digest::SHA1)
%if 0%{?suse_version} >= 1120
Url: http://search.cpan.org/dist/Module-Compile/
Source: http://www.cpan.org/authors/id/I/IN/INGY/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Digest::SHA1) >= 2.13
Requires: perl(Digest::SHA1) >= 2.13
%{perl_requires}
%description
This module provides a system for writing modules that *compile* other
Perl modules.
This module provides a system for writing modules that _compile_ other Perl
modules.
Modules that use these compilation modules get compiled into some altered
form the first time they are run. The result is cached into ".pmc" files.
Perl has native support for ".pmc" files. It always checks for them,
before loading a ".pm" file.
form the first time they are run. The result is cached into '.pmc' files.
Perl has native support for '.pmc' files. It always checks for them, before
loading a '.pm' file.
%prep
%setup -q -n "Module-Compile-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%setup -q -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?_smp_flags}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc Changes README
%dir %{perl_vendorlib}/Module
%doc %{perl_vendorlib}/Module/Compile.pod
%{perl_vendorlib}/Module/Compile.pm
%doc %{perl_vendorlib}/Module/Optimize.pod
%{perl_vendorlib}/Module/Optimize.pm
%dir %{perl_vendorlib}/Module/Compile
%{perl_vendorlib}/Module/Compile/*.pm
%doc %{perl_vendorlib}/Module/Compile/*.pod
%dir %{perl_vendorlib}/Module/Install
%{perl_vendorlib}/Module/Install/*.pm
%doc %{perl_vendorlib}/Module/Install/*.pod
%dir %{perl_vendorlib}/Module/Install/Admin
%{perl_vendorlib}/Module/Install/Admin/*.pm
%doc %{perl_vendorlib}/Module/Install/Admin/*.pod
%doc %{perl_man3dir}/Module::*.%{perl_man3ext}%{ext_man}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING LICENSE README
%changelog