From 618b8c678bcac2fd8ac3960769e923ae35142a6b34ac2693db63dc8bcb69ce04 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 27 Jul 2009 21:27:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Regexp-Common?expand=0&rev=3 --- perl-Regexp-Common.changes | 15 ++++++ perl-Regexp-Common.spec | 105 ++++++++++++++----------------------- 2 files changed, 54 insertions(+), 66 deletions(-) diff --git a/perl-Regexp-Common.changes b/perl-Regexp-Common.changes index 0676235..2957e31 100644 --- a/perl-Regexp-Common.changes +++ b/perl-Regexp-Common.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sat Jul 25 19:41:55 CEST 2009 - chris@computersalat.de + +- spec mods + * removed ^---------- + * removed ^#--------- + +------------------------------------------------------------------- +Sat Jun 27 20:58:15 CEST 2009 - chris@computersalat.de + +- added perl-macros + o autogen filelist with perl_gen_filelist +- spec mods + o fixed desc (from README) + ------------------------------------------------------------------- Fri Sep 12 13:35:38 CEST 2008 - cwh@suse.de diff --git a/perl-Regexp-Common.spec b/perl-Regexp-Common.spec index 853ba9b..bc2c108 100644 --- a/perl-Regexp-Common.spec +++ b/perl-Regexp-Common.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Regexp-Common (Version 2.122) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -19,85 +19,58 @@ Name: perl-Regexp-Common -Version: 2.122 -Release: 1 -Requires: perl = %{perl_version} -AutoReqProv: on -Group: Development/Libraries/Perl -License: Artistic License -Url: http://search.cpan.org/~abigail/Regexp-Common-2.120/ +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Provide commonly requested regular expressions -Source: Regexp-Common-%{version}.tar.bz2 +Version: 2.122 +Release: 3 +License: Artistic License .. +Group: Development/Libraries/Perl +AutoReqProv: on +Url: http://search.cpan.org/dist/Regexp-Common +Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +Requires: perl = %{perl_version} %description -Provides regular expression patterns useful for validating all sorts of -data. +By default, this module exports a single hash (`%RE') that stores or +generates commonly needed regular expressions. Patterns currently +provided include: -E.g.: - strings with balanced parenthesized delimiters or arbitrary - delimiter - -- IPv4 addresses - -- numbers (int, float, etc.) - -- palindromes - -- comments in many different programming languages - -- deleting leading or trailing whitespace - -and much more. - - - -Authors: --------- - Damian Conway - Abigail + * balanced parentheses and brackets + * delimited text (with escapes) + * integers and floating-point numbers in any base (up to 36) + * comments in 44 languages + * offensive language + * lists of any pattern + * IPv4 addresses + * URIs. + * Zip codes. + Authors: + Damian Conway + Abigail %prep -%setup -n Regexp-Common-%{version} +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL -make +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL +%{__make} + +%check +%{__make} test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-, root, root) -%doc MANIFEST README -%doc %{_mandir}/man?/* -%dir %{perl_vendorlib}/Regexp -%{perl_vendorlib}/Regexp/Common.pm -%dir %{perl_vendorlib}/Regexp/Common -%{perl_vendorlib}/Regexp/Common/*.pm -%dir %{perl_vendorlib}/Regexp/Common/URI -%{perl_vendorlib}/Regexp/Common/URI/*.pm -%dir %{perl_vendorarch}/auto/Regexp -%dir %{perl_vendorarch}/auto/Regexp/Common -%{perl_vendorarch}/auto/Regexp/Common/.packlist -/var/adm/perl-modules/%{name} +%files -f %{name}.files +%defattr(-,root,root) +%doc README %changelog -* Fri Sep 12 2008 cwh@suse.de -- updated to 2.122: - - Removed spurious '=head1' from README. (Smylers) - - Comments for 'm4', 'Modula-2', 'Modula-3', 'Ubercode', and 'ZZT-OOP'. - - Fix for French zip codes; addes Swiss zip codes (Rafael) - - License change: - You now have the option to use this software under either the original - Artistic License, the Artistic License 2.0, the MIT license, or the BSD - license. -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Thu Sep 29 2005 dmueller@suse.de -- add norootforbuild -* Fri Jun 17 2005 cwh@suse.de -- newly packaged with version 2.120