From 614239cf2ddaf981e5560a5f27ebdce60615c458 Mon Sep 17 00:00:00 2001 From: ijaz ahmad Date: Fri, 10 Feb 2017 18:35:43 +0100 Subject: [PATCH] backports lwtnn to 80x --- eigen.spec | 1 + lwtnn.spec | 1 - py2-pkgconfig-toolfile.spec | 24 ++++++++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 py2-pkgconfig-toolfile.spec diff --git a/eigen.spec b/eigen.spec index 6f35ac9ad0f..dc019e15aaa 100644 --- a/eigen.spec +++ b/eigen.spec @@ -1,4 +1,5 @@ ### RPM external eigen 3.2.2 +## INITENV +PATH PKG_CONFIG_PATH %{i}/share/pkgconfig ## NOCOMPILER %define tag 87b069eefbf748ee3aba16fe5f84b4ccd6227082 %define branch cms/3.2.2 diff --git a/lwtnn.spec b/lwtnn.spec index 485cfab5311..15166a5cbba 100644 --- a/lwtnn.spec +++ b/lwtnn.spec @@ -9,7 +9,6 @@ Patch0: lwtnn-1.0-boost-fix %build -export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$EIGEN_ROOT/share/pkgconfig export BOOST_ROOT make all diff --git a/py2-pkgconfig-toolfile.spec b/py2-pkgconfig-toolfile.spec new file mode 100644 index 00000000000..b650d8c5aeb --- /dev/null +++ b/py2-pkgconfig-toolfile.spec @@ -0,0 +1,24 @@ +### RPM external py2-pkgconfig-toolfile 1.0 +Requires: py2-pkgconfig +%prep + +%build + +%install + +mkdir -p %i/etc/scram.d +cat << \EOF_TOOLFILE >%i/etc/scram.d/py2-pkgconfig.xml + + + + + + + +EOF_TOOLFILE + +export PYTHONV=$(echo $PYTHON_VERSION | cut -f1,2 -d.) + +## IMPORT scram-tools-post + +