From 7bd33f1eb88ce537e21693a805390d6385e43b80 Mon Sep 17 00:00:00 2001 From: Mihael Koep Date: Tue, 30 Oct 2012 18:21:05 +0100 Subject: Include CPack in the build process and set the package file name correctly. --- libuca.spec.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libuca.spec.in') diff --git a/libuca.spec.in b/libuca.spec.in index 3835d89..0f77f95 100644 --- a/libuca.spec.in +++ b/libuca.spec.in @@ -60,11 +60,10 @@ mv "@UCA_BUILD_DIR@/_CPack_Packages/Linux/RPM/tmpBBroot" $RPM_BUILD_ROOT %files %defattr(-,root,root,-) +@CMAKE_INSTALL_PREFIX@/bin/control @CMAKE_INSTALL_PREFIX@/include/uca/*.h -@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/libuca.so -@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 +@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@/* +@CMAKE_INSTALL_PREFIX@/share/* %changelog -- cgit v1.2.3