* Tue Feb 08 2022 Gavin Carr <gavin@openfusion.net> 0.122-1

- Update to version 0.122.
This commit is contained in:
Jean-Philippe Pialasse 2025-01-21 00:02:07 -05:00
parent ae8bb57ee3
commit 1600bef11a
2 changed files with 77 additions and 43 deletions

BIN
Path-Tiny-0.122.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,57 +1,88 @@
%define name perl-Path-Tiny Name: perl-Path-Tiny
%define version 1.0 Version: 0.122
%define release 1 Release: 1%{?org_tag}%{?dist}
Summary: This is what perl-Path-Tiny does. Summary: File path utility
Name: %{name} License: Apache Software License
Version: %{version} Group: Development/Libraries
Release: %{release}%{?dist} URL: http://search.cpan.org/dist/Path-Tiny/
Source: %{name}-%{version}.tar.gz Source0: http://localhost/cpan//authors/id/D/DA/DAGOLDEN/Path-Tiny-%{version}.tar.gz
License: GNU GPL version 2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Group: SMEserver/addon BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: perl-interpreter
Prefix: %{_prefix} BuildRequires: perl-devel
BuildArchitectures: noarch BuildRequires: perl-generators
BuildRequires: smeserver-devtools BuildRequires: perl >= 0:5.008001
Requires: smeserver-release >= 11.0 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
AutoReqProv: no BuildRequires: perl(Digest) >= 1.03
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Digest::SHA) >= 5.45
BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(File::Path) >= 2.07
BuildRequires: perl(File::Spec) >= 3.40
BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(File::Spec) >= 3.40
BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Unicode::UTF8) >= 0.58
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(Test::FailWarnings)
BuildRequires: perl(Test::MockRandom)
Requires: perl(Digest) >= 1.03
Requires: perl(Digest::SHA) >= 5.45
Requires: perl(Exporter) >= 5.57
Requires: perl(File::Path) >= 2.07
Requires: perl(File::Spec) >= 3.40
Requires: perl(File::Temp) >= 0.19
Requires: perl(Unicode::UTF8) >= 0.58
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Autoreq: no
%if %{rhel} >= 8
Provides: perl(Path::Tiny) = %{version}
%endif
%description %description
This module attempts to provide a small, fast utility for working with file This module attempts to provide a small, fast utility for working with file
paths. It is friendlier to use than File::Spec and provides easy access to paths. It is friendlier to use than File::Spec and provides easy access to
functions from several other core file handling modules. functions from several other core file handling modules.
%changelog
* Day MMMM DD YYYY <brianr@koozali.org> 1.0-1.sme
- Initial code - create RPM [SME:99999]
%prep %prep
%setup -q -n Path-Tiny-%{version}
%setup -q
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
rm -f %{name}-%{version}-filelist make pure_install PERL_INSTALL_ROOT=%{buildroot}
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
> %{name}-%{version}-filelist find %{buildroot} -type f -name .packlist -exec rm -f {} \;
#echo "%doc COPYING" >> %{name}-%{version}-filelist find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
#--dir <dir> 'attr(755,user,grp)' \
#--file <file> 'attr(755,root,root)' \ %{_fixperms} %{buildroot}/*
%check
make test
%clean %clean
cd .. rm -rf %{buildroot}
rm -rf %{name}-%{version}
%pre %files
%defattr(-,root,root,-)
%doc Changes CONTRIBUTING.mkdn dist.ini LICENSE META.json perlcritic.rc README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%preun %changelog
* Tue Feb 08 2022 Gavin Carr <gavin@openfusion.net> 0.122-1
- Update to version 0.122.
%post * Mon Dec 14 2015 Gavin Carr <gavin@openfusion.com.au> 0.076-1
- Update to version 0.076.
%postun * Thu Jul 24 2014 Gavin Carr <gavin@openfusion.com.au> 0.055-1
#uninstall - Update to version 0.055.
%files -f %{name}-%{version}-filelist
%defattr(-,root,root) * Wed Mar 20 2013 Gavin Carr <gavin@openfusion.com.au> 0.015-1
- Specfile autogenerated by cpanspec 1.79.