Project

General

Profile

Actions

Feature #16

closed

Allow customers to work with a single repo instead of multiple ones

Added by Emmanuel Jubera [SAFT] over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Low
Target version:
Start date:
05/18/2022
Due date:
% Done:

0%

Estimated time:
Affects Version/s:
armel-1.0
Fix Version/s:
Labels:

Description

The default .spec file of an application is designed to work when the sources are stored at the root of a git repository.
When the sources are located in a sub-directory of the git repo, one needs to add some linux commands in order for the build to work fine.
For example, when the sources are in a sub-directory located at the root of the git repo, the following commands added at the end of %prep section will do the trick:

mv %{_builddirsrc}/%{name}-%{version}/%{name} %{_builddirsrc}/%{name}
rm -rf %{_builddirsrc}/%{name}-%{version}
mv %{_builddirsrc}/%{name} %{_builddirsrc}/%{name}-%{version}

It would be nice to have a simpler way to specify the path to application sources.

Actions

Also available in: Atom PDF