Skip to content

Commit

Permalink
Merge pull request #72 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 2.4.3
  • Loading branch information
andyone authored Jul 3, 2019
2 parents 878ca6d + 18085ec commit e78aa27
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion SOURCES/libexec/build-local.shx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ localBuildProcess() {

showSeparator "PACKAGE PROCESSING"

packages=$(grep -E "rpmbuild/(S|)RPMS" "$tmp_output" | cut -f2 -d" ")
packages=$(grep -E "rpmbuild/(S|)RPMS/.*\.rpm" "$tmp_output" | cut -f2 -d" ")

rm -f "$tmp_output"

Expand Down
2 changes: 1 addition & 1 deletion SOURCES/libexec/build-remote.shx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ remoteBuildProcess() {

showSeparator "PACKAGE PROCESSING"

packages=$(grep -E "rpmbuild/(S|)RPMS" "$tmp_output" | cut -f2 -d" ")
packages=$(grep -E "rpmbuild/(S|)RPMS/.*\.rpm" "$tmp_output" | cut -f2 -d" ")

for package in $packages ; do
package=$(echo "$package" | tr -dc '[:print:]')
Expand Down
8 changes: 6 additions & 2 deletions SOURCES/libexec/build.shx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ startBuild() {

trap termExit SIGINT SIGQUIT SIGTERM

if [[ -n "$parallel" && $(wc -l "$remote" | cut -f1 -d" ") -gt 1 ]] ; then
parallelBuild "$@"
if [[ -n "$parallel" && $(wc -l "${remote/:*/}" | cut -f1 -d" ") -gt 1 ]] ; then
if [[ "${remote/:*/}" != "$remote" ]] ; then
basicBuild "$@"
else
parallelBuild "$@"
fi
else
basicBuild "$@"
fi
Expand Down
2 changes: 1 addition & 1 deletion SOURCES/rpmbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
APP="RPMBuilder"

# Utility version (String)
VER="2.4.2"
VER="2.4.3"

####################################################################

Expand Down
6 changes: 5 additions & 1 deletion rpmbuilder.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Summary: RPM package build helper
Name: rpmbuilder
Version: 2.4.2
Version: 2.4.3
Release: 0%{?dist}
License: EKOL
Group: Development/Tools
Expand Down Expand Up @@ -55,6 +55,10 @@ rm -rf %{buildroot}
################################################################################

%changelog
* Wed Jul 03 2019 Anton Novojilov <[email protected]> - 2.4.3-0
- Fixed bug with handling build node index in --parallel option
- Fixed bug with handling names of built packages

* Sat May 25 2019 Anton Novojilov <[email protected]> - 2.4.2-0
- Added checking options after reading inspec options
- Minor UI improvements
Expand Down

0 comments on commit e78aa27

Please sign in to comment.