client/rhel/rhn-client-tools/rhn-client-tools.spec | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 31eb96a2f9cfa4413b161057f4aa3164fc7dd997
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu May 13 10:19:55 2010 +0200
591798 - Completly remove hal code from rhn-client-tools for F-13 and RHEL-6
diff --git a/client/rhel/rhn-client-tools/rhn-client-tools.spec
b/client/rhel/rhn-client-tools/rhn-client-tools.spec
index 274bbef..ab33c89 100644
--- a/client/rhel/rhn-client-tools/rhn-client-tools.spec
+++ b/client/rhel/rhn-client-tools/rhn-client-tools.spec
@@ -99,6 +99,12 @@ mkdir -p $RPM_BUILD_ROOT/var/lib/up2date
mkdir -pm700 $RPM_BUILD_ROOT%{_localstatedir}/spool/up2date
touch $RPM_BUILD_ROOT%{_localstatedir}/spool/up2date/loginAuth.pkl
+%if 0%{?fedora} > 12 || 0%{?rhel} > 5
+rm $RPM_BUILD_ROOT%{_datadir}/rhn/up2date_client/hardware_hal.*
+%else
+rm $RPM_BUILD_ROOT%{_datadir}/rhn/up2date_client/hardware_gudev.*
+%endif
+
desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications --vendor=rhn
rhn_register.desktop
%if 0%{?suse_version}
%suse_update_desktop_file rhn_register System
Show replies by date