Sync from SUSE:SLFO:Main perl-Number-Compare revision a220bbfa26461fd334689ce1e13bfa6f
This commit is contained in:
commit
e09c054439
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
Number-Compare-0.03.tar.gz
(Stored with Git LFS)
Normal file
BIN
Number-Compare-0.03.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
52
perl-Number-Compare.changes
Normal file
52
perl-Number-Compare.changes
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 21 11:16:37 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
- use https urls
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 22 12:49:59 UTC 2011 - vcizek@suse.com
|
||||||
|
|
||||||
|
- update to 0.03
|
||||||
|
Generate a new tarball on linux. Doing the C<make dist> on OSX
|
||||||
|
generated a tarball that upset dumb tars
|
||||||
|
tar: Ignoring unknown extended header keyword `SCHILY.dev'
|
||||||
|
tar: Ignoring unknown extended header keyword `SCHILY.ino'
|
||||||
|
tar: Ignoring unknown extended header keyword `SCHILY.nlink'
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 13 08:13:22 UTC 2011 - vcizek@suse.com
|
||||||
|
|
||||||
|
- update to 0.02
|
||||||
|
- apply warning-related fix -
|
||||||
|
https://rt.cpan.org/Public/Bug/Display.html?id=58466
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- bzipped source tarball
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 30 19:20:36 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- switch to perl_requires macro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 29 18:30:48 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- remove /var/adm/perl-modules
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 19 08:38:53 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- add perl as explicit buildrequire
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 8 00:00:00 UTC 2008 - gerrit.beine@gmx.de
|
||||||
|
|
||||||
|
- first release 0.01
|
||||||
|
|
68
perl-Number-Compare.spec
Normal file
68
perl-Number-Compare.spec
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Number-Compare
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: perl-Number-Compare
|
||||||
|
Version: 0.03
|
||||||
|
Release: 0
|
||||||
|
%define cpan_name Number-Compare
|
||||||
|
Summary: Numeric comparisons
|
||||||
|
License: GPL-1.0-or-later OR Artistic-1.0
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
URL: https://search.cpan.org/dist/Number-Compare/
|
||||||
|
Source: https://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
%{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:
|
||||||
|
https://physics.nist.gov/cuu/Units/binary.html
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user