RHEL/Fedora: fix consolehelper in kdeutils & kdenetwork

pull/3/head
albator 13 years ago
parent 7541038719
commit 334c3ce0d6

@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 2
%define release 3
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
@ -241,7 +241,7 @@ done
install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3
mkdir -p %{buildroot}%{_sbindir}
mv %{buildroot}%{_bindir}/kppp %{buildroot}%{_sbindir}
ln -s consolehelper %{buildroot}%{_bindir}/kppp
ln -s /usr/bin/consolehelper %{buildroot}%{_bindir}/kppp
mkdir -p %{buildroot}/etc/security/console.apps
cat > %{buildroot}/etc/security/console.apps/kppp3 <<EOF
USER=root
@ -473,6 +473,9 @@ done
%changelog
* Thu Nov 17 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
- Fix symbolic link to 'consolehelper'
* Sat Nov 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
- Removes conflict on file 'lisarc' for RHEL 5

@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 3
%define release 4
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
@ -192,7 +192,7 @@ install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.apps
pushd %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_sbindir}
mv klaptop_acpi_helper ../sbin
ln -s consolehelper klaptop_acpi_helper
ln -s /usr/bin/consolehelper klaptop_acpi_helper
popd
# klaptop setting
@ -347,6 +347,9 @@ done
%changelog
* Thu Nov 17 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
- Fix symbolic link to 'consolehelper'
* Fri Nov 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
- Removes 'dpkg' commands inside klaptopdaemon

Loading…
Cancel
Save