#1 Spec file cleanups: Use make_build and make_install macros, use NO_PACKLIST=1
Closed 2 years ago by pghmcfc. Opened 2 years ago by tstellar.
rpms/ tstellar/perl-String-CRC32 spec-cleanups  into  master

file modified
+10 -6
@@ -1,6 +1,6 @@ 

  Name:           perl-String-CRC32

  Version:        1.8

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        Perl interface for cyclic redundancy check generation

  License:        Public Domain

  URL:            https://metacpan.org/release/String-CRC32
@@ -13,7 +13,7 @@ 

  BuildRequires:  perl-devel

  BuildRequires:  perl-generators

  BuildRequires:  perl-interpreter

- BuildRequires:  perl(ExtUtils::MakeMaker)

+ BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76

  # Module Runtime

  BuildRequires:  perl(DynaLoader)

  BuildRequires:  perl(Exporter)
@@ -43,12 +43,11 @@ 

  %setup -q -n String-CRC32-%{version}

  

  %build

- perl Makefile.PL INSTALLDIRS=vendor

- make %{?_smp_mflags}

+ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1

+ %{make_build}

  

  %install

- make pure_install DESTDIR=%{buildroot}

- find %{buildroot} -type f -name .packlist -delete

+ %{make_install}

  find %{buildroot} -type f -name '*.bs' -empty -delete

  %{_fixperms} -c %{buildroot}

  
@@ -67,6 +66,11 @@ 

  %{_mandir}/man3/String::CRC32.3*

  

  %changelog

+ * Thu Feb 06 2020 Tom Stellard <tstellar@redhat.com> - 1.8-3

+ - Spec file cleanups: Use make_build and make_install macros, use NO_PACKLIST=1

+ - https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make

+ - https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake

+ 

  * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

I merged this locally and fixed the typo in the ExtUtils::MakeMaker reference. It's now pushed and built in Fedora.

Pull-Request has been closed by pghmcfc

2 years ago
Metadata