From 81101830b297085cc7a3853275746ac554e1d6d1 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 14 Feb 2013 14:24:12 -0700 Subject: [PATCH] fix building of manpages - use parallel make --- zathura.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/zathura.spec b/zathura.spec index 9502324..d57c4cb 100644 --- a/zathura.spec +++ b/zathura.spec @@ -1,7 +1,7 @@ Name: zathura Version: 0.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A lightweight PDF viewer Group: Applications/Publishing License: zlib @@ -12,6 +12,7 @@ BuildRequires: gdk-pixbuf2-devel, gtk2-devel, poppler-glib-devel, cairo-devel, BuildRequires: girara-devel BuildRequires: gettext BuildRequires: desktop-file-utils +BuildRequires: python-docutils %description @@ -33,14 +34,16 @@ libraries and header files for the zathura PDF viewer. %setup -q # don't rebuid at install time sed -ie "s/install:\ all/install:\ /g" Makefile +# ensure manpages are built from *.rst sources +rm -f zathura.1 zathurarc.5 %build export CFLAGS="%{optflags}" export LIBDIR="%{_libdir}" -make debug -mv zathura-debug zathura - +# avoid stripping +export SFLAGS= +make %{_smp_mflags} %install export LIBDIR="%{_libdir}" @@ -73,6 +76,10 @@ update-desktop-database &> /dev/null || : %{_libdir}/pkgconfig/zathura.pc %changelog +* Thu Feb 14 2013 Michal Schmidt 0.2.1-2 +- fix building of manpages +- use parallel make + * Mon Nov 05 2012 Kevin Fenzi 0.2.1-1 - Update to 0.2.1