summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libzip.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/libzip.spec b/libzip.spec
index 5d1fc75..75c3263 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -129,8 +129,6 @@ The %{name}-tools package provides command line tools split off %{name}:
# unwanted in package documentation
rm INSTALL.md
-
-%build
# drop skipped test which make test suite fails (cmake issue ?)
sed -e '/clone-fs-/d' \
%if ! %{with_xz}
@@ -141,6 +139,8 @@ sed -e '/clone-fs-/d' \
%endif
-i regress/CMakeLists.txt
+
+%build
%if 0%{?rhel} == 6 || 0%{?rhel} == 7
sed -e 's/COMMAND cmake /COMMAND cmake3 /' -i CMakeLists.txt regress/CMakeLists.txt
%cmake3 \