- fix Fedora/RHEL builds
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/freeipmi?expand=0&rev=66
This commit is contained in:
parent
628bb17e40
commit
8dc864becb
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 18 07:37:27 UTC 2015 - kkaempf@suse.com
|
||||
|
||||
- fix Fedora/RHEL builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 2 10:53:50 UTC 2015 - kkaempf@suse.com
|
||||
|
||||
|
@ -52,6 +52,9 @@ BuildRequires: fdupes
|
||||
%if 0%{?suse_version} >=1230
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
%endif
|
||||
%if 0%{?fedora_version} == 20 || 0%{?rhel_version} >= 700
|
||||
BuildRequires: perl-Exporter
|
||||
%endif
|
||||
|
||||
Obsoletes: freeipmi-ipmimonitoring < %{version}
|
||||
Provides: freeipmi-ipmimonitoring = %{version}
|
||||
@ -124,7 +127,7 @@ libtoolize --force --automake --copy
|
||||
autoconf
|
||||
automake --gnu --include-deps --copy --add-missing
|
||||
%endif
|
||||
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel}
|
||||
%if (0%{?fedora_version} > 0 && 0%{?fedora_version} < 21) || 0%{?centos_version} || 0%{?rhel_version}
|
||||
%define docpath %{_docdir}/%{name}-%{version}
|
||||
%else
|
||||
%define docpath %{_docdir}/%{name}
|
||||
@ -324,9 +327,9 @@ fi
|
||||
%doc doc/freeipmi-libraries.txt
|
||||
%doc doc/freeipmi-bugs-issues-and-workarounds.txt
|
||||
#%dir %{_docdir}
|
||||
#%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel}
|
||||
#%{_docdir}
|
||||
#%endif
|
||||
%if 0%{?fedora_version} == 20
|
||||
%{docpath}
|
||||
%endif
|
||||
%config %{_sysconfdir}/freeipmi/ipmiseld.conf
|
||||
%if 0%{?suse_version} >=1230
|
||||
%{_unitdir}/ipmiseld.service
|
||||
|
Loading…
Reference in New Issue
Block a user