[blackbox] Last cleanup.

Christopher Meng cicku at fedoraproject.org
Thu Jul 3 13:27:27 UTC 2014


commit ae715f2bcb7b84681103482db05d225d60f758c7
Author: Christopher Meng <i at cicku.me>
Date:   Thu Jul 3 21:27:26 2014 +0800

    Last cleanup.

 blackbox.spec |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/blackbox.spec b/blackbox.spec
index dbc4835..9004a70 100644
--- a/blackbox.spec
+++ b/blackbox.spec
@@ -10,11 +10,12 @@ Source2:        blackbox.session
 Patch0:         blackbox-0.70.1-gcc43.patch
 # Bug #660798
 Patch1:         blackbox-0.70.1-Xutil.patch
+BuildRequires:  automake
+BuildRequires:  autoconf
+BuildRequires:  libtool
 BuildRequires:  libXext-devel
 BuildRequires:  libXft-devel
 BuildRequires:  libXt-devel
-# Required for autoreconf
-BuildRequires:  automake, autoconf, libtool
 
 %description
 Blackbox is a window manager for the X Window environment, which is
@@ -27,9 +28,9 @@ small in size, blackbox preserves memory and CPU.
 %package        devel
 Summary:        Development files for %{name}
 Requires:       %{name}%{?_isa} = %{version}-%{release}
-Requires:       libXft-devel
+Requires:       libXft-devel%{?_isa}
 
-%description devel
+%description    devel
 This package contains the Blackbox Toolbox files, headers and static library
 of the utility class library for writing small applications.
 
@@ -39,14 +40,14 @@ of the utility class library for writing small applications.
 %patch1 -p1 -b .Xutil
 # %%{__global_ldflags} wrongly passed to pkgconfig file
 sed -i 's|@LDFLAGS@||g' lib/libbt.pc.in
-# Required to cleanly get rid of the useless rpath
-autoreconf -fiv
 
 %build
+# Required to cleanly get rid of the useless rpath
+autoreconf -fiv
 %configure \
     --enable-shared \
     --disable-static
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install


More information about the scm-commits mailing list