8
0

Accepting request 980492 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/980492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Module-Refresh?expand=0&rev=12
This commit is contained in:
2022-06-02 19:54:45 +00:00
committed by Git OBS Bridge
4 changed files with 27 additions and 19 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b30a6ceddc6512ab4490c16372ecf309a259f2ca147d622e478ac54e08511c3
size 22586

View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed May 18 03:09:35 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 0.18
see /usr/share/doc/packages/perl-Module-Refresh/Changes
0.18 Tue May 10 03:33:29 CST 2022
* Fix uninitialized warnings when modules were not successfully loaded
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 3 08:58:39 UTC 2017 - coolo@suse.com Tue Oct 3 08:58:39 UTC 2017 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Module-Refresh # spec file for package perl-Module-Refresh
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,24 +12,23 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-Module-Refresh
Version: 0.17
Release: 0
%define cpan_name Module-Refresh %define cpan_name Module-Refresh
Name: perl-Module-Refresh
Version: 0.18
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Refresh %INC files when updated on disk Summary: Refresh %INC files when updated on disk
License: Artistic-1.0 or GPL-1.0+ URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/B/BP/BPS/%{cpan_name}-%{version}.tar.gz
Url: http://search.cpan.org/dist/Module-Refresh/
Source0: https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
BuildRequires: perl(File::Temp) >= 0.19 BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(Path::Class) BuildRequires: perl(Path::Class)
%{perl_requires} %{perl_requires}
@@ -42,18 +41,18 @@ simple iterative development when working in a persistent environment.
It does not require mod_perl. It does not require mod_perl.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
# MANUAL BEGIN # MANUAL BEGIN
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
# MANUAL END # MANUAL END
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@@ -61,7 +60,6 @@ sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/'
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes %doc Changes
%changelog %changelog