diff --git a/perl-Config-Tiny.spec b/perl-Config-Tiny.spec index b31f4010dbd93bda5aa33ae34a3af7100f5d7bf6..7e4f627c8aa5f35b02e63f07c56adb7e5a082060 100644 --- a/perl-Config-Tiny.spec +++ b/perl-Config-Tiny.spec @@ -1,12 +1,11 @@ Name: perl-Config-Tiny Version: 2.30 -Release: 1 +Release: 2 Summary: Read/Write .ini style files with as little code as possible -License: GPL+ or Artistic +License: GPL-1.0-or-later OR Artistic-1.0-Perl Group: Development/Libraries URL: http://search.cpan.org/dist/Config-Tiny/ Source0: http://www.cpan.org/authors/id/R/RS/RSAVAGE/Config-Tiny-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) >= 3.3 @@ -20,7 +19,6 @@ Requires: perl(File::Spec) >= 3.3 Requires: perl(File::Temp) >= 0.22 Requires: perl(strict) Requires: perl(utf8) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Config::Tiny is a Perl class to read and write .ini style @@ -36,29 +34,23 @@ export PERL_MM_OPT="" make %{?_smp_mflags} %install -export PERL_MM_OPT="" -rm -rf $RPM_BUILD_ROOT - make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) -%doc Changelog.ini Changes LICENSE META.json README +%license LICENSE +%doc Changelog.ini Changes META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Tue Jan 14 2025 Funda Wang - 2.30-2 +- cleanup spec + * Thu Jul 04 2024 lixiaoyong - 2.30-1 - Upgrade to version 2.30 - Supports an array syntax for cases where you wish to assign an array of values to a key