]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
tcmu-runner: updated libtcmu package contents 847/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 29 Aug 2017 00:03:13 +0000 (20:03 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 29 Aug 2017 00:04:03 +0000 (20:04 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
tcmu-runner/build/build_rpm

index 7a052e4db108b9c0befa8235217cc0a625c803b4..d18e41c5fc9c039afe2c72c3374a2ad5c3642887 100644 (file)
@@ -77,8 +77,7 @@ rm -f *.rpm
 # Create the package
 fpm -s dir -t rpm -n tcmu-runner -C ${DESTDIR} \
     -v ${VERSION} --iteration ${REVISION} \
-    --exclude usr/lib64/libtcmu.so* \
-    --exclude usr/include
+    --exclude usr/lib64/libtcmu.so*
 
 cat > SCRIPTLET <<EOF
 /sbin/ldconfig
@@ -87,12 +86,11 @@ fpm -s dir -t rpm -n libtcmu -C ${DESTDIR} \
     -v ${VERSION} --iteration ${REVISION} \
     --after-install SCRIPTLET \
     --after-remove SCRIPTLET \
-    usr/lib64/libtcmu.so.1
+    usr/lib64/libtcmu.so.2
 
 fpm -s dir -t rpm -n libtcmu-devel -C ${DESTDIR} \
     -v ${VERSION} --iteration ${REVISION} \
     -d "libtcmu = ${VERSION}-${REVISION}" \
-    usr/include \
     usr/lib64/libtcmu.so