1 |
# $Id: smeserver-release.spec,v 1.9 2021/01/08 19:06:15 jpp Exp $ |
# $Id: smeserver-release.spec,v 1.10 2021/02/17 16:12:07 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} |
Release: %{prerelease}.%{release}%{?dist} |
11 |
License: GPL |
License: GPL |
12 |
Group: System Environment/Base |
Group: System Environment/Base |
13 |
#Patch0: %{name}-%{version}.patch.yyyymmddnn |
#Patch0: %{name}-%{version}.patch.yyyymmddnn |
27 |
e-smith server and gateway release file |
e-smith server and gateway release file |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Fri Feb 19 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-beta1.2.sme |
31 |
|
- updating release number everywhere [SME: 11366] |
32 |
|
|
33 |
* 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 |
34 |
- 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] |
35 |
|
|
583 |
|
|
584 |
%install |
%install |
585 |
mkdir -p $RPM_BUILD_ROOT/etc |
mkdir -p $RPM_BUILD_ROOT/etc |
586 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc |
587 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/os-release |
588 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/redhat-release |
589 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/system-release |
590 |
|
pushd $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/ |
591 |
|
ln -s S10update-grub ../actions/update-grub |
592 |
|
popd |
593 |
|
|
594 |
echo "SME Server release %{displayversion}" >\ |
echo "SME Server release %{displayversion}" >\ |
595 |
$RPM_BUILD_ROOT/etc/e-smith-release |
$RPM_BUILD_ROOT/etc/e-smith-release |
596 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |