- Build with libvirt

- fix %post

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=43
This commit is contained in:
Klaus Kämpf 2013-04-26 09:21:54 +00:00 committed by Git OBS Bridge
parent 5df27a1982
commit 3319d0122c
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 16 14:41:48 UTC 2013 - kkaempf@suse.com
- Build with libvirt
-------------------------------------------------------------------
Mon Apr 15 07:12:33 UTC 2013 - kkaempf@suse.com

View File

@ -63,6 +63,7 @@ BuildRequires: libxml2-devel
%if 0%{?suse_version} != 1110
BuildRequires: mysql-devel
%endif
BuildRequires: libvirt-devel
BuildRequires: openssl-devel
BuildRequires: pcre-devel
BuildRequires: postgresql-devel
@ -228,11 +229,9 @@ rm -rf %{buildroot}/%{_datadir}/%{name}/README
%install_info --name=%{name} --info-dir=%{_infodir} %{_infodir}/cf3-reference.info.gz
%endif
/sbin/ldconfig
# generate key on initial install
if [ $1 -lt 2 ]
then
if [ $1 -lt 2 ]; then
cf-key
end
fi
%preun
%service_del_preun cf-execd.service cf-monitord.service