Update mtce openSUSE OBS artifact
The openSUSE spec file needs to have the path of the source code in the setup to have the package generation automated through _service file in OBS. Change-Id: Icb96129af90f1f10340367d9e3e2bbfabd0f3c77 Story: 2006508 Task:37219 Signed-off-by: Marcela Rosales <marcela.a.rosales.jimenez@intel.com>
This commit is contained in:
parent
15c036f321
commit
85f03e9d67
1
mtce/opensuse/mtce.rpmlintrc
Normal file
1
mtce/opensuse/mtce.rpmlintrc
Normal file
@ -0,0 +1 @@
|
|||||||
|
setBadness('script-without-shebang', 2)
|
@ -1,6 +1,6 @@
|
|||||||
Summary: StarlingX Common Maintenance Package
|
Summary: StarlingX Common Maintenance Package
|
||||||
Name: mtce
|
Name: mtce
|
||||||
Version: 1.0
|
Version: 1.0.0
|
||||||
Release: 2
|
Release: 2
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
@ -25,7 +25,7 @@ BuildRequires: postgresql
|
|||||||
BuildRequires: libuuid-devel
|
BuildRequires: libuuid-devel
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
BuildRequires: cppcheck
|
BuildRequires: cppcheck
|
||||||
BuildRequires: mtce-common-devel >= 1.0
|
BuildRequires: mtce-common-devel >= 1.0.0
|
||||||
|
|
||||||
Requires: util-linux
|
Requires: util-linux
|
||||||
Requires: systemd
|
Requires: systemd
|
||||||
@ -149,7 +149,7 @@ netlink monitoring for provisioned oam, mgmt and cluster-host interfaces.
|
|||||||
%define ocf_resourced %{_libdir}/ocf/resource.d
|
%define ocf_resourced %{_libdir}/ocf/resource.d
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -n %{name}-%{version}/src
|
||||||
|
|
||||||
# Build mtce package
|
# Build mtce package
|
||||||
%build
|
%build
|
||||||
@ -158,7 +158,7 @@ MAJOR=$(echo $VER | awk -F . '{print $1}')
|
|||||||
MINOR=$(echo $VER | awk -F . '{print $2}')
|
MINOR=$(echo $VER | awk -F . '{print $2}')
|
||||||
make MAJOR=$MAJOR MINOR=$MINOR %{?_smp_mflags} build
|
make MAJOR=$MAJOR MINOR=$MINOR %{?_smp_mflags} build
|
||||||
|
|
||||||
%global _buildsubdir %{_builddir}/%{name}-%{version}
|
%global _buildsubdir %{_builddir}/%{name}-%{version}/src
|
||||||
|
|
||||||
# Install mtce package
|
# Install mtce package
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user