.gear-rules | 2 + .../89256552e421ee9ae8e0f54b77e147861ebdd0cd | 13 +++ .../dd21d6f138e89a174dc19ba840ca7d8740057773 | 13 +++ .gear-tags/list | 2 + lib/AppConfig/File.pm | 1 + perl-AppConfig.spec | 78 ++++++++++++++++++++ 6 files changed, 109 insertions(+), 0 deletions(-) diff --git a/.gear-rules b/.gear-rules new file mode 100644 index 0000000..63787fa --- /dev/null +++ b/.gear-rules @@ -0,0 +1,2 @@ +tar: @version@:. name=AppConfig-@version@ +diff: @version@:. . name=perl-AppConfig-@version@-@release@.patch diff --git a/.gear-tags/89256552e421ee9ae8e0f54b77e147861ebdd0cd b/.gear-tags/89256552e421ee9ae8e0f54b77e147861ebdd0cd new file mode 100644 index 0000000..265f728 --- /dev/null +++ b/.gear-tags/89256552e421ee9ae8e0f54b77e147861ebdd0cd @@ -0,0 +1,13 @@ +object f4467eb042ff45d4eadb0d7ee7bbe043f513157f +type commit +tag 1.64 +tagger Alexey Tourbin 1170332466 +0300 + +1.64 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQBFwds0fBKgtDjnu0YRAqhBAKCRAkUKMnN2znLV+4Jl5I/I7EA3nwCfRc3z +a0xFy4m0/Oh8ZilEp2+u4y8= +=hDNr +-----END PGP SIGNATURE----- diff --git a/.gear-tags/dd21d6f138e89a174dc19ba840ca7d8740057773 b/.gear-tags/dd21d6f138e89a174dc19ba840ca7d8740057773 new file mode 100644 index 0000000..c7fce16 --- /dev/null +++ b/.gear-tags/dd21d6f138e89a174dc19ba840ca7d8740057773 @@ -0,0 +1,13 @@ +object 5ccbd8ba565fc8dc8494a1e2f00fba2ec52e5191 +type commit +tag 1.66 +tagger Alexey Tourbin 1184775388 +0400 + +1.66 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQBGnjzcfBKgtDjnu0YRAqtoAKDpAo9oEZeY/Q51nmu5AxWuKSU76wCg2EQ9 +/5O19QxuGsxe6HG6YbVzUmY= +=11KD +-----END PGP SIGNATURE----- diff --git a/.gear-tags/list b/.gear-tags/list new file mode 100644 index 0000000..ca91c39 --- /dev/null +++ b/.gear-tags/list @@ -0,0 +1,2 @@ +dd21d6f138e89a174dc19ba840ca7d8740057773 1.66 +89256552e421ee9ae8e0f54b77e147861ebdd0cd 1.64 diff --git a/lib/AppConfig/File.pm b/lib/AppConfig/File.pm index 7ef29ce..0ffcd9f 100644 --- a/lib/AppConfig/File.pm +++ b/lib/AppConfig/File.pm @@ -140,6 +140,7 @@ sub parse { # initialise $prefix to nothing (no [block]) $prefix = ''; + local $_; while (<$handle>) { chomp; diff --git a/perl-AppConfig.spec b/perl-AppConfig.spec new file mode 100644 index 0000000..b258d5c --- /dev/null +++ b/perl-AppConfig.spec @@ -0,0 +1,78 @@ +%define dist AppConfig +Name: perl-%dist +Version: 1.66 +Release: alt1 + +Summary: Perl5 modules for reading configuration +License: GPL or Artistic +Group: Development/Perl + +URL: %CPAN %dist +Source: %dist-%version.tar +Patch: %name-%version-%release.patch + +BuildArch: noarch + +# Automatically added by buildreq on Wed Jul 18 2007 +BuildRequires: perl-devel + +%description +AppConfig is a bundle of Perl5 modules for reading configuration files +and parsing command line arguments. + +%prep +%setup -q -n %dist-%version +%patch -p1 + +%build +%perl_vendor_build + +%install +%perl_vendor_install + +%files +%doc Changes README +%perl_vendor_privlib/AppConfig.pm +%dir %perl_vendor_privlib/AppConfig +%perl_vendor_privlib/AppConfig/*.pm + +%changelog +* Wed Jul 18 2007 Alexey Tourbin 1.66-alt1 +- 1.64 -> 1.66 (File::HomeDir dependency removed) +- changed src.rpm packaging to keep pristine tarball + +* Sun Feb 25 2007 Alexey Tourbin 1.64-alt1 +- 1.63 -> 1.64 + +* Mon Oct 23 2006 Alexey Tourbin 1.63-alt2 +- imported sources into git and built with gear +- AppConfig/File.pm: localize $_ for while(<>) loop (cpan #22430) + +* Thu Aug 10 2006 Alexey Tourbin 1.63-alt1 +- 1.56 -> 1.63 + +* Fri Mar 11 2005 Alexey Tourbin 1.56-alt1 +- 1.55 -> 1.56 +- specfile cleanup and policy enforcement +- manual pages not packaged (use perldoc) + +* Sat Feb 19 2005 ALT QA Team Robot 1.55-alt1.1 +- Rebuilt with rpm-build-perl-0.5.1. + +* Thu May 01 2003 Alexey Gladkov 1.55-alt1 +- First build for ALTLinux +- spec modifications for Sisyphus +- new verssion 1.55 + +* Tue Jan 21 2003 Antoine Ginies 1.52-4mdk +- fix requires error + +* Fri Oct 18 2002 Clic-dev 1.52-3mdk +- build with perl 5.8 +- add perl version define + +* Thu Jul 11 2002 Antoine Ginies 1.52-2mdk +- Build on 8.2 with perl 5.6 + +* Thu Apr 4 2002 Antoine Ginies 1.52-1mdk +- first release for Mandrakesoft