summaryrefslogtreecommitdiffstats
path: root/cassandra-cpp-driver.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-07 14:00:39 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-07 14:00:39 +0200
commit6ee50e969b1edf94b9b4f7f6d9b7c64520a49591 (patch)
treed530095e90a0450111109ff5131828bd3ef58772 /cassandra-cpp-driver.spec
parent8f8d216b7f8d059ac0ae885f6f907ff7a994b517 (diff)
cassandra-cpp-driver: cleanup
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}*