Compare commits
	
		
			3 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| 0b178dd46d | |||
| 3020ab7daa | |||
| 40bfb76383 | 
| @@ -1,3 +0,0 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:5eef58ccb27ebd01bcde5b14bcc553b5347a0699e5c3e921c7780c3526890328 | ||||
| size 77242 | ||||
							
								
								
									
										3
									
								
								Class-MethodMaker-2.25.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								Class-MethodMaker-2.25.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:70bd3a6595cc40e54a9521eae3247e7d69166e6783ea5faebd59b84537e1b588 | ||||
| size 79452 | ||||
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
|  | ||||
| ## Build Results | ||||
|  | ||||
| Current state of perl in openSUSE:Factory is | ||||
|  | ||||
|  | ||||
|  | ||||
| The current state of perl in the devel project build (devel:languages:perl) | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| @@ -1,3 +1,17 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Mon Jan  6 17:27:41 UTC 2025 - Tina Müller <tina.mueller@suse.com> | ||||
|  | ||||
| - Remove reproducible.patch (fixed upstream) | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Thu Dec 12 16:12:36 UTC 2024 - Tina Müller <timueller+perl@suse.de> | ||||
|  | ||||
| - updated to 2.250.0 (2.25) | ||||
|    see /usr/share/doc/packages/perl-Class-MethodMaker/Changes | ||||
|  | ||||
|   2.25	Nov 15 2024 | ||||
|           - deterministic hash key order, needed for reproducible builds (GH#6, Bernhard M. Wiedemann) | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Mon Mar  4 12:33:59 UTC 2024 - pgajdos@suse.com | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # spec file for package perl-Class-MethodMaker | ||||
| # | ||||
| # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. | ||||
| # Copyright (c) 2025 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,30 @@ | ||||
| # 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-Class-MethodMaker | ||||
| Version:        2.24 | ||||
| Release:        0 | ||||
| %define cpan_name Class-MethodMaker | ||||
| Summary:        Create generic methods for OO Perl | ||||
| License:        Artistic-1.0 or GPL-1.0+ | ||||
| Group:          Development/Libraries/Perl | ||||
| Url:            http://search.cpan.org/dist/Class-MethodMaker/ | ||||
| Source:         http://www.cpan.org/authors/id/S/SC/SCHWIGON/class-methodmaker/%{cpan_name}-%{version}.tar.gz | ||||
| # PATCH-FIX-UPSTREAM https://rt.cpan.org/Public/Bug/Display.html?id=122339 | ||||
| Patch0:         reproducible.patch | ||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build | ||||
| Name:           perl-Class-MethodMaker | ||||
| Version:        2.250.0 | ||||
| Release:        0 | ||||
| # 2.25 -> normalize -> 2.250.0 | ||||
| %define cpan_version 2.25 | ||||
| License:        Artistic-1.0 OR GPL-1.0-or-later | ||||
| Summary:        Module for creating generic methods | ||||
| URL:            https://metacpan.org/release/%{cpan_name} | ||||
| Source0:        https://cpan.metacpan.org/authors/id/S/SC/SCHWIGON/class-methodmaker/%{cpan_name}-%{cpan_version}.tar.gz | ||||
| Source100:      README.md | ||||
| BuildRequires:  perl | ||||
| BuildRequires:  perl-macros | ||||
| Provides:       perl(Class::MethodMaker) = %{version} | ||||
| Provides:       perl(Class::MethodMaker::Constants) | ||||
| Provides:       perl(Class::MethodMaker::Engine) = %{version} | ||||
| Provides:       perl(Class::MethodMaker::OptExt) | ||||
| Provides:       perl(Class::MethodMaker::V1Compat) | ||||
| Provides:       perl(Generate) | ||||
| %undefine       __perllib_provides | ||||
| %{perl_requires} | ||||
|  | ||||
| %description | ||||
| @@ -46,15 +52,16 @@ the 'use' keyword introduces a 'BEGIN' block, so you may need to define (or | ||||
| at least declare) your overriding method in a 'BEGIN' block. | ||||
|  | ||||
| %prep | ||||
| %autosetup -p1 -n %{cpan_name}-%{version} | ||||
| find . -type f -print0 | xargs -0 chmod 644 | ||||
| %autosetup  -n %{cpan_name}-%{cpan_version} | ||||
|  | ||||
| find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 | ||||
|  | ||||
| %build | ||||
| %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" | ||||
| %{__make} %{?_smp_mflags} | ||||
| perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" | ||||
| %make_build | ||||
|  | ||||
| %check | ||||
| %{__make} test | ||||
| make test | ||||
|  | ||||
| %install | ||||
| %perl_make_install | ||||
| @@ -62,7 +69,6 @@ find . -type f -print0 | xargs -0 chmod 644 | ||||
| %perl_gen_filelist | ||||
|  | ||||
| %files -f %{name}.files | ||||
| %defattr(-,root,root,755) | ||||
| %doc Changes examples README TODO | ||||
|  | ||||
| %changelog | ||||
|   | ||||
| @@ -1,19 +0,0 @@ | ||||
| When building packages (e.g. for openSUSE Linux) in disposable VMs | ||||
| cmmg.pl outputs hash value content in undeterministic order | ||||
| This patch fixes this by sorting hash keys | ||||
|  | ||||
| See https://reproducible-builds.org/ for why this matters. | ||||
|  | ||||
| Index: Class-MethodMaker-2.24/lib/Class/MethodMaker/OptExt.pm | ||||
| =================================================================== | ||||
| --- Class-MethodMaker-2.24.orig/lib/Class/MethodMaker/OptExt.pm | ||||
| +++ Class-MethodMaker-2.24/lib/Class/MethodMaker/OptExt.pm | ||||
| @@ -357,7 +357,7 @@ sub encode { | ||||
|   | ||||
|  # ------------------------------------- | ||||
|   | ||||
| -sub option_names { grep $_ ne 'DEFAULT', keys %{OPTEXT()} } | ||||
| +sub option_names { grep $_ ne 'DEFAULT', sort keys %{OPTEXT()} } | ||||
|   | ||||
|  sub optcode { | ||||
|    my $class = shift; | ||||
		Reference in New Issue
	
	Block a user