forked from pool/perl-Set-Object
		
	- updated to 1.42
   see /usr/share/doc/packages/perl-Set-Object/Changes.pod
  =head1 1.42, 2022-01-21
  =over
  =item *
  Fix C<%h={}> warning, by Pauwel Coppieters
  =item *
  add F<examples/slow-sort.pl>. see RT #90070
  =back
OBS-URL: https://build.opensuse.org/request/show/949205
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Set-Object?expand=0&rev=35
		
	
		
			
				
	
	
		
			67 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
#
 | 
						|
# spec file for package perl-Set-Object
 | 
						|
#
 | 
						|
# 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
 | 
						|
# 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 https://bugs.opensuse.org/
 | 
						|
#
 | 
						|
 | 
						|
 | 
						|
%define cpan_name Set-Object
 | 
						|
Name:           perl-Set-Object
 | 
						|
Version:        1.42
 | 
						|
Release:        0
 | 
						|
Summary:        Set of objects and strings
 | 
						|
License:        Artistic-2.0
 | 
						|
URL:            https://metacpan.org/release/%{cpan_name}
 | 
						|
Source0:        https://cpan.metacpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz
 | 
						|
Source1:        cpanspec.yml
 | 
						|
BuildRequires:  perl
 | 
						|
BuildRequires:  perl-macros
 | 
						|
%{perl_requires}
 | 
						|
 | 
						|
%description
 | 
						|
This modules implements a set of objects, that is, an unordered collection
 | 
						|
of objects without duplication.
 | 
						|
 | 
						|
The term _objects_ is applied loosely - for the sake of Set::Object,
 | 
						|
anything that is a reference is considered an object.
 | 
						|
 | 
						|
Set::Object 1.09 and later includes support for inserting scalars
 | 
						|
(including the empty string, but excluding 'undef') as well as objects.
 | 
						|
This can be thought of as (and is currently implemented as) a degenerate
 | 
						|
hash that only has keys and no values. Unlike objects placed into a
 | 
						|
Set::Object, scalars that are inserted will be flattened into strings, so
 | 
						|
will lose any magic (eg, tie) or other special bits that they went in with;
 | 
						|
only strings come out.
 | 
						|
 | 
						|
%prep
 | 
						|
%autosetup  -n %{cpan_name}-%{version}
 | 
						|
 | 
						|
%build
 | 
						|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 | 
						|
%make_build
 | 
						|
 | 
						|
%check
 | 
						|
make test
 | 
						|
 | 
						|
%install
 | 
						|
%perl_make_install
 | 
						|
%perl_process_packlist
 | 
						|
%perl_gen_filelist
 | 
						|
 | 
						|
%files -f %{name}.files
 | 
						|
%doc examples README
 | 
						|
%license LICENSE
 | 
						|
 | 
						|
%changelog
 |