Update spec so it can build against a repo (#225)

The directory is only changed if not already in the project directory.
This commit is contained in:
Tim Byrne 2020-12-30 15:06:05 -06:00
parent 207e0a9850
commit 018ccb0a65
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ encrypted before they are included in the repository.
# this is done to allow paths other than yadm-x.x.x (for example, when building
# from branches instead of release tags)
cd *yadm-*
test -f yadm || cd *yadm-*
%{__mkdir} -p %{buildroot}%{_bindir}
%{__cp} yadm %{buildroot}%{_bindir}