From e9c80a1a6abef65f617bb4ed1e1c38ec36f9368d Mon Sep 17 00:00:00 2001 From: Caden Myers Date: Mon, 2 Nov 2026 16:20:08 -0500 Subject: [PATCH] fix: install libdiffpy's LICENSE.rst and LICENSE_DANSE.rst in CMakeLists.txt libdiffpy renamed LICENSE.txt and LICENSE_DANSE.txt to .rst. The pinned libdiffpy commit in cmake/LibdiffpyVersion.cmake must be bumped to one that contains both .rst files before this builds. Co-Authored-By: Claude Opus 5.5 --- CMakeLists.txt | 4 ++-- news/libdiffpy-license-rst.rst | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 news/libdiffpy-license-rst.rst diff --git a/CMakeLists.txt b/CMakeLists.txt index dc25fa2..633953b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,6 +60,6 @@ install(TARGETS srreal_ext LIBRARY DESTINATION diffpy/srreal) install(DIRECTORY "${LIBDIFFPY_SOURCE_DIR}/src/runtime/" DESTINATION diffpy/srreal/data FILES_MATCHING PATTERN "*.dat" PATTERN "bvparm2011sel.cif") -install(FILES "${LIBDIFFPY_SOURCE_DIR}/LICENSE.txt" - "${LIBDIFFPY_SOURCE_DIR}/LICENSE_DANSE.txt" +install(FILES "${LIBDIFFPY_SOURCE_DIR}/LICENSE.rst" + "${LIBDIFFPY_SOURCE_DIR}/LICENSE_DANSE.rst" DESTINATION diffpy/srreal/licenses/libdiffpy) diff --git a/news/libdiffpy-license-rst.rst b/news/libdiffpy-license-rst.rst new file mode 100644 index 0000000..7a1b073 --- /dev/null +++ b/news/libdiffpy-license-rst.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* Install libdiffpy's ``LICENSE.rst`` and ``LICENSE_DANSE.rst`` instead of the renamed ``LICENSE.txt`` and ``LICENSE_DANSE.txt``. + +**Security:** + +*