Skip to content

Commit

Permalink
cmake: Fix invalid Provides: field in Debian packages
Browse files Browse the repository at this point in the history
CMake doesn't really like multi-line strings and considers it as a
semicolon-separated list.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
  • Loading branch information
pcercuei committed Jun 21, 2023
1 parent 8ab3029 commit cb3bcf6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmake/LinuxPackaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,8 @@ endif()

# Make sure the generated .deb cannot be installed alongside the Debian ones
set(CPACK_DEBIAN_PACKAGE_PROVIDES
"libiio0 (= ${LIBIIO_VERSION}), "
"libiio-dev (= ${LIBIIO_VERSION}), "
"libiio-utils (= ${LIBIIO_VERSION}), "
"iiod (= ${LIBIIO_VERSION})")
"libiio0 (= ${LIBIIO_VERSION}), libiio-dev (= ${LIBIIO_VERSION}), libiio-utils (= ${LIBIIO_VERSION}), iiod (= ${LIBIIO_VERSION})"
)
set(CPACK_DEBIAN_PACKAGE_CONFLICTS "libiio0, libiio-dev, libiio-utils, iiod")
set(CPACK_DEBIAN_PACKAGE_REPLACES "libiio0, libiio-dev, libiio-utils, iiod")

Expand Down

0 comments on commit cb3bcf6

Please sign in to comment.