suse (packages/suse/ spec does not build

Bug #1772961 reported by Scott Moser on 2018-05-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I've done some work with 'tools/run-container' [1] and
'./tools/read-dependencies' [2] so now we are reasonably close to
being able to build and test opensuse in c-i.

However, at the moement the spec file has some issues:

a.) jinja syntax error (fix
b.) unpacks into wrong directory (fix
c.) TODO file is gone. (fix
d.) no need to remove tests, no longer installed (fix

After those things are done, then we fail like:
   + /usr/lib/rpm/brp-suse
   error: Installed (but unpackaged) file(s) found:

At the end of this fix, we should be able to do:
  ./tools/run-container -vv \
     --artifacts=rpms/ --unittest --package --source-package opensuse/42.3

and run have done on opensuse 42.3:
 a.) run unit-tests with packaged versions of dependencies.
 b.) build source package
 c.) build binary package.

Related branches

Scott Moser (smoser) on 2018-05-23
Changed in cloud-init:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers