1 |
# $Id: smeserver-release.spec,v 1.9 2021/01/08 19:06:15 jpp Exp $ |
# $Id: smeserver-release.spec,v 1.12 2021/02/19 19:08:38 jpp Exp $ |
2 |
|
|
3 |
Summary: SME Server release file |
Summary: SME Server release file |
4 |
Name: smeserver-release |
Name: smeserver-release |
5 |
|
%define prerelease beta1 |
6 |
%define version 10.0 |
%define version 10.0 |
7 |
%define release 1.beta1 |
%define release 2 |
8 |
%define displayversion %{version}beta1 |
%define displayversion %{version}%{prerelease} |
9 |
Version: %{version} |
Version: %{version} |
10 |
Release: %{release}%{?dist} |
# note for post 10.0 : should use %{prerelease}.%{release}%{?dist} |
11 |
|
# we started reverse for 10.0 and had to go on |
12 |
|
Release: %{release}.%{prerelease}%{?dist} |
13 |
License: GPL |
License: GPL |
14 |
Group: System Environment/Base |
Group: System Environment/Base |
15 |
#Patch0: %{name}-%{version}.patch.yyyymmddnn |
#Patch0: %{name}-%{version}.patch.yyyymmddnn |
29 |
e-smith server and gateway release file |
e-smith server and gateway release file |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Fri Feb 19 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-2.beta1.sme |
33 |
|
- updating release number everywhere [SME: 11366] |
34 |
|
|
35 |
* Wed Feb 17 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-1.beta1.sme |
* Wed Feb 17 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-1.beta1.sme |
36 |
- Bump release to 1 as buildsys believe 1.alpha5 is newer than 0.beta1 [SME: 11317] |
- Bump release to 1 as buildsys believe 1.alpha5 is newer than 0.beta1 [SME: 11317] |
37 |
|
|
585 |
|
|
586 |
%install |
%install |
587 |
mkdir -p $RPM_BUILD_ROOT/etc |
mkdir -p $RPM_BUILD_ROOT/etc |
588 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc |
589 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/os-release |
590 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/redhat-release |
591 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/system-release |
592 |
|
pushd $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/ |
593 |
|
ln -s ../actions/update-grub S10update-grub |
594 |
|
popd |
595 |
|
|
596 |
echo "SME Server release %{displayversion}" >\ |
echo "SME Server release %{displayversion}" >\ |
597 |
$RPM_BUILD_ROOT/etc/e-smith-release |
$RPM_BUILD_ROOT/etc/e-smith-release |
598 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |