Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Uyuni:Utils
tito
0007-handle-rpmlintrc-file.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0007-handle-rpmlintrc-file.patch of Package tito
From 65a104951e993428f9b9727ac8ffdd37232d4dcd Mon Sep 17 00:00:00 2001 From: Michael Calmer <mc@suse.de> Date: Sat, 5 Mar 2016 17:36:41 +0100 Subject: [PATCH 7/9] handle rpmlintrc file --- src/tito/builder/main.py | 8 ++++++++ 1 file changed, 8 insertions(+) Index: tito-tito-0.6.11-1/src/tito/builder/main.py =================================================================== --- tito-tito-0.6.11-1.orig/src/tito/builder/main.py +++ tito-tito-0.6.11-1/src/tito/builder/main.py @@ -555,6 +555,14 @@ class Builder(ConfigObject, BuilderBase) self.spec_file = os.path.join( self.rpmbuild_gitcopy, self.spec_file_name) + # copy rpmlintrc file from archive into the source dir + # otherwise build would fail + rpmlintrc = "%s-rpmlintrc" % self.spec_file[0:-5] + if os.path.exists(rpmlintrc): + run_command("cp %s %s" % (rpmlintrc, self.rpmbuild_sourcedir)) + self.artifacts.append(os.path.join(self.rpmbuild_sourcedir, os.path.basename(rpmlintrc))) + + def _setup_test_specfile(self): if self.test and not self.ran_setup_test_specfile: # If making a test rpm we need to get a little crazy with the spec
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor