diff --git a/ppc64-diag.spec b/ppc64-diag.spec index 5c137c3..68d495e 100644 --- a/ppc64-diag.spec +++ b/ppc64-diag.spec @@ -1,6 +1,6 @@ Name: ppc64-diag Version: 2.4.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Linux for Power Platform Diagnostics URL: http://sourceforge.net/projects/linux-diag/files/ppc64-diag/ Group: System Environment/Base @@ -73,7 +73,7 @@ rm -rf $RPM_BUILD_ROOT %post # Post-install script -------------------------------------------------- -%{_datadir}/%{name}/ppc64_diag_setup --register >/dev/null +%{_libexecdir}/%{name}/ppc64_diag_setup --register >/dev/null if [ "$1" = "2" ]; then # upgrade %{_libexecdir}/%{name}/rtas_errd restart fi @@ -82,7 +82,7 @@ fi # Pre-uninstall script ------------------------------------------------- if [ "$1" = "0" ]; then # last uninstall %{_libexecdir}/%{name}/rtas_errd stop - %{_datadir}/%{name}/ppc64_diag_setup --unregister >/dev/null + %{_libexecdir}/%{name}/ppc64_diag_setup --unregister >/dev/null fi %triggerin -- librtas @@ -93,6 +93,9 @@ fi %changelog +* Thu Sep 22 2011 Karsten Hopp 2.4.2-4 +- fix preun and post install scriptlets + * Fri Sep 09 2011 Karsten Hopp 2.4.2-3 - add buildrequirement systemd-units for _unitdir rpm macro - move helper scripts to libexecdir/ppc64-diag