Skip to content

Commit 74b1c57

Browse files
committed
cmake: make pycsdiff build with Python 3.8
Bug: https://bugzilla.redhat.com/1705427
1 parent d467f35 commit 74b1c57

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,9 @@ if (BUILD_PYCSDIFF)
7474
set(BOOST_PYTHON_LIB_NAME "boost_python"
7575
CACHE STRING "Name of the boost_python library")
7676
find_library(BOOST_PYTHON NAMES ${BOOST_PYTHON_LIB_NAME}
77-
boost_python37
78-
boost_python-3.2
79-
boost_python-3.3
80-
boost_python-3.4)
77+
boost_python39
78+
boost_python38
79+
boost_python37)
8180

8281
# query PYTHON_INCLUDE_DIR
8382
find_package(PythonInterp REQUIRED)

make-srpm.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ NV="${PKG}-${VER}"
5555
printf "\n%s: preparing a release of \033[1;32m%s\033[0m\n\n" "$SELF" "$NV"
5656

5757
TMP="`mktemp -d`"
58-
trap "echo --- $SELF: removing $TMP... 2>&1; rm -rf '$TMP'" EXIT
58+
trap "rm -rf '$TMP'" EXIT
5959
cd "$TMP" >/dev/null || die "mktemp failed"
6060

6161
# clone the repository
@@ -207,7 +207,6 @@ ctest %{?_smp_mflags} --output-on-failure
207207
%endif
208208
EOF
209209

210-
set -v
211210
rpmbuild -bs "$SPEC" \
212211
--define "_sourcedir ." \
213212
--define "_specdir ." \

0 commit comments

Comments
 (0)