]> git.pld-linux.org Git - packages/ebook-tools.git/blobdiff - ebook-tools.spec
- always use chroot-like folder for building with cmake
[packages/ebook-tools.git] / ebook-tools.spec
index 30d8fd020d5853b1a838220d7f054a63f55ec803..1217b9000d8a291917589e0be9949b4c918607e0 100644 (file)
@@ -36,15 +36,17 @@ Pakiet ten zawiera pliki nagłówkowe do ebook-tools.
 %setup -q
 
 %build
+install build
+cd build
 %cmake \
        -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-       .
+       ../
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
This page took 0.101533 seconds and 4 git commands to generate.