]> git.pld-linux.org Git - packages/CGAL.git/commitdiff
cleanup cmake macro, drop bogus dep
authorElan Ruusamäe <glen@delfi.ee>
Thu, 30 Apr 2015 13:34:54 +0000 (16:34 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 30 Apr 2015 13:34:54 +0000 (16:34 +0300)
CGAL.spec

index 048e1b150f70863e075038a60af67d9faeb852c5..3020b7557058b4f3b1ac60701617b95f425e63d8 100644 (file)
--- a/CGAL.spec
+++ b/CGAL.spec
@@ -5,9 +5,9 @@ Version:        4.6
 Release:       1
 License:       GPLv3+ and LGPLv3+
 Group:         Libraries
-URL:           http://www.cgal.org/
 Source0:       https://gforge.inria.fr/frs/download.php/file/34705/%{name}-%{version}.tar.xz
 # Source0-md5: 65fa7e17cd654ef68da47df608000007
+URL:           http://www.cgal.org/
 BuildRequires: blas-devel
 BuildRequires: boost-devel >= %{boost_version}
 BuildRequires: cmake
@@ -31,7 +31,6 @@ algorithms.
 %package devel
 Summary:       Development files and tools for CGAL applications
 Group:         Development/Libraries
-Requires:      %{_sysconfdir}/profile.d
 Requires:      %{name} = %{version}-%{release}
 Requires:      blas-devel
 Requires:      boost-devel >= %{boost_version}
@@ -62,9 +61,8 @@ demos of CGAL algorithms.
 %build
 install -d build
 cd build
-
+# what is ${CHANGE_SOVERSION} here?
 %cmake \
-       -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
        -DCGAL_INSTALL_LIB_DIR=%{_lib} \
        -DCGAL_INSTALL_DOC_DIR= ${CHANGE_SOVERSION} \
        ..
@@ -72,7 +70,6 @@ cd build
 %{__make}
 
 %install
-
 rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
This page took 0.126763 seconds and 4 git commands to generate.