From b2e0fa286f2329021647b0d56d3c395278f3f10b Mon Sep 17 00:00:00 2001 From: Brian Sipos Date: Thu, 18 Sep 2025 19:34:44 -0400 Subject: [PATCH 1/9] Initialized to use tito. --- .tito/packages/.readme | 3 +++ .tito/tito.props | 6 ++++++ pkg/bsl.spec.in => bsl.spec | 0 3 files changed, 9 insertions(+) create mode 100644 .tito/packages/.readme create mode 100644 .tito/tito.props rename pkg/bsl.spec.in => bsl.spec (100%) diff --git a/.tito/packages/.readme b/.tito/packages/.readme new file mode 100644 index 0000000..b9411e2 --- /dev/null +++ b/.tito/packages/.readme @@ -0,0 +1,3 @@ +the .tito/packages directory contains metadata files +named after their packages. Each file has the latest tagged +version and the project's relative directory. diff --git a/.tito/tito.props b/.tito/tito.props new file mode 100644 index 0000000..9f6fd2b --- /dev/null +++ b/.tito/tito.props @@ -0,0 +1,6 @@ +[buildconfig] +builder = tito.builder.Builder +tagger = tito.tagger.VersionTagger +changelog_do_not_remove_cherrypick = 0 +changelog_format = %s (%ae) + diff --git a/pkg/bsl.spec.in b/bsl.spec similarity index 100% rename from pkg/bsl.spec.in rename to bsl.spec From 47f26bef859c3519640c3ae47c34dd77daaa1897 Mon Sep 17 00:00:00 2001 From: Brian Sipos Date: Thu, 18 Sep 2025 19:36:36 -0400 Subject: [PATCH 2/9] update tito.props --- .tito/packages/bsl | 1 + .tito/tito.props | 1 + bsl.spec | 11 +++++++---- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .tito/packages/bsl diff --git a/.tito/packages/bsl b/.tito/packages/bsl new file mode 100644 index 0000000..eff0994 --- /dev/null +++ b/.tito/packages/bsl @@ -0,0 +1 @@ +1.0.0-1 ./ diff --git a/.tito/tito.props b/.tito/tito.props index 9f6fd2b..967d3f9 100644 --- a/.tito/tito.props +++ b/.tito/tito.props @@ -1,6 +1,7 @@ [buildconfig] builder = tito.builder.Builder tagger = tito.tagger.VersionTagger +tag_format = v%(version)s changelog_do_not_remove_cherrypick = 0 changelog_format = %s (%ae) diff --git a/bsl.spec b/bsl.spec index 3ea8661..a841c5d 100644 --- a/bsl.spec +++ b/bsl.spec @@ -1,13 +1,13 @@ %bcond_with apidoc Name: bsl -Version: @PROJECT_VERSION@ -Release: @GIT_TAG_MOD@%{?dist} +Version: 1.0.0 +Release: 1%{?dist} Summary: The Bundle Protocol Security Library (BSL) URL: https://github.com/NASA-AMMOS/BSL # License "Apache-2.0" is not accepted by rpmlint License: ASL 2.0 -Source0: @CPACK_SOURCE_PACKAGE_FILE_NAME@.tar.gz +Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc @@ -143,7 +143,10 @@ popd %changelog -* Wed Sep 17 2025 Brian Sipos - 1.0.0-0 +* Thu Sep 18 2025 Brian Sipos 1.0.0-1 +- new package built with tito + +* Wed Sep 17 2025 Brian Sipos - 1.0.0-1 - Initial release version. * Mon Oct 07 2024 Brian Sipos - 0.0.0-0 From 842c1ff662aca74a53311db992dd62c6d0354d8a Mon Sep 17 00:00:00 2001 From: Brian Sipos Date: Thu, 18 Sep 2025 20:08:48 -0400 Subject: [PATCH 3/9] Clamping project version --- .tito/tito.props | 4 ++-- CMakeLists.txt | 5 ++++- bsl.spec | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.tito/tito.props b/.tito/tito.props index 967d3f9..d30879b 100644 --- a/.tito/tito.props +++ b/.tito/tito.props @@ -1,7 +1,7 @@ [buildconfig] -builder = tito.builder.Builder +builder = tito.builder.SubmoduleAwareBuilder tagger = tito.tagger.VersionTagger -tag_format = v%(version)s +tag_format = v{version} changelog_do_not_remove_cherrypick = 0 changelog_format = %s (%ae) diff --git a/CMakeLists.txt b/CMakeLists.txt index 35044a5..dc7c56d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +if(NOT PROJECT_VERSION) # Ingest the git tag as project version name find_package(Git) execute_process( @@ -59,10 +60,12 @@ STRING(REGEX REPLACE [[^v([0-9]+\.[0-9]+\.[0-9]+).*]] [[\1]] GIT_TAG_VERS ${GIT_ STRING(REGEX REPLACE [[^v[0-9\.]*-(.+)]] [[\1]] GIT_TAG_MOD ${GIT_TAG_REV}) STRING(REPLACE "-" "." GIT_TAG_MOD ${GIT_TAG_MOD}) message(STATUS "Using version marking ${GIT_TAG_VERS} - ${GIT_TAG_MOD}") +set(PROJECT_VERSION ${GIT_TAG_VERS}) +endif(NOT PROJECT_VERSION) project(bsl LANGUAGES C CXX - VERSION ${GIT_TAG_VERS} + VERSION ${PROJECT_VERSION} ) # Language options diff --git a/bsl.spec b/bsl.spec index a841c5d..8f83e70 100644 --- a/bsl.spec +++ b/bsl.spec @@ -59,6 +59,7 @@ from the API with Doxygen. ./build.sh deps %cmake -DCMAKE_PREFIX_PATH=${PWD}/testroot/usr \ + -DPROJECT_VERSION=%{version} \ -DBUILD_UNITTEST=YES -DTEST_MEMCHECK=NO -DTEST_COVERAGE=NO \ -DBUILD_DOCS_MAN=YES %{?with_apidoc:-DBUILD_DOCS_API=YES} @@ -144,7 +145,7 @@ popd %changelog * Thu Sep 18 2025 Brian Sipos 1.0.0-1 -- new package built with tito +- New package built with tito * Wed Sep 17 2025 Brian Sipos - 1.0.0-1 - Initial release version. From 715f5dcd84e59b9ebdde87faf3e3033f89d0a9fe Mon Sep 17 00:00:00 2001 From: Brian Sipos Date: Thu, 18 Sep 2025 20:16:29 -0400 Subject: [PATCH 4/9] mark release 2 --- .tito/packages/bsl | 2 +- bsl.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.tito/packages/bsl b/.tito/packages/bsl index eff0994..2a93842 100644 --- a/.tito/packages/bsl +++ b/.tito/packages/bsl @@ -1 +1 @@ -1.0.0-1 ./ +1.0.0-2 ./ diff --git a/bsl.spec b/bsl.spec index 8f83e70..90019ec 100644 --- a/bsl.spec +++ b/bsl.spec @@ -144,7 +144,7 @@ popd %changelog -* Thu Sep 18 2025 Brian Sipos 1.0.0-1 +* Thu Sep 18 2025 Brian Sipos 1.0.0-2 - New package built with tito * Wed Sep 17 2025 Brian Sipos - 1.0.0-1 From eb8f0856c49052771194174f37fad128253d005a Mon Sep 17 00:00:00 2001 From: Brian Sipos Date: Thu, 18 Sep 2025 20:28:25 -0400 Subject: [PATCH 5/9] deps require rsync --- bsl.spec | 1 + resources/deps.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/bsl.spec b/bsl.spec index 90019ec..8878907 100644 --- a/bsl.spec +++ b/bsl.spec @@ -9,6 +9,7 @@ URL: https://github.com/NASA-AMMOS/BSL License: ASL 2.0 Source0: %{name}-%{version}.tar.gz +BuildRequires: rsync BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ diff --git a/resources/deps.sh b/resources/deps.sh index 43df52d..91b1d2d 100755 --- a/resources/deps.sh +++ b/resources/deps.sh @@ -56,7 +56,6 @@ then cmake --build ${BUILDDIR}/QCBOR cmake --install ${BUILDDIR}/QCBOR rm -rf ${BUILDDIR}/QCBOR - ! git status || git restore . popd fi From beb6d6e6d3f94765df0f2a60aa18b0b719e2c46a Mon Sep 17 00:00:00 2001 From: Brian Sipos Date: Thu, 18 Sep 2025 20:30:54 -0400 Subject: [PATCH 6/9] fix rel --- bsl.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsl.spec b/bsl.spec index 8878907..a214060 100644 --- a/bsl.spec +++ b/bsl.spec @@ -2,7 +2,7 @@ Name: bsl Version: 1.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Bundle Protocol Security Library (BSL) URL: https://github.com/NASA-AMMOS/BSL # License "Apache-2.0" is not accepted by rpmlint From 8e05e7784cbf5d6f2d32813cde60b15920c64f5e Mon Sep 17 00:00:00 2001 From: Brian Sipos Date: Thu, 18 Sep 2025 21:21:55 -0400 Subject: [PATCH 7/9] remove cpack and replace with tito --- .github/workflows/packages.yaml | 12 +++--- CMakeLists.txt | 62 ++++++++++------------------ bsl.spec | 8 +++- build.sh | 27 ++++--------- pkg/CMakeLists.txt | 71 --------------------------------- 5 files changed, 40 insertions(+), 140 deletions(-) delete mode 100644 pkg/CMakeLists.txt diff --git a/.github/workflows/packages.yaml b/.github/workflows/packages.yaml index b76dac1..35cad5c 100644 --- a/.github/workflows/packages.yaml +++ b/.github/workflows/packages.yaml @@ -45,7 +45,7 @@ jobs: openssl-devel jansson-devel \ doxygen graphviz plantuml texlive-bibtex \ asciidoctor \ - rpm-build rpmlint + tito rpm-build rpmlint - name: Checkout repository uses: actions/checkout@v4 with: @@ -55,8 +55,6 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: create-symlink: true - - name: Prep - run: ./build.sh rpm-prep - name: Build run: ./build.sh rpm-build - name: Check @@ -67,7 +65,7 @@ jobs: echo "## rpmlint results:" >> $GITHUB_STEP_SUMMARY echo >> $GITHUB_STEP_SUMMARY echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - cat build/default/pkg/rpmbuild/rpmlint.txt >> $GITHUB_STEP_SUMMARY + cat build/default/pkg/rpmlint.txt >> $GITHUB_STEP_SUMMARY echo >> $GITHUB_STEP_SUMMARY echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - name: Archive @@ -75,7 +73,7 @@ jobs: with: name: bsl-rpm path: | - build/default/pkg/rpmbuild/SRPMS - build/default/pkg/rpmbuild/RPMS - build/default/pkg/rpmbuild/rpmlint.txt + build/default/pkg/*.rpm + build/default/pkg/x86_64/*.rpm + build/default/pkg/rpmlint.txt retention-days: 1 diff --git a/CMakeLists.txt b/CMakeLists.txt index dc7c56d..b4baafb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,37 +30,36 @@ option(BUILD_UNITTEST "Enable building unit tests" ON) option(TEST_MEMCHECK "Enable test runtime memory checking" ON) option(BUILD_COVERAGE "Enable runtime coverage logging and reporting" OFF) option(BUILD_FUZZING "Enable building fuzzing executables" OFF) -option(BUILD_PACKAGE "Enable building package outputs" OFF) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") set(CMAKE_EXPORT_COMPILE_COMMANDS ON) if(NOT PROJECT_VERSION) -# Ingest the git tag as project version name -find_package(Git) -execute_process( - COMMAND ${GIT_EXECUTABLE} describe --tags --long --dirty - RESULT_VARIABLE GIT_TAG_EXIT - OUTPUT_VARIABLE GIT_TAG_REV - OUTPUT_STRIP_TRAILING_WHITESPACE - ERROR_QUIET -) -if(NOT GIT_TAG_EXIT EQUAL 0) + # Ingest the git tag as project version name + find_package(Git) execute_process( - COMMAND ${GIT_EXECUTABLE} describe --always --dirty - OUTPUT_VARIABLE GIT_COMMIT + COMMAND ${GIT_EXECUTABLE} describe --tags --long --dirty + RESULT_VARIABLE GIT_TAG_EXIT + OUTPUT_VARIABLE GIT_TAG_REV OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_QUIET ) - set(GIT_TAG_REV "v0.0.0-0-g${GIT_COMMIT}") - message(WARNING "No git tag found, marking as ${GIT_TAG_REV}") -endif() -# Make version compatible with CMake and RPM needs -STRING(REGEX REPLACE [[^v([0-9]+\.[0-9]+\.[0-9]+).*]] [[\1]] GIT_TAG_VERS ${GIT_TAG_REV}) -STRING(REGEX REPLACE [[^v[0-9\.]*-(.+)]] [[\1]] GIT_TAG_MOD ${GIT_TAG_REV}) -STRING(REPLACE "-" "." GIT_TAG_MOD ${GIT_TAG_MOD}) -message(STATUS "Using version marking ${GIT_TAG_VERS} - ${GIT_TAG_MOD}") -set(PROJECT_VERSION ${GIT_TAG_VERS}) + if(NOT GIT_TAG_EXIT EQUAL 0) + execute_process( + COMMAND ${GIT_EXECUTABLE} describe --always --dirty + OUTPUT_VARIABLE GIT_COMMIT + OUTPUT_STRIP_TRAILING_WHITESPACE + ) + set(GIT_TAG_REV "v0.0.0-0-g${GIT_COMMIT}") + message(WARNING "No git tag found, marking as ${GIT_TAG_REV}") + endif() + # Make version compatible with CMake and RPM needs + STRING(REGEX REPLACE [[^v([0-9]+\.[0-9]+\.[0-9]+).*]] [[\1]] GIT_TAG_VERS ${GIT_TAG_REV}) + STRING(REGEX REPLACE [[^v[0-9\.]*-(.+)]] [[\1]] GIT_TAG_MOD ${GIT_TAG_REV}) + STRING(REPLACE "-" "." GIT_TAG_MOD ${GIT_TAG_MOD}) + message(STATUS "Using version marking ${GIT_TAG_VERS} - ${GIT_TAG_MOD}") + set(PROJECT_VERSION ${GIT_TAG_VERS}) endif(NOT PROJECT_VERSION) project(bsl @@ -197,25 +196,6 @@ set(TEST_INSTALL_PREFIX "${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME}") add_subdirectory(test) add_subdirectory(docs) -if(BUILD_PACKAGE) - # Source packaging as tarball build with target package_source - set(CPACK_SOURCE_GENERATOR "TGZ") - set(CPACK_SOURCE_IGNORE_FILES - "/\\.git/" - "/\\.github/" - "/\\.ccache/" - "/\\.pytest_cache/" - "/__pycache__/" - build/ - testroot/ - ".*~$" - ) - set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CMAKE_PROJECT_VERSION}") - set(CPACK_VERBATIM_VARIABLES YES) - include(CPack) - - add_subdirectory(pkg) -endif(BUILD_PACKAGE) add_custom_command( DEPENDS CMakeGraphVizOptions.cmake diff --git a/bsl.spec b/bsl.spec index a214060..f348f3f 100644 --- a/bsl.spec +++ b/bsl.spec @@ -61,9 +61,10 @@ from the API with Doxygen. %cmake -DCMAKE_PREFIX_PATH=${PWD}/testroot/usr \ -DPROJECT_VERSION=%{version} \ - -DBUILD_UNITTEST=YES -DTEST_MEMCHECK=NO -DTEST_COVERAGE=NO \ + -DBUILD_UNITTEST=YES -DTEST_MEMCHECK=NO -DBUILD_COVERAGE=NO \ -DBUILD_DOCS_MAN=YES %{?with_apidoc:-DBUILD_DOCS_API=YES} + %build %cmake_build %cmake_build --target docs-man @@ -71,6 +72,7 @@ from the API with Doxygen. %cmake_build --target docs-api-html %endif + %install # Only during this stage can the {buildroot} be written to @@ -96,6 +98,10 @@ popd %cmake_install +%check +%cmake_build --target check + + %files %license LICENSE %doc README.md diff --git a/build.sh b/build.sh index dbb57cd..107b21e 100755 --- a/build.sh +++ b/build.sh @@ -44,7 +44,6 @@ function usage { echo " install - Install" echo " lint - Run clang-tidy code linter" echo " prep [args...] - Generate makefiles with config options" - echo " rpm-prep - Prepare for RPM package building" echo " rpm-build - Build RPM package after rpm-prep" echo " rpm-check - Check RPM packages after rpm-build" echo " rpm-container - Build and check RPM packages inside container" @@ -112,31 +111,22 @@ function cmd_prep { ./resources/prep.sh "$@" } -function cmd_rpm_prep { +function cmd_rpm_build { if ! git describe 2>/dev/null >/dev/null then git config --global --add safe.directory ${PWD} fi - ./resources/prep.sh -DBUILD_LIB=OFF -DBUILD_UNITTEST=OFF -DBUILD_DOCS_API=OFF -DBUILD_DOCS_MAN=OFF -DBUILD_PACKAGE=ON -} - -function cmd_rpm_build { - cmake --build build/default --target package_srpm - cmake --build build/default --target package_rpm + tito build -o build/default/pkg --test --srpm + tito build -o build/default/pkg --test --rpm } function cmd_rpm_check { # Package scanning - cd build/default/pkg/rpmbuild - for PKG in RPMS/x86_64/*.rpm - do - echo - rpm -qilp ${PKG} - done + pushd build/default/pkg rpmlint --file=${SELFDIR}/pkg/rpmlintrc . | tee rpmlint.txt # Trial install - dnf install -y RPMS/x86_64/*.rpm + dnf install -y x86_64/*.rpm dnf repoquery -l 'bsl*' } @@ -158,8 +148,8 @@ function cmd_rpm_container { echo "Executing in container..." ${DOCKER} container start -a ${CID} - mkdir -p build/default/pkg/rpmbuild - ${DOCKER} container cp ${CID}:/usr/local/src/bsl/build/default/pkg/rpmbuild/. ${SELFDIR}/build/default/pkg/rpmbuild + mkdir -p build/default/pkg + ${DOCKER} container cp ${CID}:/usr/local/src/bsl/build/default/pkg/. ${SELFDIR}/build/default/pkg echo "Removing container..." ${DOCKER} container rm ${CID} @@ -229,9 +219,6 @@ case "$1" in prep) cmd_prep "$@" ;; - rpm-prep) - cmd_rpm_prep - ;; rpm-build) cmd_rpm_build ;; diff --git a/pkg/CMakeLists.txt b/pkg/CMakeLists.txt deleted file mode 100644 index 745c34f..0000000 --- a/pkg/CMakeLists.txt +++ /dev/null @@ -1,71 +0,0 @@ -#[[ -Copyright (c) 2025 The Johns Hopkins University Applied Physics -Laboratory LLC. - -This file is part of the Bundle Protocol Security Library (BSL). - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -This work was performed for the Jet Propulsion Laboratory, California -Institute of Technology, sponsored by the United States Government under -the prime contract 80NM0018D0004 between the Caltech and NASA under -subcontract 1700763. -]] -find_program(CPACK_EXECUTABLE cpack REQUIRED) -find_program(RPMBUILD_EXECUTABLE rpmbuild REQUIRED) - -configure_file(bsl.spec.in bsl.spec @ONLY) -set(RPMBUILD_TOPDIR ${CMAKE_CURRENT_BINARY_DIR}/rpmbuild) -set(RPMBUILD_OPTS "--define=_topdir ${RPMBUILD_TOPDIR}") -list(APPEND RPMBUILD_OPTS "--with=apidoc") - -# invoke cpack as a command, not as a target, to avoid duplicate runs -add_custom_command( - OUTPUT "${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz" - DEPENDS ${CMAKE_BINARY_DIR}/CPackSourceConfig.cmake - COMMAND ${CPACK_EXECUTABLE} -G TGZ --config ${CMAKE_BINARY_DIR}/CPackSourceConfig.cmake - COMMENT "CPack generating ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz" -) - -# stage files following rpmbuild conventions -add_custom_command( - OUTPUT "${RPMBUILD_TOPDIR}/SOURCES/${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz" - DEPENDS "${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz" - COMMAND ${CMAKE_COMMAND} -E make_directory ${RPMBUILD_TOPDIR}/SOURCES - COMMAND ${CMAKE_COMMAND} -E create_hardlink "${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz" "${RPMBUILD_TOPDIR}/SOURCES/${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz" - COMMENT "Placing ${PROJECT_NAME} source" -) -add_custom_command( - OUTPUT "${RPMBUILD_TOPDIR}/SPECS/bsl.spec" - DEPENDS bsl.spec - COMMAND ${CMAKE_COMMAND} -E make_directory ${RPMBUILD_TOPDIR}/SPECS - COMMAND ${CMAKE_COMMAND} -E create_hardlink ${CMAKE_CURRENT_BINARY_DIR}/bsl.spec ${RPMBUILD_TOPDIR}/SPECS/bsl.spec - COMMENT "Placing ${PROJECT_NAME} spec" -) - -add_custom_target( - package_srpm - DEPENDS ${RPMBUILD_TOPDIR}/SPECS/bsl.spec "rpmbuild/SOURCES/${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz" - WORKING_DIRECTORY ${RPMBUILD_TOPDIR} - COMMAND ${RPMBUILD_EXECUTABLE} ${RPMBUILD_OPTS} --bs SPECS/bsl.spec - COMMENT "Build SRPM" - VERBATIM - USES_TERMINAL -) -add_custom_target( - package_rpm - DEPENDS ${RPMBUILD_TOPDIR}/SPECS/bsl.spec "rpmbuild/SOURCES/${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz" - WORKING_DIRECTORY ${RPMBUILD_TOPDIR} - COMMAND ${RPMBUILD_EXECUTABLE} ${RPMBUILD_OPTS} --clean --bb SPECS/bsl.spec - COMMENT "Build RPMS" - VERBATIM - USES_TERMINAL -) From fa0db9a46139d591b5d4e303ffd811e6e11f2d50 Mon Sep 17 00:00:00 2001 From: Brian Sipos Date: Thu, 18 Sep 2025 21:29:38 -0400 Subject: [PATCH 8/9] fix --- bsl.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsl.spec b/bsl.spec index f348f3f..32a8199 100644 --- a/bsl.spec +++ b/bsl.spec @@ -99,7 +99,7 @@ popd %check -%cmake_build --target check +%cmake_build --target test %files From 940eb60afeb6a9d40a9c4ac36a0800912404aa1c Mon Sep 17 00:00:00 2001 From: Brian Sipos Date: Fri, 19 Sep 2025 08:31:35 -0400 Subject: [PATCH 9/9] Update packages.yaml --- .github/workflows/packages.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/packages.yaml b/.github/workflows/packages.yaml index 35cad5c..0d386e6 100644 --- a/.github/workflows/packages.yaml +++ b/.github/workflows/packages.yaml @@ -65,7 +65,7 @@ jobs: echo "## rpmlint results:" >> $GITHUB_STEP_SUMMARY echo >> $GITHUB_STEP_SUMMARY echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - cat build/default/pkg/rpmlint.txt >> $GITHUB_STEP_SUMMARY + cat build/default/pkg/rpmlint.txt >> $GITHUB_STEP_SUMMARY || true echo >> $GITHUB_STEP_SUMMARY echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - name: Archive @@ -74,6 +74,6 @@ jobs: name: bsl-rpm path: | build/default/pkg/*.rpm - build/default/pkg/x86_64/*.rpm + build/default/pkg/*/*.rpm build/default/pkg/rpmlint.txt retention-days: 1