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:
Stephan Kulow
2015-04-13 20:36:01 +00:00
committed by Git OBS Bridge
parent e10bd12671
commit a892cf8230
4 changed files with 24 additions and 21 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6eee4f8bbed7867f16a7614472ae6e7484cc65484d2aba19f918aa693cd28618
size 7792

View File

@@ -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 Sun May 1 10:39:39 UTC 2011 - coolo@opensuse.org

View File

@@ -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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -15,15 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: perl-enum Name: perl-enum
Version: 1.016 Version: 1.10
Release: 1 Release: 0
License: Permission to use, modify, and redistribute this module granted under the same terms as *Perl*.
%define cpan_name enum %define cpan_name enum
Summary: C style enumerated types and bitmask flags in Perl 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 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 BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
@@ -31,15 +32,14 @@ BuildRequires: perl-macros
%{perl_requires} %{perl_requires}
%description %description
Defines a set of symbolic constants with ordered numeric values ala *C* This module is used to define a set of constants with ordered numeric
*enum* types. 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 What are enumerations good for? Typical uses would be for giving mnemonic
*BITMASKS* section for details. 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 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():
use enum qw( use enum qw(
:Months_=0 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec :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_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc Changes README %doc Changes README