- Restart hal daemon if running and remove visor module if currently loaded
(#280251)
This commit is contained in:
parent
e53029795a
commit
40763ee05f
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
Name: pilot-link
|
Name: pilot-link
|
||||||
Version: 0.12.2
|
Version: 0.12.2
|
||||||
Release: 13%{?dist}
|
Release: 14%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPLv2 and GPLv2+ and LGPLv2+ and TCL
|
License: GPLv2 and GPLv2+ and LGPLv2+ and TCL
|
||||||
Group: Applications/Communications
|
Group: Applications/Communications
|
||||||
|
@ -28,7 +28,8 @@ Patch6: pilot-link-0.12.2-open.patch
|
||||||
Patch7: pilot-link-0.12.2-NR70V.patch
|
Patch7: pilot-link-0.12.2-NR70V.patch
|
||||||
Patch8: pilot-link-0.12.2-md5.patch
|
Patch8: pilot-link-0.12.2-md5.patch
|
||||||
|
|
||||||
Requires: /sbin/ldconfig
|
Requires(post): /sbin/ldconfig, /sbin/service, /sbin/modprobe
|
||||||
|
Requires(postun): /sbin/ldconfig
|
||||||
|
|
||||||
%if %{support_perl}
|
%if %{support_perl}
|
||||||
Requires: perl(:MODULE_COMPAT_%{perl_version})
|
Requires: perl(:MODULE_COMPAT_%{perl_version})
|
||||||
|
@ -157,9 +158,16 @@ cp %{SOURCE4} README.fedora
|
||||||
install -p -m644 %{SOURCE5} %{buildroot}%{_datadir}/pilot-link/udev
|
install -p -m644 %{SOURCE5} %{buildroot}%{_datadir}/pilot-link/udev
|
||||||
install -p -m644 %{SOURCE6} %{buildroot}%{_datadir}/pilot-link/udev
|
install -p -m644 %{SOURCE6} %{buildroot}%{_datadir}/pilot-link/udev
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
/sbin/service haldaemon condrestart >/dev/null 2>&1
|
||||||
|
if [ $1 = 2 ]; then
|
||||||
|
# only attempt to remove visor module on upgrade, not needed for fresh install
|
||||||
|
/sbin/modprobe -s -r visor > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
@ -188,6 +196,10 @@ rm -rf %{buildroot}
|
||||||
%{_datadir}/aclocal/*.m4
|
%{_datadir}/aclocal/*.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 4 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 2:0.12.2-14
|
||||||
|
- Restart hal daemon if running and remove visor module if currently
|
||||||
|
loaded (#280251)
|
||||||
|
|
||||||
* Fri Jan 4 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 2:0.12.2-13
|
* Fri Jan 4 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 2:0.12.2-13
|
||||||
- Add README.fedora and visor configs as fallbacks (#280251: thanks Kevin Page)
|
- Add README.fedora and visor configs as fallbacks (#280251: thanks Kevin Page)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue