Skip to content

Commit 5ecf290

Browse files
committed
add scitokens-* binaries to the packages
1 parent 2a2b4ef commit 5ecf290

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,11 @@ enable_testing()
8282
add_subdirectory(test)
8383
endif()
8484

85+
get_directory_property(TARGETS BUILDSYSTEM_TARGETS)
8586
install(
86-
TARGETS SciTokens
87-
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
87+
TARGETS ${TARGETS}
88+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
89+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
8890

8991
install(
9092
FILES src/scitokens.h

debian/libscitokens0.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
debian/tmp/usr/lib/*/libSciTokens.so.*
2+
debian/tmp/usr/bin/scitokens-*

rpm/scitokens-cpp.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Requires: %{name}%{?_isa} = %{version}
5656

5757
%files
5858
%{_libdir}/libSciTokens.so.0*
59+
%{_bindir}/scitokens-*
5960
%license LICENSE
6061
%doc README.md
6162

@@ -65,6 +66,8 @@ Requires: %{name}%{?_isa} = %{version}
6566
%dir %{_includedir}/scitokens
6667

6768
%changelog
69+
#- Add scitokens-* binaries to the package
70+
6871
* Fri Sep 03 2021 Dave Dykstra <dwd@fnal.gov> - 0.6.3-1
6972
- Add support for building Debian packages on the OpenSUSE Build System
7073
- Add patch to jwt-cpp to update its picojson dependency in order to

0 commit comments

Comments
 (0)