Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
dc11414d09
!8 update to version 2.29
From: @leeffo 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2023-07-12 07:50:11 +00:00
leeffo
f27dc3e229 upgrade to version 2.29 2023-07-12 11:47:12 +08:00
openeuler-ci-bot
ad715cc180
!4 【轻量级 PR】:fix spec changelog date error
From: @yangzhao_kl 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-06-16 09:34:51 +00:00
yangzhao_kl
86614cc349
fix spec changelog date error 2022-06-08 07:04:13 +00:00
openeuler-ci-bot
9a3fa05fb0 !3 Need perl-generators to correctly provides perl(Config::Tiny)
Merge pull request !3 from panchenbo/master
2020-08-25 16:35:43 +08:00
panchenbo
27cef48c22 Need perl-generators to correctly provides perl(Config::Tiny) 2020-08-24 19:53:33 +08:00
openeuler-ci-bot
977e1d462d !2 【轻量级 PR】:Remove %{?dist} in release tag
Merge pull request !2 from Shinwell_Hu/N/A
2020-07-17 16:49:27 +08:00
Shinwell_Hu
fd8afb8045 Remove %{?dist} in release tag 2020-07-16 20:31:44 +08:00
openeuler-ci-bot
e388804b4f !1 init package
Merge pull request !1 from myeuler/master
2020-06-29 11:28:50 +08:00
myeuler
dcb669ac9e init package 2020-06-25 07:50:28 +00:00
3 changed files with 76 additions and 0 deletions

BIN
Config-Tiny-2.29.tgz Normal file

Binary file not shown.

72
perl-Config-Tiny.spec Normal file
View File

@ -0,0 +1,72 @@
Name: perl-Config-Tiny
Version: 2.29
Release: 1
Summary: Read/Write .ini style files with as little code as possible
License: GPL+ or Artistic
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
BuildRequires: perl(File::Temp) >= 0.22
BuildRequires: perl(strict)
BuildRequires: perl(Test::More) >= 1.001002
BuildRequires: perl(Test::Pod) >= 1.51
BuildRequires: perl(utf8)
BuildRequires: perl-generators
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
configuration files with as little code as possible, reducing load
time and memory overhead.
%prep
%setup -q -n Config-Tiny-%{version}
%build
export PERL_MM_OPT=""
%{__perl} Makefile.PL INSTALLDIRS=vendor
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
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Jul 12 2023 leeffo <liweiganga@uniontech.com> - 2.29-1
- upgrade to version 2.29
* Mon Aug 24 2020 chenbo pan <panchenbo@uniontech.com> 2.24-3
- Need perl-generators to correctly provides perl(Config::Tiny)
* Thu Jul 16 2020 Shinwell Hu <micromotive@qq.com> 2.24-2
- Remove the duplicated %{?dist} according to issue #I1NRGP
* Mon Jun 22 2020 Perl_Bot <Perl_Bot@openeuler.org> 2.24-1
- Specfile autogenerated by Perl_Bot

4
perl-Config-Tiny.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: metacpan
src_repo: Config-Tiny
tag_prefix: ^v
separator: .