Skip to content

Commit

Permalink
Merge pull request #9041 from forthommel/cepgen-13_0_X
Browse files Browse the repository at this point in the history
[13_0_X] Bump cepgen to 1.2.1patch1
  • Loading branch information
smuzaffar authored Mar 11, 2024
2 parents 80065e8 + bd7dbdd commit 1a21d33
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.1patch1

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 1a21d33

Please sign in to comment.