diff --git a/perl-Variable-Magic.spec b/perl-Variable-Magic.spec index c4361634affcc2483073d2b7da06684588885f4c..95c76225e836456a4ca1a23a1f0f96390b09b039 100644 --- a/perl-Variable-Magic.spec +++ b/perl-Variable-Magic.spec @@ -2,7 +2,7 @@ Name: perl-Variable-Magic Version: 0.64 -Release: 1 +Release: 2 Summary: Associate user-defined magic to variables from Perl License: GPL-1.0-or-later OR Artistic-1.0-Perl Group: Development/Libraries @@ -63,45 +63,23 @@ 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 -type f -name '*.bs' -size 0 -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* -pushd %{buildroot} -touch filelist.lst -if [ -d usr/bin ];then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ];then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ];then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib ];then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -popd -mv %{buildroot}/filelist.lst . - -%check || : +%check make test -%clean -rm -rf $RPM_BUILD_ROOT - -%files -f filelist.lst -%defattr(-,root,root,-) +%files %doc Changes META.json README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Variable* %files help -%{_mandir}/* +%{_mandir}/man?/* %changelog +* Tue Jan 14 2025 Funda Wang - 0.64-2 +- cleanup spec + * Fri Mar 22 2024 wangshuo - 0.64-1 - Update to 0.64