Change %autosetup for opensuse specfiles
As the tarballs are now created by the _service definition in the opensuse build system, it requires now to include the specfiles within the tarballs. This means that the `-n` option needs to be set for `%autosetup`. Story: 2006508 Task: 36780 Change-Id: Ib89a440d4911200ead2a3a35d731564e86b0b447 Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
This commit is contained in:
parent
206e5c4745
commit
6f0ec9c4fc
@ -43,7 +43,7 @@ Contains fmAlarm.h which is to be used by fm-doc package to validate
|
||||
the Alarms & Logs Doc Yaml file
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -n %{name}-%{version}/sources
|
||||
|
||||
%build
|
||||
VER=%{version}
|
||||
|
@ -19,7 +19,7 @@ checker to ensure no duplicate IDs are used, and generally the correct
|
||||
field values are documented.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -n %{name}-%{version}/fm_doc
|
||||
|
||||
%build
|
||||
|
||||
|
@ -22,7 +22,7 @@ application fault management requests and raise/clear/update
|
||||
alarms in the active alarm database.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -n %{name}-%{version}/sources
|
||||
|
||||
%build
|
||||
VER=%{version}
|
||||
|
@ -31,7 +31,7 @@ Fault Management Openstack REST API Service
|
||||
%define debug_package %{nil}
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -n %{name}-%{version}/fm
|
||||
|
||||
# Remove bundled egg-info
|
||||
rm -rf *.egg-info
|
||||
|
@ -33,7 +33,7 @@ A python client library for StarlingX Fault Management service
|
||||
%define debug_package %{nil}
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -n %{name}-%{version}/fmclient
|
||||
|
||||
# Remove bundled egg-info
|
||||
rm -rf *.egg-info
|
||||
|
@ -31,7 +31,7 @@ This package contains symbolic links, header files, and related items necessary
|
||||
for software development.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -n %{name}-%{version}/sources
|
||||
|
||||
%build
|
||||
VER=%{version}
|
||||
|
@ -33,7 +33,7 @@ System. This package contains symbolic links, header files, and related
|
||||
items necessary for software development.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -n %{name}-%{version}/sources
|
||||
|
||||
%build
|
||||
MAJOR=`echo %{version} | awk -F . '{print $1}'`
|
||||
|
Loading…
Reference in New Issue
Block a user