Skip to content

Commit

Permalink
Merge pull request #25 from basepi/fixup
Browse files Browse the repository at this point in the history
Rev to 2.1.1
  • Loading branch information
basepi authored Feb 13, 2017
2 parents f18afc3 + 2fe642b commit 8ff4d45
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion hubblestack/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.1.0'
__version__ = '2.1.1'
22 changes: 11 additions & 11 deletions pkg/build_rpms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ cd ..

bash init_pkg.sh -y
cp hubble.tar.gz ~/hubble.tar.gz
rm -rf ~/hubblestack-2.1.0
rm -rf ~/hubblestack-2.1.0.tar.gz
mkdir ~/hubblestack-2.1.0
tar -xzvf ~/hubble.tar.gz -C ~/hubblestack-2.1.0
mkdir -p ~/hubblestack-2.1.0/etc/init.d
cp pkg/hubble ~/hubblestack-2.1.0/etc/init.d
mkdir -p ~/hubblestack-2.1.0/usr/lib/systemd/system
cp pkg/hubble.service ~/hubblestack-2.1.0/usr/lib/systemd/system
cp -f conf/hubble ~/hubblestack-2.1.0/etc/hubble/hubble
rm -rf ~/hubblestack-2.1.1
rm -rf ~/hubblestack-2.1.1.tar.gz
mkdir ~/hubblestack-2.1.1
tar -xzvf ~/hubble.tar.gz -C ~/hubblestack-2.1.1
mkdir -p ~/hubblestack-2.1.1/etc/init.d
cp pkg/hubble ~/hubblestack-2.1.1/etc/init.d
mkdir -p ~/hubblestack-2.1.1/usr/lib/systemd/system
cp pkg/hubble.service ~/hubblestack-2.1.1/usr/lib/systemd/system
cp -f conf/hubble ~/hubblestack-2.1.1/etc/hubble/hubble
cd ~
tar -czvf hubblestack-2.1.0.tar.gz hubblestack-2.1.0/
tar -czvf hubblestack-2.1.1.tar.gz hubblestack-2.1.1/
rm -rf ~/rpmbuild
mkdir -p ~/rpmbuild/{RPMS,SRPMS,BUILD,SOURCES,SPECS,tmp}

Expand All @@ -36,7 +36,7 @@ cat <<EOF >~/.rpmmacros
%_tmppath %{_topdir}/tmp
EOF

cp ~/hubblestack-2.1.0.tar.gz ~/rpmbuild/SOURCES/
cp ~/hubblestack-2.1.1.tar.gz ~/rpmbuild/SOURCES/
cd ~/rpmbuild

cp ~/hubble/pkg/specs/* SPECS/
Expand Down
5 changes: 4 additions & 1 deletion pkg/specs/hubblestack-el6.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Summary: Hubblestack is a module, open-source security compliance framework
Name: hubblestack
Version: 2.1.0
Version: 2.1.1
Release: 1
License: Apache 2.0
Group: Development/Tools
Expand Down Expand Up @@ -55,3 +55,6 @@ rm -rf %{buildroot}
%changelog
* Wed Feb 8 2017 Colton Myers <[email protected]> 2.1.0-1
- First Build

* Mon Feb 13 2017 Colton Myers <[email protected]> 2.1.1-1
- Remove autoreq, add unit files
5 changes: 4 additions & 1 deletion pkg/specs/hubblestack-el7.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Summary: Hubblestack is a module, open-source security compliance framework
Name: hubblestack
Version: 2.1.0
Version: 2.1.1
Release: 1
License: Apache 2.0
Group: Development/Tools
Expand Down Expand Up @@ -55,3 +55,6 @@ rm -rf %{buildroot}
%changelog
* Wed Feb 8 2017 Colton Myers <[email protected]> 2.1.0-1
- First Build

* Mon Feb 13 2017 Colton Myers <[email protected]> 2.1.1-1
- Remove autoreq, add unit files

0 comments on commit 8ff4d45

Please sign in to comment.