Commit f3b86b6f authored by Vitaly Lipatov's avatar Vitaly Lipatov

0.3.0-alt1

- move the script to /usr/bin - add qm (qemu) support - allow all/ALL for stop - fix destroy listing - add pct support
parent 7fa3d8bc
......@@ -4,14 +4,14 @@ pkgdatadir=$(datadir)/evz
instpkgdatadir=/usr/share/evz
install:
mkdir -p $(DESTDIR)$(sbindir)/
mkdir -p $(DESTDIR)$(bindir)/
# breaks link
#install -m 755 `ls -1 bin/* | grep -v "-"` $(DESTDIR)$(sbindir)/
cp -a `ls -1 bin/* | grep -v "-"` $(DESTDIR)$(sbindir)/
chmod 0755 $(DESTDIR)$(sbindir)/*
#install -m 755 `ls -1 bin/* | grep -v "-"` $(DESTDIR)$(bindir)/
cp -a `ls -1 bin/* | grep -v "-"` $(DESTDIR)$(bindir)/
chmod 0755 $(DESTDIR)$(bindir)/*
# hack to replace path
sed -e "s|SHAREDIR=.*|SHAREDIR=$(instpkgdatadir)|g" -e "s|@VERSION@|$(version)|g" <bin/evz >$(DESTDIR)$(sbindir)/evz
sed -e "s|SHAREDIR=.*|SHAREDIR=$(instpkgdatadir)|g" -e "s|@VERSION@|$(version)|g" <bin/evz >$(DESTDIR)$(bindir)/evz
mkdir -p $(DESTDIR)$(pkgdatadir)/
install -m 644 `ls -1 bin/* | grep "-"` $(DESTDIR)$(pkgdatadir)/
......
Name: evz
Version: 0.2.0
Version: 0.3.0
Release: alt1
Summary: OpenVZ control tool
......@@ -34,12 +34,19 @@ install -D -m 0644 bash_completion/evz %buildroot%_sysconfdir/bash_completion.d/
%files
#doc README LICENSE TODO
%_sbindir/evz
%_bindir/evz
%_datadir/%name/
%_man8dir/*
%_sysconfdir/bash_completion.d/evz
%changelog
* Tue Feb 25 2020 Vitaly Lipatov <lav@altlinux.ru> 0.3.0-alt1
- move the script to /usr/bin
- add qm (qemu) support
- allow all/ALL for stop
- fix destroy listing
- add pct support
* Mon Feb 24 2020 Vitaly Lipatov <lav@altlinux.ru> 0.2.0-alt1
- refactoring with initial docker support
- evz-openvz: don't use vz commands directly
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment