2007-01-15 23:30:06 +00:00
|
|
|
#
|
2007-08-05 15:36:29 +00:00
|
|
|
# spec file for package perl-Config-General (Version 2.33)
|
2007-01-15 23:30:06 +00:00
|
|
|
#
|
2009-06-17 22:14:16 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:06 +00:00
|
|
|
#
|
2009-06-17 22:14:16 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-08-05 15:36:29 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:30:06 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-17 22:14:16 +00:00
|
|
|
|
2007-08-05 15:36:29 +00:00
|
|
|
Name: perl-Config-General
|
2007-01-15 23:30:06 +00:00
|
|
|
%define module_name Config-General
|
2007-08-05 15:36:29 +00:00
|
|
|
Summary: Generic Config Module
|
|
|
|
Version: 2.33
|
2009-06-17 22:14:16 +00:00
|
|
|
Release: 74
|
2007-08-05 15:36:29 +00:00
|
|
|
Requires: perl = %{perl_version}
|
2009-06-17 22:14:16 +00:00
|
|
|
AutoReqProv: on
|
|
|
|
License: Artistic License; GPL v2 or later
|
2007-08-05 15:36:29 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Source0: %{module_name}-%{version}.tar.bz2
|
2007-01-15 23:30:06 +00:00
|
|
|
#Patch: Config-General-%{version}.dif
|
2009-06-17 22:14:16 +00:00
|
|
|
Url: http://search.cpan.org/~tlinden/
|
2007-08-05 15:36:29 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:30:06 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Generic Config Module
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Thomas Linden <tom@daemon.de>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{module_name}-%{version}
|
|
|
|
#%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
|
|
|
make
|
2007-08-05 15:36:29 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:30:06 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
2007-08-05 15:36:29 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:30:06 +00:00
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorarch}/auto/Config
|
|
|
|
%{perl_vendorlib}/Config
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2007-08-05 15:36:29 +00:00
|
|
|
%changelog
|
2009-06-17 22:14:16 +00:00
|
|
|
* Sun Aug 05 2007 mrueckert@suse.de
|
2007-08-05 15:36:29 +00:00
|
|
|
- update to 2.33
|
|
|
|
- fixed rt.cpan.org#26333 - just return $con if env var is
|
|
|
|
undefined.
|
|
|
|
- applied part of a patch supplied by
|
|
|
|
Vincent Rivellino <vince@cuz.cx> which turns off explicit empty
|
|
|
|
block support if in apache compatibility mode, see next.
|
|
|
|
- added new option -ApacheCompatible, which makes the module
|
|
|
|
behave really apache compatible by setting the required
|
|
|
|
options.
|
|
|
|
- a little bit re-organized the code, most of the stuff in new()
|
|
|
|
is now outsourced into several extra subs to make maintenance
|
|
|
|
of the code easier. The old new() sub in fact was a nightmare.
|
|
|
|
- fixed a bug reported by Otto Hirr <otto.hirr@olabinc.com>:
|
|
|
|
the _store() sub used sort() to sort the keys, which conflicts
|
|
|
|
with sorted hashes (eg. tied using Tie::IxHash).
|
|
|
|
- fixed tie bug reported by King, Jason <kingj@newsltd.com.au>,
|
|
|
|
loading of the tie module didn't work.
|
|
|
|
- additional changes from 2.32
|
|
|
|
- fixed rt.cpan.org#24232 - import ENV vars only if defined
|
|
|
|
- fixed rt.cpan.org#20742 - dont' overwrite a var if re-defined
|
|
|
|
in current scope, interpolation failed for re-defined vars and
|
|
|
|
used the value of the var defined in outer scope, not the
|
|
|
|
current one.
|
|
|
|
- fixed rt.cpan.org#17852 - a 0 as blockname were ignored.
|
|
|
|
applied patch by SCOP to t/run.t to test for 0 in blocks.
|
|
|
|
- applied most hints Perl::Critic had about Config::General:
|
|
|
|
o the functions ParseConfig SaveConfig SaveConfigString must
|
|
|
|
now imported implicitly. This might break existing code, but
|
|
|
|
is easily to fix.
|
|
|
|
o using IO::File instead of open().
|
|
|
|
o General.pm qualifies for "stern" level after all.
|
|
|
|
- added much more tests to t/run.t for 'make test'.
|
|
|
|
- using Test::More now.
|
2009-06-17 22:14:16 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-17 22:14:16 +00:00
|
|
|
* Mon Jan 16 2006 mrueckert@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- update to version 2.31
|
2009-06-17 22:14:16 +00:00
|
|
|
* Fri Jul 29 2005 cthiel@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- update to version 2.29
|
2009-06-17 22:14:16 +00:00
|
|
|
* Sun Jan 18 2004 nashif@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- update to version 2.24
|
2009-06-17 22:14:16 +00:00
|
|
|
* Sun Jan 11 2004 adrian@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- build as user
|
2009-06-17 22:14:16 +00:00
|
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
2007-01-15 23:30:06 +00:00
|
|
|
- require the perl version we build with
|
2009-06-17 22:14:16 +00:00
|
|
|
* Fri Jul 18 2003 nashif@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- use DESTDIR
|
|
|
|
- Fixed filelist
|
2009-06-17 22:14:16 +00:00
|
|
|
* Tue Jul 01 2003 ro@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- use new macro perl_process_packlist
|
2009-06-17 22:14:16 +00:00
|
|
|
* Fri Jun 13 2003 nashif@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- Update to 2.19
|
|
|
|
- Fixed file list
|
2009-06-17 22:14:16 +00:00
|
|
|
* Mon Jul 08 2002 nashif@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- Update to version 2.04
|
2009-06-17 22:14:16 +00:00
|
|
|
* Mon Apr 09 2001 nashif@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- Removed %%version macro
|
2009-06-17 22:14:16 +00:00
|
|
|
* Thu Mar 08 2001 nashif@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- fixed %%files in spec
|
2009-06-17 22:14:16 +00:00
|
|
|
* Fri Feb 23 2001 nashif@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- removed buildroot from pod file
|
2009-06-17 22:14:16 +00:00
|
|
|
* Fri Feb 16 2001 nashif@suse.de
|
2007-01-15 23:30:06 +00:00
|
|
|
- Initial Release (1.18)
|