forked from pool/perl-Class-Autouse
		
	Automatic update to v2.20.0 (2.02) #1
| @@ -1,3 +0,0 @@ | |||||||
| version https://git-lfs.github.com/spec/v1 |  | ||||||
| oid sha256:c05b3236c05719d819c20db0fdeb6d0954747e43d7a738294eed7fbcf36ecf1b |  | ||||||
| size 52719 |  | ||||||
							
								
								
									
										
											BIN
										
									
								
								Class-Autouse-2.02.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Class-Autouse-2.02.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -1,3 +1,12 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Thu Aug 21 21:51:01 UTC 2025 - Tina Müller <timueller+perl@suse.de> | ||||||
|  |  | ||||||
|  | - updated to 2.20.0 (2.02) | ||||||
|  |    see /usr/share/doc/packages/perl-Class-Autouse/Changes | ||||||
|  |  | ||||||
|  |   2.02      2025-08-14 18:37:11Z | ||||||
|  |           - distribution tooling updates | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Tue Oct  3 08:11:43 UTC 2017 - coolo@suse.com | Tue Oct  3 08:11:43 UTC 2017 - coolo@suse.com | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| # | # | ||||||
| # spec file for package perl-Class-Autouse | # spec file for package perl-Class-Autouse | ||||||
| # | # | ||||||
| # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. | # Copyright (c) 2025 SUSE LLC and contributors | ||||||
| # | # | ||||||
| # 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,26 +12,30 @@ | |||||||
| # 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-Class-Autouse |  | ||||||
| Version:        2.01 |  | ||||||
| Release:        0 |  | ||||||
| %define cpan_name Class-Autouse | %define cpan_name Class-Autouse | ||||||
|  | Name:           perl-Class-Autouse | ||||||
|  | Version:        2.20.0 | ||||||
|  | Release:        0 | ||||||
|  | # 2.02 -> normalize -> 2.20.0 | ||||||
|  | %define cpan_version 2.02 | ||||||
|  | License:        Artistic-1.0 OR GPL-1.0-or-later | ||||||
| Summary:        Run-time load a class the first time you call a method in it | Summary:        Run-time load a class the first time you call a method in it | ||||||
| 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/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz | ||||||
| Url:            http://search.cpan.org/dist/Class-Autouse/ |  | ||||||
| Source0:        https://cpan.metacpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz |  | ||||||
| Source1:        cpanspec.yml | Source1:        cpanspec.yml | ||||||
| Source100:      README.md | Source100:      README.md | ||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build |  | ||||||
| BuildRequires:  perl | BuildRequires:  perl | ||||||
| BuildRequires:  perl-macros | BuildRequires:  perl-macros | ||||||
| BuildRequires:  perl(File::Temp) >= 0.17 | BuildRequires:  perl(prefork) | ||||||
|  | Requires:       perl(prefork) | ||||||
|  | Provides:       perl(Class::Autouse) = %{version} | ||||||
|  | Provides:       perl(Class::Autouse::Parent) = %{version} | ||||||
|  | %undefine       __perllib_provides | ||||||
| %{perl_requires} | %{perl_requires} | ||||||
|  |  | ||||||
| %description | %description | ||||||
| @@ -49,17 +53,19 @@ class because these hooks can only be done by a one module, and | |||||||
| Class::Autouse serves as a useful place to centralise this kind of evil :) | Class::Autouse serves as a useful place to centralise this kind of evil :) | ||||||
|  |  | ||||||
| %prep | %prep | ||||||
| %setup -q -n %{cpan_name}-%{version} | %autosetup -n %{cpan_name}-%{cpan_version} -p1 | ||||||
|  |  | ||||||
|  | find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -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 Makefile.PL INSTALLDIRS=vendor | ||||||
| %{__make} %{?_smp_mflags} | %make_build | ||||||
|  |  | ||||||
| %check | %check | ||||||
| %{__make} test | make test | ||||||
|  |  | ||||||
| %install | %install | ||||||
| %perl_make_install | %perl_make_install | ||||||
| @@ -67,8 +73,7 @@ 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 CONTRIBUTING README | ||||||
| %doc Changes README |  | ||||||
| %license LICENSE | %license LICENSE | ||||||
|  |  | ||||||
| %changelog | %changelog | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user