File perl-Set-Object.spec of Package perl-Set-Object

#
# spec file for package perl-Set-Object (Version 1.27)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           perl-Set-Object
Version:        1.27
Release:        1
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License
Url:            http://cpan.org/modules/by-module/Set
Summary:        Set of objects
Source0:        Set-Object-%{version}.tar.bz2
Patch:          %{name}-%{version}-return_value.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This module implements a Set of objects, that is, a collection of
objects without duplications. It is similar to a Smalltalk IdentitySet.



Authors:
--------
    Jean-Louis Leroy <jll@skynet.be>

%prep
%setup -q -n Set-Object-%{version}
%patch

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc Changes.pod README
%doc %{_mandir}/man?/*
%{perl_vendorarch}/Set
%{perl_vendorarch}/auto/Set
/var/adm/perl-modules/%{name}

%changelog
* Tue Jan 20 2009 anicka@suse.cz
- update to 1.27
  * Fix a typo that affected building against Perls with
  debugging enabled.
  * Methods which destroyed C<$@> due to internal use of
  C<eval> now properly call C<local($@)>
  * Define behaviour when dealing with return values from
  operations on weak sets. No longer hard-coded "Set::Object"
   - may affect Set::Object sub-classes (Sam).
  * more bugfixes
* Fri Jul 25 2008 anicka@suse.cz
- update to 1.25
  * Portability: support Perls before 5.7.3, and make this dependency
  explicit in the F<Makefile.PL>
  * Remove threads test which had inadvertantly slipped into the
  MANIFEST from source control, and add comprehensive documentation
  on the state of thread support in this module.
  * Make behaviour when dealing with items which were C<undef> defined.
* Mon Oct 08 2007 anicka@suse.cz
- update to 1.22
  * Sub-classing interface added; it is now much easier to make
  L<Set::Object> subclasses that return objects other than more
  L<Set::Object>s when subclassing.
* Mon Feb 19 2007 anicka@suse.cz
- update to 1.21
- remove last patch (fixed in upstream, the only change in this
  release)
* Fri Feb 16 2007 anicka@suse.cz
- update to 1.20
  * The C<-E<gt>compare> function was returning "disjoint" for empty
  sets.
  * Document lots of methods that were previously not documented.
  * Fix C<Set::Object::Weak::set()>.  It was not passing its
  arguments to C<Set::Object::Weak-E<gt>new()>, which was very
  broken.
- fix misc/pod_coverage.t
* Thu Jan 25 2007 anicka@suse.cz
- update to 1.19
  * New class C<Set::Object::Weak>, which all weak sets should get
  re-blessed into when you call C<-E<gt>weaken>.  Also added
  alternative methods of constructing weak sets.
  * Fix a memory leak with scalar members (the internal hash used
  to store the items was never being freed).
* Tue Sep 19 2006 anicka@suse.cz
- update to 1.18
  * Add note to man page on compatibility of C<Storable>
  serializations of C<Set::Object>s between revisions.
  * fix build for non-gcc compilers
* Thu Sep 14 2006 anicka@suse.cz
- update to 1.17
  * fix compile problem affecting some platforms
* Tue Jul 18 2006 anicka@suse.cz
- update to 1.16
  * weak reference support
- fix random return value
* Tue Jul 11 2006 anicka@suse.cz
- update to 1.15
- minor release
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 04 2006 anicka@suse.cz
- update to 1.14
* Mon Aug 01 2005 mjancar@suse.cz
- update to 1.11
* Thu Aug 19 2004 mjancar@suse.cz
- update to 1.06
* Thu Feb 26 2004 mjancar@suse.cz
- update to 1.05
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Thu Jul 24 2003 mjancar@suse.cz
- update to 1.03a
* Tue Jul 15 2003 mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Wed Jun 18 2003 coolo@suse.de
- package directories
* Thu May 22 2003 mjancar@suse.cz
- use $RPM_OPT_FLAGS
- fix filelist
* Tue May 20 2003 mjancar@suse.cz
- remove unpackaged files
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Thu Aug 02 2001 rvasice@suse.cz
- initial package release (version 1.02)
openSUSE Build Service is sponsored by