forked from pool/perl-Module-Refresh
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:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6b30a6ceddc6512ab4490c16372ecf309a259f2ca147d622e478ac54e08511c3
|
||||
size 22586
|
||||
3
Module-Refresh-0.18.tar.gz
Normal file
3
Module-Refresh-0.18.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e094daa909afdf6489a9e2b32733f685a2c1cb5cc8876061075486109b0def59
|
||||
size 23968
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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)
|
||||
# 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
|
||||
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
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Module-Refresh/
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BP/BPS/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
|
||||
BuildRequires: perl(File::Temp) >= 0.19
|
||||
BuildRequires: perl(Path::Class)
|
||||
%{perl_requires}
|
||||
@@ -42,18 +41,18 @@ simple iterative development when working in a persistent environment.
|
||||
It does not require mod_perl.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
# MANUAL BEGIN
|
||||
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%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
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user