From 37f48ae1b67b1205ba4884ec350afdf5ab7dd2d3 Mon Sep 17 00:00:00 2001 From: Mihael Koep Date: Fri, 19 Oct 2012 16:40:52 +0200 Subject: Fix version stuff for rpm packaging. --- CMakeLists.txt | 2 +- libuca.spec.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index acf0386..dffd35d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(uca C) set(TARNAME "libuca") set(UCA_VERSION_MAJOR "1") set(UCA_VERSION_MINOR "0") -set(UCA_VERSION_PATCH "2-dev") +set(UCA_VERSION_PATCH "2dev") set(UCA_DESCRIPTION "Unified Camera Access") set(UCA_VERSION_STRING "${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}.${UCA_VERSION_PATCH}") diff --git a/libuca.spec.in b/libuca.spec.in index 9e21bb2..4ffc671 100644 --- a/libuca.spec.in +++ b/libuca.spec.in @@ -62,8 +62,8 @@ mv "@UCA_BUILD_DIR@/_CPack_Packages/Linux/RPM/tmpBBroot" $RPM_BUILD_ROOT %defattr(-,root,root,-) @CMAKE_INSTALL_PREFIX@/include/uca/*.h @CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so -@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.@UCA_VERSION_MINOR@ -@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.@UCA_ABI_VERSION@ +@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.@UCA_VERSION_MAJOR@ +@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so.@UCA_VERSION_MAJOR@.@UCA_VERSION_MINOR@ @CMAKE_INSTALL_PREFIX@/lib/pkgconfig/uca.pc -- cgit v1.2.3