summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/Fedora/samba4.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/Fedora/samba4.spec b/packaging/Fedora/samba4.spec
index ad929f11747..58af9480d9c 100644
--- a/packaging/Fedora/samba4.spec
+++ b/packaging/Fedora/samba4.spec
@@ -13,7 +13,7 @@ Summary: The Samba4 CIFS and AD client and server suite
Name: samba4
Epoch: 0
Version: 4.0.0
-Release: 0.alpha%{alpha_version}.%{main_release}%{?dist}
+Release: 0.%{main_release}.alpha%{alpha_version}%{?dist}
License: GPLv3+, LGPLv3+, BSD
Group: System Environment/Daemons
URL: http://www.samba.org/
@@ -228,7 +228,8 @@ find -type f | xargs chmod -x
rm -rf $RPM_BUILD_ROOT
%pre
-/usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
+getent group wbpriv >/dev/null || groupadd -g 88 wbpriv
+exit 0
%post
/sbin/chkconfig --add %{name}
@@ -347,5 +348,5 @@ exit 0
%doc WHATSNEW.txt
%changelog
-* Thu Jun 26 2008 Andrew Bartlett <abartlet@samba.org> - 0:4.0.0-0.alpha4.1.fc9
+* Thu Jun 26 2008 Andrew Bartlett <abartlet@samba.org> - 0:4.0.0-0.1.alpha4.fc9
- Rework Fedora's Samba 3.2.0-1.rc2.16 spec file for Samba4