From 1070ef474fc0923056d74336defe0987550b01b0 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Fri, 2 Aug 2019 22:12:52 +0200 Subject: [PATCH] clean up the spec file even more (thanks to ppisar) --- perl-CommonMark.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/perl-CommonMark.spec b/perl-CommonMark.spec index 1e3ebff..5231cfb 100644 --- a/perl-CommonMark.spec +++ b/perl-CommonMark.spec @@ -1,6 +1,6 @@ Name: perl-CommonMark Version: 0.290000 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Interface to the CommonMark C library License: GPL+ or Artistic @@ -38,11 +38,11 @@ It closely follows the original API. %setup -q -n CommonMark-%{version} %build -/usr/bin/perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 +/usr/bin/perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %{?_smp_mflags} %install -/usr/bin/make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +%{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -56,6 +56,10 @@ It closely follows the original API. %{_mandir}/man3/* %changelog +* Fri Aug 02 2019 Emmanuel Seyman - 0.290000-3 +- Pass NO_PERLLOCAL to Makefile.PL +- Use %%{make_install} instead of make install (thanks to ppisar) + * Thu Aug 01 2019 Emmanuel Seyman - 0.290000-2 - Take into account review comments (#1735562)