Skip to content
Browse files

Fix specfile so it builds on SLES11 and SLES11SP1, too

  • Loading branch information...
1 parent b1b1cfe commit 8e186e646b6fb8cfe53882b930f3a3a5b028f138 @pief committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 python-netsnmpagent.spec
2 python-netsnmpagent.spec
@@ -16,6 +16,8 @@ BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
+%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

0 comments on commit 8e186e6

Please sign in to comment.
Something went wrong with that request. Please try again.