Browse Source

package build modifications based on adrian's feedback

pull/1943/head
Greg Szabo 8 years ago
parent
commit
59ac3973d3
8 changed files with 0 additions and 14 deletions
  1. +0
    -1
      devops/rpmbuild/extrafiles/DEBIAN-basecoin/control
  2. +0
    -1
      devops/rpmbuild/extrafiles/DEBIAN-basecoin/postinst
  3. +0
    -3
      devops/rpmbuild/extrafiles/DEBIAN-basecoin/postrm
  4. +0
    -1
      devops/rpmbuild/extrafiles/DEBIAN-ethermint/control
  5. +0
    -1
      devops/rpmbuild/extrafiles/DEBIAN-ethermint/postinst
  6. +0
    -4
      devops/rpmbuild/extrafiles/DEBIAN-ethermint/postrm
  7. +0
    -2
      devops/rpmbuild/spectemplates/basecoin.spec
  8. +0
    -1
      devops/rpmbuild/spectemplates/ethermint.spec

+ 0
- 1
devops/rpmbuild/extrafiles/DEBIAN-basecoin/control View File

@ -4,7 +4,6 @@ Priority: optional
Maintainer: Greg Szabo <greg@philosobear.com>
Build-Depends: debhelper (>=9)
Depends: tendermint (>=0.10.0)
Breaks: ethermint
Standards-Version: 3.9.6
Homepage: https://tendermint.com
Package: basecoin


+ 0
- 1
devops/rpmbuild/extrafiles/DEBIAN-basecoin/postinst View File

@ -26,7 +26,6 @@ case "$1" in
sudo -Hu basecoin tendermint init --home /etc/basecoin/tendermint
#The above command might need some kind of additional option in the future. https://github.com/tendermint/tendermint/issues/542
systemctl daemon-reload
systemctl enable basecoin
;;
abort-upgrade|abort-remove|abort-deconfigure)


+ 0
- 3
devops/rpmbuild/extrafiles/DEBIAN-basecoin/postrm View File

@ -21,9 +21,6 @@ set -e
case "$1" in
upgrade|failed-upgrade|abort-upgrade)
systemctl daemon-reload
if [ -d /etc/basecoin/tendermint/data ]; then
service basecoin start
fi
;;
purge|remove|abort-install|disappear)


+ 0
- 1
devops/rpmbuild/extrafiles/DEBIAN-ethermint/control View File

@ -4,7 +4,6 @@ Priority: optional
Maintainer: Greg Szabo <greg@philosobear.com>
Build-Depends: debhelper (>=9)
Depends: tendermint (>=0.10.0)
Breaks: basecoin
Standards-Version: 3.9.6
Homepage: https://tendermint.com
Package: ethermint


+ 0
- 1
devops/rpmbuild/extrafiles/DEBIAN-ethermint/postinst View File

@ -29,7 +29,6 @@ case "$1" in
sudo -Hu ethermint tendermint init --home /etc/ethermint/tendermint
systemctl daemon-reload
systemctl enable ethermint
;;
abort-upgrade|abort-remove|abort-deconfigure)


+ 0
- 4
devops/rpmbuild/extrafiles/DEBIAN-ethermint/postrm View File

@ -21,14 +21,10 @@ set -e
case "$1" in
upgrade|failed-upgrade|abort-upgrade)
systemctl daemon-reload
if [ -d /etc/ethermint/tendermint/data ]; then
service ethermint start
fi
;;
purge|remove|abort-install|disappear)
systemctl daemon-reload
# userdel ethermint
;;
*)


+ 0
- 2
devops/rpmbuild/spectemplates/basecoin.spec View File

@ -53,9 +53,7 @@ sudo -Hu %{name} tendermint init --home %{_sysconfdir}/%{name}/tendermint
rm -f %{_sysconfdir}/%{name}/key.json
rm -f %{_sysconfdir}/%{name}/key2.json
systemctl daemon-reload
systemctl enable %{name}
%preun
systemctl stop %{name} 2> /dev/null || :


+ 0
- 1
devops/rpmbuild/spectemplates/ethermint.spec View File

@ -47,7 +47,6 @@ cd %{name}-%{version}
sudo -Hu %{name} %{_bindir}/%{name} --datadir %{_sysconfdir}/%{name} init %{_sysconfdir}/%{name}/genesis.json
sudo -Hu %{name} tendermint init --home %{_sysconfdir}/%{name}/tendermint
systemctl daemon-reload
systemctl enable %{name}
%preun
systemctl stop %{name} 2> /dev/null || :


Loading…
Cancel
Save