Start of refactoring to consolidate and test more packaging logic.
Change-Id: Ia9f94290648f78c3e0188f3310c9146fbd60072d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
-from deb import build as build_deb
-from rpm import build as build_rpm
+from deb import lib as deb_lib
+from rpm import lib as rpm_lib
if __name__ == "__main__":
# Accept a build definition via args
if __name__ == "__main__":
# Accept a build definition via args
# Use package-specific helper logic to do the specified build
if args.rpm:
# Use package-specific helper logic to do the specified build
if args.rpm:
- build_rpm.build_rpm(build)
+ rpm_lib.build_rpm(build)
- build_deb.build_deb(build)
+ deb_lib.build_deb(build)