From f4137bfb80294bd084e2ca6d9b9e4adb45889238 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Tue, 14 Jan 2025 18:09:40 +0800 Subject: [PATCH] cleanup spec --- perl-YAML-LibYAML.spec | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/perl-YAML-LibYAML.spec b/perl-YAML-LibYAML.spec index 159fff2..b3843c9 100644 --- a/perl-YAML-LibYAML.spec +++ b/perl-YAML-LibYAML.spec @@ -1,9 +1,9 @@ Name: perl-YAML-LibYAML Epoch: 1 Version: 0.90 -Release: 1 +Release: 2 Summary: Perl YAML Serialization using XS and libyaml -License: GPL+ or Artistic +License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/YAML-LibYAML Source0: https://cpan.metacpan.org/modules/by-module/YAML/YAML-LibYAML-%{version}.tar.gz @@ -14,7 +14,7 @@ BuildRequires: perl(B) perl(blib) perl(Carp) perl(Data::Dumper) perl(Devel::Pee BuildRequires: perl(File::Find) perl(File::Path) perl(Filter::Util::Call) perl(FindBin) BuildRequires: perl(IO::File) perl(IO::Pipe) perl(lib) perl(Test::Builder) perl(Test::More) >= 0.88 BuildRequires: perl(Tie::Array) perl(Tie::Hash) perl(utf8) gcc -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(B::Deparse) +Requires: perl(B::Deparse) Provides: bundled(libyaml) = 0.2.1 %{?perl_default_filter} @@ -27,11 +27,7 @@ This module exports the functions Dump, Load, DumpFile and LoadFile. These functions are intended to work exactly like YAML.pm's corresponding functions. Only Load and Dump are exported by default. -%package help -Summary: Help package for perl-YAML-LibYAML - -%description help -This package contains man files for perl-YAML-LibYAML. +%package_help %prep %autosetup -n YAML-LibYAML-%{version} -p1 @@ -42,14 +38,14 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name '*.bs' -empty -exec rm {} \; %{_fixperms} -c %{buildroot} %check %make_build test %files -%doc Changes CONTRIBUTING.md README LICENSE +%license LICENSE +%doc Changes CONTRIBUTING.md README %{perl_vendorarch}/auto/YAML/ %{perl_vendorarch}/YAML/ @@ -57,6 +53,9 @@ find %{buildroot} -type f -name '*.bs' -empty -exec rm {} \; %{_mandir}/man3/YAML::* %changelog +* Tue Jan 14 2025 Funda Wang - 1:0.90-2 +- cleanup spec + * Tue Sep 24 2024 dufuhang - 1:0.90-1 - Update to version 0.90 - Change from Zilla::Dist to Dist::Zilla -- Gitee