summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoram Park <boram1288.park@samsung.com>2014-07-19 12:22:27 +0900
committerBoram Park <boram1288.park@samsung.com>2014-07-19 12:22:27 +0900
commita05216c3a5c177e83249691fff21ec58db9bf4e7 (patch)
tree9fbacfa2fe3a804385554cbdc2e18c195e28a659
parenta704107cb119bc2a495a82291b31ea3a2f91f450 (diff)
downloadxeyes-a05216c3a5c177e83249691fff21ec58db9bf4e7.tar.gz
xeyes-a05216c3a5c177e83249691fff21ec58db9bf4e7.tar.bz2
xeyes-a05216c3a5c177e83249691fff21ec58db9bf4e7.zip
Change-Id: I2555456865da1e7b6cee71b14c3b2c3fff2158b6
-rwxr-xr-xpackaging/xeyes.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/packaging/xeyes.spec b/packaging/xeyes.spec
index d4cf708..7dfa916 100755
--- a/packaging/xeyes.spec
+++ b/packaging/xeyes.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Summary: X.Org X11 applications
Name: xeyes
# NOTE: The package version should be set to the X11 major release from which
@@ -37,6 +39,10 @@ BuildRequires: libXxf86vm-devel
Provides: xeyes
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
A collection of common X Window System applications.
@@ -44,8 +50,8 @@ A collection of common X Window System applications.
%setup -q
%build
-%configure
-make
+%autogen --disable-static
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT