- updated to 1.220
- improve chances it'll work on Android (thanks, Brian Fraser) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-UUID?expand=0&rev=21
This commit is contained in:
committed by
Git OBS Bridge
parent
255802d6c1
commit
2bf423d11c
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c736d39a6fabf163423b85d94c62cbba6f57ca2f3115e21a0d0c91c23836da28
|
|
||||||
size 16760
|
|
3
Data-UUID-1.220.tar.gz
Normal file
3
Data-UUID-1.220.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:99533b06e4348d704e3d2252d7d41aa652680a1bd5af04e1dc8ce7e84e74f960
|
||||||
|
size 16905
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 8 21:51:18 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.220
|
||||||
|
- improve chances it'll work on Android (thanks, Brian Fraser)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 4 14:36:24 UTC 2013 - darin@darins.net
|
Fri Oct 4 14:36:24 UTC 2013 - darin@darins.net
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Data-UUID
|
# spec file for package perl-Data-UUID
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 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
|
||||||
@@ -17,20 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Data-UUID
|
Name: perl-Data-UUID
|
||||||
Version: 1.219
|
Version: 1.220
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Data-UUID
|
%define cpan_name Data-UUID
|
||||||
Summary: Perl extension for generating Globally/Universally
|
Summary: Globally/Universally Unique Identifiers (GUIDs/UUIDs)
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Data-UUID/
|
Url: http://search.cpan.org/dist/Data-UUID/
|
||||||
#Source: http://www.cpan.org/authors/id/R/RJ/RJBS/Data-UUID-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Digest::MD5)
|
|
||||||
Requires: perl(Digest::MD5)
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -54,7 +51,8 @@ per second per machine -- and therefore is suitable for identifying both
|
|||||||
extremely short-lived and very persistent objects on a given system as well
|
extremely short-lived and very persistent objects on a given system as well
|
||||||
as across the network.
|
as across the network.
|
||||||
|
|
||||||
This modules provides several methods to create a UUID:
|
This modules provides several methods to create a UUID. In all methods,
|
||||||
|
'<namespace>' is a UUID and '<name>' is a free form string.
|
||||||
|
|
||||||
# creates binary (16 byte long binary value) UUID.
|
# creates binary (16 byte long binary value) UUID.
|
||||||
$ug->create();
|
$ug->create();
|
||||||
@@ -112,20 +110,9 @@ Examples:
|
|||||||
# this creates a new UUID in string form, based on the standard namespace
|
# this creates a new UUID in string form, based on the standard namespace
|
||||||
# UUID NameSpace_URL and name "www.mycompany.com"
|
# UUID NameSpace_URL and name "www.mycompany.com"
|
||||||
|
|
||||||
$ug = new Data::UUID;
|
$ug = Data::UUID->new;
|
||||||
print $ug->create_from_name_str(NameSpace_URL, "www.mycompany.com");
|
print $ug->create_from_name_str(NameSpace_URL, "www.mycompany.com");
|
||||||
|
|
||||||
EXPORT
|
|
||||||
The module allows exporting of several standard namespace UUIDs:
|
|
||||||
|
|
||||||
* NameSpace_DNS
|
|
||||||
|
|
||||||
* NameSpace_URL
|
|
||||||
|
|
||||||
* NameSpace_OID
|
|
||||||
|
|
||||||
* NameSpace_X500
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
@@ -141,11 +128,8 @@ EXPORT
|
|||||||
%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(644,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user