2024-08-08 19:39:45 +00:00
committed by Git OBS Bridge
parent fbb78fa89e
commit b69989af41

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Data-GUID # spec file for package perl-Data-GUID
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# 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
@@ -18,12 +18,14 @@
%define cpan_name Data-GUID %define cpan_name Data-GUID
Name: perl-Data-GUID Name: perl-Data-GUID
Version: 0.051 Version: 0.51.0
Release: 0 Release: 0
# 0.051 -> normalize -> 0.51.0
%define cpan_version 0.051
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Globally unique identifiers Summary: Globally unique identifiers
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
@@ -36,6 +38,8 @@ BuildRequires: perl(Test::More) >= 0.96
Requires: perl(Data::UUID) >= 1.148 Requires: perl(Data::UUID) >= 1.148
Requires: perl(Sub::Exporter) >= 0.90 Requires: perl(Sub::Exporter) >= 0.90
Requires: perl(Sub::Install) >= 0.03 Requires: perl(Sub::Install) >= 0.03
Provides: perl(Data::GUID) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -43,7 +47,7 @@ Data::GUID provides a simple interface for generating and using globally
unique identifiers. unique identifiers.
%prep %prep
%autosetup -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor