summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-12-23 09:40:03 +0100
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2015-01-06 11:17:17 +0100
commit20dea7b85782721a203bac92d90a4544a76b8e00 (patch)
treedf23ee482c06dbb9b8dd2e9c5de6f29f0d6c340c
parentcb40e881f61958207a3b4de1501fc3610adc5457 (diff)
downloadcmake-accepted/tizen_ivi.tar.gz
cmake-accepted/tizen_ivi.tar.bz2
cmake-accepted/tizen_ivi.zip
Bug-Tizen: TC-2230 Change-Id: I30413dba248244c4b4c7e8544a4752e2f61555d4 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org> Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r--packaging/cmake.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/packaging/cmake.spec b/packaging/cmake.spec
index b3613a976..21acd7791 100644
--- a/packaging/cmake.spec
+++ b/packaging/cmake.spec
@@ -1,6 +1,6 @@
Name: cmake
-Version: 2.8.11.2
-Release: 1
+Version: 2.8.12.2
+Release: 0
License: BSD-3-Clause
Summary: Cross-platform make system
Url: http://www.cmake.org
@@ -8,7 +8,7 @@ Group: Platfrom Development/Tools
Source0: http://www.cmake.org/files/v2.8/cmake-%{version}.tar.gz
Source1: macros.cmake
Source2: TizenCommon.cmake
-Source1001: cmake.manifest
+Source1001: cmake.manifest
BuildRequires: fdupes
BuildRequires: expat-devel
BuildRequires: pkgconfig(libarchive) >= 2.8.0
@@ -42,19 +42,19 @@ export CFLAGS="$CXXFLAGS"
--system-libs \
--parallel=0%jobs \
--no-qt-gui
-make VERBOSE=1 %{?_smp_mflags}
+%__make VERBOSE=1 %{?_smp_mflags}
%install
%make_install
-mkdir -p %{buildroot}%{_libdir}/cmake
-find %{buildroot}/usr/share/cmake -type f -print0 | xargs -0 chmod 644
-cp %{SOURCE2} %{buildroot}/%{_datadir}/%{name}/Modules
+mkdir -p %{buildroot}%{_libdir}/%{name}
+find %{buildroot}%{_datadir}/%{name} -type f -print0 | xargs -0 chmod 644
+cp %{SOURCE2} %{buildroot}%{_datadir}/%{name}/Modules
# Install cmake rpm macros
install -D -p -m 0644 %{S:1} \
%{buildroot}%{_sysconfdir}/rpm/macros.cmake
-fdupes %buildroot/usr/share/cmake
+fdupes %{buildroot}%{_datadir}/%{name}
%docs_package