Files
perl-Data-GUID/perl-Data-GUID.spec
Dirk Stoecker ffc73144bb Accepting request 640457 from devel:languages:perl:autoupdate
- FIx build
- updated to 0.049
   see /usr/share/doc/packages/perl-Data-GUID/Changes
  0.049     2017-01-23 19:04:58-05:00 America/New_York
          - Data::UUID can sometimes produce duplicate UUIDs when a single UUID
            generator is used on both sides of a fork.  Data::GUID now silently
            replaces its UUID generator when the pid changes.  (bug reported by
            Matthew Horsfall)

OBS-URL: https://build.opensuse.org/request/show/640457
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-GUID?expand=0&rev=6
2018-10-07 19:25:16 +00:00

67 lines
2.0 KiB
RPMSpec

#
# spec file for package perl-Data-GUID
#
# Copyright (c) 2018 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
# 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-Data-GUID
Version: 0.049
Release: 0
%define cpan_name Data-GUID
Summary: Globally Unique Identifiers
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Data-GUID/
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Data::UUID) >= 1.148
BuildRequires: perl(Sub::Exporter) >= 0.90
BuildRequires: perl(Sub::Install) >= 0.03
BuildRequires: perl(Test::More) >= 0.96
Requires: perl(Data::UUID) >= 1.148
Requires: perl(Sub::Exporter) >= 0.90
Requires: perl(Sub::Install) >= 0.03
%{perl_requires}
%description
Data::GUID provides a simple interface for generating and using globally
unique identifiers.
%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
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE
%changelog