summaryrefslogtreecommitdiff
path: root/packaging/Fedora
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-06-30 13:42:50 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-06-30 13:42:50 +1000
commit053bdde4a2366cb6cefa85b5210d9fcdbf1ce20b (patch)
tree7e8ace3f991d36cb7856c012d09caf2c80510cc1 /packaging/Fedora
parent6f55742b4c485258db3b8ffe36506d8623be883c (diff)
downloadsamba-053bdde4a2366cb6cefa85b5210d9fcdbf1ce20b.tar.gz
samba-053bdde4a2366cb6cefa85b5210d9fcdbf1ce20b.tar.bz2
samba-053bdde4a2366cb6cefa85b5210d9fcdbf1ce20b.zip
Update Fedora packaging per feedback on review ticket.
https://bugzilla.redhat.com/show_bug.cgi?id=453083 (This used to be commit ddb62bf6cc9371c11778ea6630ef0fbbe22cd4f9)
Diffstat (limited to 'packaging/Fedora')
-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 ad929f1174..58af9480d9 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