From 47f13a4c04f656361643d24bf0607a06b504895267d3f268b675cdb96d21d5f0 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 11 May 2011 05:07:03 +0000 Subject: [PATCH] - regenerate with cpanspec OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Number-Compare?expand=0&rev=8 --- Number-Compare-0.01.tar.bz2 | 3 -- Number-Compare-0.01.tar.gz | 3 ++ perl-Number-Compare.changes | 5 +++ perl-Number-Compare.spec | 82 +++++++++++++++++++++++-------------- 4 files changed, 59 insertions(+), 34 deletions(-) delete mode 100644 Number-Compare-0.01.tar.bz2 create mode 100644 Number-Compare-0.01.tar.gz diff --git a/Number-Compare-0.01.tar.bz2 b/Number-Compare-0.01.tar.bz2 deleted file mode 100644 index 86f57bb..0000000 --- a/Number-Compare-0.01.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ef044e655504f418f66a91ede656d3b51511eab900c6dd9b27b30cb9cb83569 -size 2173 diff --git a/Number-Compare-0.01.tar.gz b/Number-Compare-0.01.tar.gz new file mode 100644 index 0000000..f6d0328 --- /dev/null +++ b/Number-Compare-0.01.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32b5b0a73b54bbd8fbaadffb0e5a8532bc4da18a934b949e1cc68dae162d49ef +size 2123 diff --git a/perl-Number-Compare.changes b/perl-Number-Compare.changes index 1dde927..bb50b94 100644 --- a/perl-Number-Compare.changes +++ b/perl-Number-Compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 11 05:05:40 UTC 2011 - coolo@opensuse.org + +- regenerate with cpanspec + ------------------------------------------------------------------- Wed Feb 2 13:41:23 UTC 2011 - vcizek@novell.com diff --git a/perl-Number-Compare.spec b/perl-Number-Compare.spec index 59f9355..4babb4a 100644 --- a/perl-Number-Compare.spec +++ b/perl-Number-Compare.spec @@ -1,47 +1,67 @@ +# +# spec file for package perl-Number-Compare (Version 0.01) +# +# Copyright (c) 2011 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/ +# + +Name: perl-Number-Compare +Version: 0.01 +Release: 1 +License: GPL+ or Artistic %define cpan_name Number-Compare -Name: perl-%cpan_name -Version: 0.01 -Release: 1 -Provides: %cpan_name -Group: Development/Libraries/Perl -License: Artistic -URL: http://search.cpan.org/dist/Number-Compare/ -Summary: Numeric comparisons -Source: %cpan_name-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} +Summary: numeric comparisons +Url: http://search.cpan.org/dist/Number-Compare/ +Group: Development/Libraries/Perl +Source: http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +%{perl_requires} %description -Number::Compare compiles a simple comparison to an anonymous subroutine, which you can call with a value to be tested again. -Now this would be very pointless, if Number::Compare didn't understand magnitudes. -The target value may use magnitudes of kilobytes (k, ki), megabytes (m, mi), or gigabytes (g, gi). -Those suffixed with an i use the appropriate 2**n version in accordance with the IEC standard: http://physics.nist.gov/cuu/Units/binary.html +Number::Compare compiles a simple comparison to an anonymous subroutine, +which you can call with a value to be tested again. + +Now this would be very pointless, if Number::Compare didn't understand +magnitudes. + +The target value may use magnitudes of kilobytes ('k', 'ki'), megabytes +('m', 'mi'), or gigabytes ('g', 'gi'). Those suffixed with an 'i' use the +appropriate 2**n version in accordance with the IEC standard: +http://physics.nist.gov/cuu/Units/binary.html %prep -%setup -q -n %cpan_name-%{version} +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -make -make test +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist %clean -# clean up the hard disc after build -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} -%files -%defattr(-,root,root) -%doc %{_mandir}/man?/* -%{perl_vendorlib}/Number -%{perl_vendorarch}/auto/Number -%doc Changes MANIFEST +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes -%changelog -n %{name} -* Sun Jun 08 2008 - gerrit.beine@gmx.de -- first release 0.01 +%changelog