Skip to content

Commit

Permalink
Merge pull request #6 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 1.0.7
  • Loading branch information
andyone committed Apr 20, 2016
2 parents 7d238c9 + f39d77c commit ae1028e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions SOURCES/rpmbuilder
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

APP="RPMBuilder"
VER="1.0.6"
VER="1.0.7"

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

Expand Down Expand Up @@ -708,7 +708,7 @@ remoteRunMultibuild() {
remoteRunBuild() {
local spec="$1"

if [[ "$remote" =~ :[0-9]{1,} ]] ; then
if [[ "$remote" =~ :[0-9]{1,}$ ]] ; then
local r_file=$(echo "$remote" | cut -f1 -d":")
local r_line=$(echo "$remote" | cut -f2 -d":")
local tlines=$(cat $r_file | wc -l)
Expand All @@ -721,7 +721,7 @@ remoteRunBuild() {
remote=$(sed -n ${r_line}p $r_file)
fi

if [[ "$remote" =~ @|~ ]] ; then
if [[ "$remote" =~ @|~i ]] ; then
local host_info=($(getURLVars "$remote"))

host="${host_info[0]/-/}"
Expand Down
8 changes: 6 additions & 2 deletions 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: 1.0.6
Version: 1.0.7
Release: 0%{?dist}
License: EKOL
Group: Applications/System
Expand Down Expand Up @@ -44,11 +44,15 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE.EN LICENSE.RU
%{_bindir}
%{_bindir}/%{name}
%{_bindir}/rpmunbuilder

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

%changelog
* Wed Apr 20 2016 Anton Novojilov <[email protected]> - 1.0.7-0
- Fixed bug with parsing remote build definition

* Thu Apr 07 2016 Anton Novojilov <[email protected]> - 1.0.6-0
- Package install feature
- Code refactoring
Expand Down

0 comments on commit ae1028e

Please sign in to comment.