| |
@@ -42,8 +42,7 @@
|
| |
|
| |
if len([f for f in os.listdir(path) if f.endswith('.spec')]) == 0:
|
| |
raise LayoutError('spec file not found.')
|
| |
- sources = 'sources' if os.path.exists('%s/sources' % path) else None
|
| |
- return cls(root_dir=path, sources_file_template=sources)
|
| |
+ return cls(root_dir=path)
|
| |
|
| |
|
| |
class SRPMLayout(BaseLayout):
|
| |
JIRA: RHELCMP-1968
Resolves: rhbz#1867440
Signed-off-by: Ondřej Nosek onosek@redhat.com