monasca-*: Use {{ upstream_version }} for %autosetup

That way, it is easier after stable-branching to switch to stable
tarball tracking. Only 'upstream_version', 'fetch_source' and 'Source'
need to be changed.

Change-Id: Iaffe1fed77f925f4773cfc7ce7efbb21728df748
This commit is contained in:
Thomas Bechtold
2017-08-28 11:45:42 +02:00
parent 33f0c5389e
commit bfd8d45bb7
8 changed files with 8 additions and 8 deletions

View File

@@ -103,7 +103,7 @@ sending them to the Monasca API.
This package contains monasca-agent Python module.
%prep
%autosetup -n %{sname}-%{version}
%autosetup -n %{sname}-{{ upstream_version }}
%py_req_cleanup
# contains various binary files etc that we don't need
rm -rf packaging/monasca-agent{,-deb}