summaryrefslogtreecommitdiffstats
path: root/cassandra-cpp-driver.spec
diff options
context:
space:
mode:
Diffstat (limited to 'cassandra-cpp-driver.spec')
-rw-r--r--cassandra-cpp-driver.spec15
1 files changed, 1 insertions, 14 deletions
diff --git a/cassandra-cpp-driver.spec b/cassandra-cpp-driver.spec
index c3f00e5..1b972a3 100644
--- a/cassandra-cpp-driver.spec
+++ b/cassandra-cpp-driver.spec
@@ -52,18 +52,9 @@ for %{name}.
find examples -name .gitignore -exec rm {} \; -print
-sed -e "s:@prefix@:%{_prefix}:" \
- -e "s:@exec_prefix@:%{_exec_prefix}:" \
- -e "s:@libdir@:%{_libdir}:" \
- -e "s:@includedir@:%{_includedir}:" \
- -e "s:@version@:%{version}:" \
- packaging/cassandra.pc.in | tee packaging/cassandra.pc
-
%build
-%cmake \
- -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
- .
+%cmake
make %{_smp_mflags}
@@ -71,9 +62,6 @@ make %{_smp_mflags}
%install
make install DESTDIR="%{buildroot}"
-install -Dpm 644 packaging/cassandra.pc \
- %{buildroot}%{_libdir}/pkgconfig/cassandra.pc
-
rm %{buildroot}%{_libdir}/%{libname}_static.a
rm %{buildroot}%{_libdir}//pkgconfig/cassandra_static.pc
@@ -86,7 +74,6 @@ rm %{buildroot}%{_libdir}//pkgconfig/cassandra_static.pc
%files
%{!?_licensedir:%global license %%doc}
%license LICENSE.txt
-%doc *md
%{_libdir}/%{libname}.so.%{soname}*