Skip to content

Commit

Permalink
Bumped cepgen to 1.2.1, and adapted dependencies
Browse files Browse the repository at this point in the history
- additionally requires bzlib2
- collateral damage: CMake bumped to version 3.25.2
  • Loading branch information
forthommel committed Feb 29, 2024
1 parent 80065e8 commit 866e2d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions cepgen.spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
### RPM external cepgen 1.0.2patch1
### RPM external cepgen 1.2.1

Source: https://github.com/cepgen/cepgen/archive/refs/tags/%{realversion}.tar.gz

BuildRequires: cmake ninja
Requires: gsl OpenBLAS hepmc hepmc3 lhapdf pythia6 root
Requires: gsl OpenBLAS hepmc hepmc3 lhapdf pythia6 root bz2lib zlib xz

%prep
%setup -n %{n}-%{realversion}
Expand All @@ -24,7 +24,8 @@ export ROOTSYS=${ROOT_ROOT}
cmake ../%{n}-%{realversion} \
-G Ninja \
-DCMAKE_INSTALL_PREFIX:PATH="%i" \
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH="${BZ2LIB_ROOT};${ZLIB_ROOT};${XZ_ROOT}"

ninja -v %{makeprocesses}

Expand Down
2 changes: 1 addition & 1 deletion cmake.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### RPM external cmake 3.18.2
### RPM external cmake 3.25.2
%define downloaddir %(echo %realversion | cut -d. -f1,2)
Source: http://www.cmake.org/files/v%{downloaddir}/%n-%realversion.tar.gz
Requires: bz2lib curl expat zlib
Expand Down

0 comments on commit 866e2d4

Please sign in to comment.