File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ### RPM external libzip 1.11.4
2+ Source: https://github.com/nih-at/libzip/releases/download/v%{realversion }/libzip-%{realversion }.tar.gz
3+ BuildRequires: cmake
4+ Requires: zlib zstd
5+ Requires: bz2lib
6+
7+ %prep
8+ %setup -n %{n }-%{realversion }
9+
10+ %build
11+ cmake \
12+ -S %{_builddir }/%{n }-%{realversion } \
13+ -B %{_builddir }/build \
14+ -DCMAKE_INSTALL_PREFIX=%{i } \
15+ -DCMAKE_PREFIX_PATH=%{cmake_prefix_path } \
16+ -DENABLE_COMMONCRYPTO=OFF \
17+ -DENABLE_GNUTLS=OFF \
18+ -DENABLE_MBEDTLS=OFF \
19+ -DENABLE_WINDOWS_CRYPTO=OFF \
20+ -DBUILD_EXAMPLES=OFF \
21+ -DBUILD_DOC=OFF
22+
23+ make -C %{_builddir }/build %{makeprocesses }
24+ %install
25+ make -C %{_builddir }/build %{makeprocesses } install
Original file line number Diff line number Diff line change 1- ### RPM external xrootd 5.9.4
1+ ### RPM external xrootd 6.0.1
22## INITENV +PATH LD_LIBRARY_PATH %i/lib64
33## INITENV +PATH PYTHON3PATH %{i}/${PYTHON3_LIB_SITE_PACKAGES}
44
88%define github_user xrootd
99Source: https://github.com/xrootd/xrootd/releases/download/v%{realversion }/%{n }-%{realversion }.tar.gz
1010
11- BuildRequires: cmake gmake autotools py3-pip
11+ BuildRequires: cmake gmake autotools py3-pip libzip
1212Requires: zlib libuuid curl davix
1313Requires: python3 py3-setuptools
1414Requires: libxml2
@@ -56,7 +56,7 @@ cmake ../%n-%{realversion} \
5656 -DENABLE_XRDEC= TRUE \
5757 -DCMAKE_CXX_FLAGS= "-I${LIBUUID_ROOT}/include" \
5858 -DCMAKE_SHARED_LINKER_FLAGS= "-L${LIBUUID_ROOT}/lib64" \
59- -DCMAKE_PREFIX_PATH= "%{cmake_prefix_path }"
59+ -DCMAKE_PREFIX_PATH= "%{cmake_prefix_path };$LIBZIP_ROOT "
6060
6161make %makeprocesses VERBOSE= 1
6262
You can’t perform that action at this time.
0 commit comments