Accepting request 296006 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/296006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-enum?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
e10bd12671
commit
a892cf8230
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd4a2f44f60fe0ac5f708a7a232601a634bfb6b7f561e2eef706e9efa2cd04d0
|
||||
size 5847
|
3
enum-1.10.tar.gz
Normal file
3
enum-1.10.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6eee4f8bbed7867f16a7614472ae6e7484cc65484d2aba19f918aa693cd28618
|
||||
size 7792
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 18:45:26 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.10
|
||||
see /usr/share/doc/packages/perl-enum/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 1 10:39:39 UTC 2011 - coolo@opensuse.org
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-enum (Version 1.016)
|
||||
# spec file for package perl-enum
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,15 +15,16 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-enum
|
||||
Version: 1.016
|
||||
Release: 1
|
||||
License: Permission to use, modify, and redistribute this module granted under the same terms as *Perl*.
|
||||
Version: 1.10
|
||||
Release: 0
|
||||
%define cpan_name enum
|
||||
Summary: C style enumerated types and bitmask flags in Perl
|
||||
Url: http://search.cpan.org/dist/enum/
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Source: http://www.cpan.org/authors/id/Z/ZE/ZENIN/%{cpan_name}-%{version}.tar.gz
|
||||
Url: http://search.cpan.org/dist/enum/
|
||||
Source: http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
@@ -31,15 +32,14 @@ BuildRequires: perl-macros
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Defines a set of symbolic constants with ordered numeric values ala *C*
|
||||
*enum* types.
|
||||
This module is used to define a set of constants with ordered numeric
|
||||
values, similar to the 'enum' type in the C programming language. You can
|
||||
also define bitmask constants, where the value assigned to each constant
|
||||
has exactly one bit set (eg 1, 2, 4, 8, etc).
|
||||
|
||||
Now capable of creating creating ordered bitmask constants as well. See the
|
||||
*BITMASKS* section for details.
|
||||
|
||||
What are they good for? Typical uses would be for giving mnemonic names to
|
||||
indexes of arrays. Such arrays might be a list of months, days, or a return
|
||||
value index from a function such as localtime():
|
||||
What are enumerations good for? Typical uses would be for giving mnemonic
|
||||
names to indexes of arrays. Such arrays might be a list of months, days, or
|
||||
a return value index from a function such as localtime():
|
||||
|
||||
use enum qw(
|
||||
:Months_=0 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
|
||||
@@ -73,9 +73,6 @@ when run under *use strict*. That is, if you misspell *Days_Fri* as
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
|
Reference in New Issue
Block a user