SHA256
8
0
forked from pool/perl-UUID
Files
perl-UUID/perl-UUID.spec
Dirk Stoecker 7b4cfd8fef Accepting request 1125755 from devel:languages:perl:autoupdate
- updated to 0.31
   see /usr/share/doc/packages/perl-UUID/Changes
  ToDo:
    - Bump dev version.
    - Bump release version and fixup Changes.
  0.31 
    - Strip leading whitespace from assertlib files.
    - Use not_execute during configure.
    - Remove double quote area in Makefile.PL.
    - Remove placeholder files in repo.
    - Manifest tidy.
    - Add tests for generated files.
    - Remove old README_new file first. Make generation required.
    - Generate license file and test.
    - Skip 0gen test except in disttest. (UUID_DISTTEST=1)
    - Make 0gen tests fail for empty files.
    - OCD manifest tweak.
    - Add comments to Makefile modifications.
    - Silence manicopy call in configure.
    - Make generated metafiles authoritative.
      - Thanks to twata. [rt.cpan.org #150311]
    - Test metafiles for authority.
    - Bump dev version.
    - Add DynaLoader and Exporter to PREREQ_PM.
    - Add comments for other prereqs.
    - Move VERSION closer to top.
    - Remove NO_MYMETA if EUMM < 6.58.
    - Re-enable warnings.
    - Remove forced debug.
    - Bump dev version.
    - Rename License to LICENSE, per Kwalitee.
    - Add check for copyright year in disttest.
    - Add 'provides' info to metafiles, per Kwalitee.
    - Move dynamic_config to WriteMakefile().
    - Tweak copyright test.
    - Bump dev version.
    - Make sure generated files are in manifest.
    - Fix wayward LICENSE.
    - Add test deps, per Kwalitee.
    - Bump dev version.
    - Check copyright date in LICENSE.
    - Bump release version.
  0.30 
    - Make all devel version use UUID_DEBUG=1.
    - Bump ExtUtils::MakeMaker prereq to 6.64 (first version supporting
      TEST_REQUIRES).
    - Add debug message to show current Devel::CheckLib::VERSION.
    - Add debug message to show current ExtUtils::MakeMaker::VERSION.
    - Reorder configure tests for win32.
    - Add RPC_CSTR typedef for older Win32.
    - Define UuidCreateSequential() for older Win32.
    - Make META.json and META.yml placeholders. Generate during distdir.
    - Make README a placeholder. Generate during distdir.
    - Fix trivial build warning.
  0.29 
    - Bump prereq version for Devel::CheckLib to 1.14 to fix problems with
      Strawberry versions 5.18 to 5.28. Earlier Strawberry did not ship
      Devel::CheckLib. Newer versions shipped 1.14 or later.
      - Thanks to twata. [rt.cpan.org #143841]

OBS-URL: https://build.opensuse.org/request/show/1125755
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UUID?expand=0&rev=10
2023-11-16 16:38:20 +00:00

72 lines
2.2 KiB
RPMSpec

#
# spec file for package perl-UUID
#
# Copyright (c) 2023 SUSE LLC
#
# 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/
#
%define cpan_name UUID
Name: perl-UUID
Version: 0.310.0
Release: 0
%define cpan_version 0.31
License: Artistic-2.0
Summary: DCE compatible Universally Unique Identifier library for Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JR/JRM/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(Devel::CheckLib) >= 1.14
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
Provides: perl(UUID) = 0.310.0
%define __perllib_provides /bin/true
%{perl_requires}
# MANUAL BEGIN
BuildRequires: libuuid-devel
# MANUAL END
%description
The UUID library is used to generate unique identifiers for objects that
may be accessible beyond the local system. For instance, they could be used
to generate unique HTTP cookies across multiple web servers without
communication between the servers, and without fear of a name clash.
The generated UUIDs can be reasonably expected to be unique within a
system, and unique across all systems, and are compatible with those
created by the Open Software Foundation (OSF) Distributed Computing
Environment (DCE) utility uuidgen.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog