diff --git a/perl-boolean.spec b/perl-boolean.spec index 8ef5c787103cc1e412301498a01ffba3febbc3f8..3f92a981328a55a744926c6959523009006c8271 100644 --- a/perl-boolean.spec +++ b/perl-boolean.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: perl-boolean Version: 0.46 -Release: 1 +Release: 2 Summary: Boolean support for Perl License: Perl License or Artistic-1.0 Group: Development/Libraries @@ -13,61 +13,43 @@ BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(JSON::MaybeXS) Requires: perl(JSON::MaybeXS) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + %description Most programming languages have a native Boolean data type. Perl does not. + %package help Summary : Boolean support for Perl Provides: perl-boolean-doc + %description help Most programming languages have a native Boolean data type. Perl does not. + %prep %setup -q -n boolean-%{version} + %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %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/* -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 make test -%clean -rm -rf $RPM_BUILD_ROOT - -%files -f filelist.lst -%defattr(-,root,root,-) +%files %doc Changes CONTRIBUTING LICENSE META.json README %{perl_vendorlib}/* + %files help -%{_mandir}/* +%{_mandir}/man?/* %changelog +* Tue Jan 07 2025 Funda Wang - 0.46-2 +- cleanup spec + * Mon Mar 08 2021 Perl_Bot 0.46-1 - Specfile autogenerated by Perl_Bot