diff options
author | Klaus Kaempf <kkaempf@suse.de> | 2014-01-06 10:43:37 +0100 |
---|---|---|
committer | Radek Novacek <rnovacek@redhat.com> | 2014-01-06 10:43:37 +0100 |
commit | 52a788a0298953ec9c387c6854a01d0d148a1514 (patch) | |
tree | 993c3ca3e52883d57af563474217c78ddcfe8783 | |
parent | 0033bce647c8835e43120dd4ce14a073026b5b67 (diff) | |
download | openlmi-providers-52a788a0298953ec9c387c6854a01d0d148a1514.tar.gz openlmi-providers-52a788a0298953ec9c387c6854a01d0d148a1514.tar.xz openlmi-providers-52a788a0298953ec9c387c6854a01d0d148a1514.zip |
spec: SUSE compatible BuildRequires
-rw-r--r-- | openlmi-providers.spec | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/openlmi-providers.spec b/openlmi-providers.spec index 146c1a5..d06311c 100644 --- a/openlmi-providers.spec +++ b/openlmi-providers.spec @@ -47,25 +47,51 @@ BuildRequires: cmake BuildRequires: konkretcmpi-devel >= %{required_konkret_ver} BuildRequires: sblim-cmpi-devel BuildRequires: cim-schema +%if 0%{?suse_version} +BuildRequires: gcc-c++ +BuildRequires: libselinux-devel +BuildRequires: libudev-devel +BuildRequires: pkg-config +%endif # For openlmi-fan +%if 0%{?suse_version} +BuildRequires: libsensors4-devel +%else BuildRequires: lm_sensors-devel +%endif # For openlmi-account BuildRequires: libuser-devel >= %{required_libuser_ver} +%if 0%{?suse_version} +BuildRequires: python +%else BuildRequires: python2-devel +%endif # for openlmi-*-doc packages BuildRequires: konkretcmpi-python >= %{required_konkret_ver} +%if 0%{?suse_version} +BuildRequires: python-Sphinx +%else BuildRequires: python-sphinx +%endif # For openlmi-hardware BuildRequires: pciutils-devel # For openlmi-logicalfile BuildRequires: libudev-devel BuildRequires: libselinux-devel # For openlmi-mof-register script +%if 0%{?suse_version} +BuildRequires: python +%else Requires: python2 +%endif # for openlmi-journald BuildRequires: systemd-devel # for openlmi-realmd: +%if 0%{?suse_version} >= 1110 +BuildRequires: dbus-1-devel +%else BuildRequires: dbus-devel +%endif # sblim-sfcb or tog-pegasus # (required to be present during install/uninstall for registration) Requires: cim-server @@ -83,7 +109,10 @@ Requires: openlmi-python-base = %{version}-%{release} # XXX # Just because we have wired python's scripts # Remove in future +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1110 +# SLE_11_SP3: unresolvable: conflict for provider of python-distribute needed by python-Pygments, (provider python-distribute obsoletes installed python-setuptools) BuildRequires: python-setuptools +%endif %description %{name} is set of (usually) small CMPI providers (agents) for basic |