diff options
author | Elan Ruusamäe | 2006-01-04 14:15:22 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 9a542024b99294029d598d43360d3e0da2d216ec (patch) | |
tree | 02f4235479a889bc8fcb47cf5d250fce465a8b7e | |
parent | 6fc096d51a08854faeb0893d785ec6240d20faa0 (diff) | |
download | uebimiau-auto/ac/uebimiau-2_7_8-9_RC1_5.zip uebimiau-auto/ac/uebimiau-2_7_8-9_RC1_5.tar.gz |
- use %service in trigger to respect skip auto restarts of servicesauto/ac/uebimiau-2_7_8-9_RC1_5
- rel 5
Changed files:
uebimiau.spec -> 1.45
-rw-r--r-- | uebimiau.spec | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/uebimiau.spec b/uebimiau.spec index 92a38e9..44ce7df 100644 --- a/uebimiau.spec +++ b/uebimiau.spec @@ -3,7 +3,7 @@ Summary(pl): UebiMiau - prosty czytnik poczty POP3 Name: uebimiau Version: 2.7.8 %define _rc RC1 -%define _rel 4.5 +%define _rel 5 Release: 9.%{_rc}.%{_rel} License: GPL Group: Applications/Mail @@ -16,7 +16,7 @@ Patch3: %{name}-pl-fixes.patch Patch4: %{name}-focus.patch URL: http://www.uebimiau.org/ BuildRequires: sed >= 4.1.1 -BuildRequires: rpmbuild(macros) >= 1.264 +BuildRequires: rpmbuild(macros) >= 1.268 # BR: rpm - not for Ra where is wrong def. of %%{_sharedstatedir}. BuildRequires: rpm >= 4.3 Requires: Smarty >= 2.6.10-3 @@ -191,14 +191,10 @@ if [ -L /etc/httpd/httpd.conf/99_%{name}.conf ]; then fi if [ "$httpd_reload" ]; then - if [ -f /var/lock/subsys/httpd ]; then - /etc/rc.d/init.d/httpd reload 1>&2 - fi + %service httpd reload fi if [ "$apache_reload" ]; then - if [ -f /var/lock/subsys/apache ]; then - /etc/rc.d/init.d/apache reload 1>&2 - fi + %service apache reload fi %files |