clean up the spec file even more (thanks to ppisar)

f38
Emmanuel Seyman 6 years ago
parent 1b9c975d3f
commit 1070ef474f

@ -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 <emmanuel@seyman.fr> - 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 <emmanuel@seyman.fr> - 0.290000-2
- Take into account review comments (#1735562)

Loading…
Cancel
Save