Workaround to get the right release version in /usr/sbin/smbd -V
The other packages Release: variables were overwriting %{release} so that we got the wrong info in there.
This commit is contained in:
parent
1876e38a0f
commit
2ee8b397c9
@ -3,11 +3,13 @@
|
|||||||
%define tdb_version 1.1.1
|
%define tdb_version 1.1.1
|
||||||
%define talloc_version 1.2.0
|
%define talloc_version 1.2.0
|
||||||
|
|
||||||
|
%define samba_release 0.%{main_release}%{?dist}
|
||||||
|
|
||||||
Summary: The Samba Suite of programs
|
Summary: The Samba Suite of programs
|
||||||
Name: samba
|
Name: samba
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Version: 3.2.1
|
Version: 3.2.1
|
||||||
Release: 0.%{main_release}%{?dist}
|
Release: %{samba_release}
|
||||||
License: GPLv3+ and LGPLv3+
|
License: GPLv3+ and LGPLv3+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.samba.org/
|
URL: http://www.samba.org/
|
||||||
@ -252,7 +254,7 @@ cp %{SOURCE11} packaging/Fedora/
|
|||||||
#%patch200 -p0 -b .inotify # FIXME: does not compile
|
#%patch200 -p0 -b .inotify # FIXME: does not compile
|
||||||
|
|
||||||
mv source/VERSION source/VERSION.orig
|
mv source/VERSION source/VERSION.orig
|
||||||
sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{release}\"/' < source/VERSION.orig > source/VERSION
|
sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&\"%{samba_release}\"/' < source/VERSION.orig > source/VERSION
|
||||||
cd source
|
cd source
|
||||||
script/mkversion.sh
|
script/mkversion.sh
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user