diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-09-15 19:53:47 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-09-15 19:53:47 +0400 |
commit | 084fbe13f3fe730128023e0addaab78dc344a20d (patch) | |
tree | 431d993b9476c41ba73610301b28c4af6a65648c | |
parent | 48806d41b45a9d20c97e7e8946bea2ac0903800b (diff) | |
download | rspamd-084fbe13f3fe730128023e0addaab78dc344a20d.tar.gz rspamd-084fbe13f3fe730128023e0addaab78dc344a20d.zip |
* Fix paths
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e7fe317fd..17d826465 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -808,7 +808,7 @@ License: BSD Group: Mail Source: ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -#BuildRequires: cmake, gmime, perl, libevent +#BuildRequires: cmake, gmime-devel, glib2-devel, perl, libevent-devel, lua-devel %define prefix /usr %define rpmprefix $RPM_BUILD_ROOT%{prefix} @@ -826,10 +826,11 @@ cd %{srcdirname} rm -f CMakeCache.txt cmake -DCMAKE_INSTALL_PREFIX=%{prefix} -DDESTDIR=%{rpmprefix} . make clean -make +make DESTDIR=%{rpmprefix} CMAKE_INSTALL_PREFIX=%{prefix} + %install -make install +make DESTDIR=%{rpmprefix} CMAKE_INSTALL_PREFIX=%{prefix} install cd .. %clean |