Skip to content

Commit

Permalink
Merge pull request #79 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 2.6.0
  • Loading branch information
andyone authored Dec 17, 2019
2 parents 42f0b72 + a7fbb0a commit d602c41
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 9 deletions.
4 changes: 2 additions & 2 deletions SOURCES/conf/rpmmacros_centos6
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot

# Use xz compression for payload by default
%_source_payload w7.xzdio
%_binary_payload w7.xzdio
%_source_payload w7T.xzdio
%_binary_payload w7T.xzdio

########################################################################################
4 changes: 2 additions & 2 deletions SOURCES/conf/rpmmacros_centos7
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
%dist .el7

# Use xz compression for payload by default
%_source_payload w7.xzdio
%_binary_payload w7.xzdio
%_source_payload w7T.xzdio
%_binary_payload w7T.xzdio

########################################################################################
4 changes: 2 additions & 2 deletions SOURCES/conf/rpmmacros_centos8
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
%dist .el8

# Use xz compression for payload by default
%_source_payload w7.xzdio
%_binary_payload w7.xzdio
%_source_payload w7T.xzdio
%_binary_payload w7T.xzdio

########################################################################################
5 changes: 5 additions & 0 deletions SOURCES/libexec/sources-remote.shx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ downloadSource() {
show "cache feature in this case. Use -dc <path> or --dlcache <path>." $YELLOW
show ""
fi

if ! validateSourceFile "$dir/$file_name" ; then
error "Invalid file ${CL_BL_RED}${source_name}${CL_RED} - file type doesn't match to file content"
doExit $ERROR_SOURCE
fi
fi
}

Expand Down
2 changes: 1 addition & 1 deletion SOURCES/rpmbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi
APP="RPMBuilder"

# Utility version (String)
VER="2.5.2"
VER="2.6.0"

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

Expand Down
5 changes: 4 additions & 1 deletion rpmbuilder-node.spec
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
Summary: Configuration package for rpmbuilder node
Name: rpmbuilder-node
Version: 1.4.1
Release: 1%{?dist}
Release: 2%{?dist}
License: EKOL
Group: Development/Tools
URL: https://github.com/essentialkaos/rpmbuilder
Expand Down Expand Up @@ -170,6 +170,9 @@ fi
################################################################################

%changelog
* Mon Dec 16 2019 Anton Novojilov <[email protected]> - 1.4.1-2
- Added threads usage for payload packing to rpmmacros files

* Sat Nov 30 2019 Anton Novojilov <[email protected]> - 1.4.1-1
- Added rpmmacros file for CentOS 8

Expand Down
5 changes: 4 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.5.2
Version: 2.6.0
Release: 0%{?dist}
License: EKOL
Group: Development/Tools
Expand Down Expand Up @@ -55,6 +55,9 @@ rm -rf %{buildroot}
################################################################################

%changelog
* Fri Dec 13 2019 Anton Novojilov <[email protected]> - 2.6.0-0
- Added validation for downloaded files

* Wed Dec 04 2019 Anton Novojilov <[email protected]> - 2.5.2-0
- Removed handler for script errors

Expand Down

0 comments on commit d602c41

Please sign in to comment.