[sddm] patch CMakeLists.txt in %prep section
Rex Dieter
rdieter at fedoraproject.org
Sat Sep 21 19:58:57 UTC 2013
commit 0308a1ee7d3d725dcadf6a2c67484b4cd27ee0b1
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Sat Sep 21 14:55:00 2013 -0500
patch CMakeLists.txt in %prep section
sddm.spec | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/sddm.spec b/sddm.spec
index 35ba630..4c18ee9 100644
--- a/sddm.spec
+++ b/sddm.spec
@@ -44,10 +44,12 @@ designer the ability to create smooth, animated user interfaces.
%setup -q -n %{name}-%{sddm_commit}
%patch2 -p1 -b .session-list
-%build
-mkdir -p %{_target_platform}
# get rid of the architecture flag
sed -i "s/-march=native//" CMakeLists.txt
+
+
+%build
+mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake} ..
popd
More information about the scm-commits
mailing list