Name: lhapdf-sets-Herwig Version: 7.1.6 Release: 1%{?dist} Summary: Set of PDFs needed to build Herwig. License: GPLv2+ URL: http://lhapdf.hepforge.org/ Source0: README.txt Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: lhapdf >= 6.3.0 %if %{?fedora}%{!?fedora:0} || %{?rhel}%{!?rhel:0} >= 8 BuildRequires: python3-lhapdf %else BuildRequires: python2-lhapdf %endif %description Set of PDFs needed to build Herwig. %prep %build %install lhapdf --pdfdir=%{buildroot}/usr/share/LHAPDF/ install --upgrade MMHT2014lo68cl MMHT2014nlo68cl CT14lo CT14nlo %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files /usr/share/LHAPDF/* %changelog * Thu May 26 2016 Andrii Verbytskyi 7.1.5 - This is just a technical package