diff --git a/thttpd.changes b/thttpd.changes index ff67e7f..328a542 100644 --- a/thttpd.changes +++ b/thttpd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 8 14:29:40 UTC 2012 - vcizek@suse.com + +- use %set_permissions instead of %run_permissions (bnc#764110) + ------------------------------------------------------------------- Tue May 29 14:06:26 UTC 2012 - puzel@suse.com diff --git a/thttpd.spec b/thttpd.spec index 7435642..ba9199c 100644 --- a/thttpd.spec +++ b/thttpd.spec @@ -117,7 +117,12 @@ rm -f %{buildroot}%{serverroot}/htdocs/index.html.template %post %{fillup_and_insserv thttpd} +%if 0%{?suse_version} <= 1130 %run_permissions +%else +%set_permissions /usr/bin/makeweb +%endif + %verifyscript %verify_permissions -e /usr/bin/makeweb