Browse code

Deprecate micro-config-drive and docker-volume-vsphere packages

Change-Id: I3330706c3b1a1bc73076730e9ca64785656ac1f3
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5674
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>

suezzelur authored on 2018/09/13 06:49:44
Showing 2 changed files
1 1
deleted file mode 100644
... ...
@@ -1,60 +0,0 @@
1
-Summary:        vSphere Docker Volume Service
2
-Name:           docker-volume-vsphere
3
-Version:        0.12
4
-Release:        2%{?dist}
5
-License:        Apache 2.0
6
-URL:            https://github.com/vmware/docker-volume-vsphere
7
-Group:          Applications/System
8
-Vendor:         VMware, Inc.
9
-Distribution:   Photon
10
-Source0:        %{name}-%{version}.tar.gz
11
-%define sha1    docker-volume-vsphere=3182700280e8f6589c7402b30dc237172af5a249
12
-
13
-BuildRequires:  go
14
-
15
-%description
16
-vSphere Docker Volume Service enables customers to address persistent storage requirements for Docker containers in vSphere environments.
17
-%prep
18
-%setup -q
19
-
20
-%build
21
-cd ..
22
-mkdir  mkdir -p build/src/github.com/vmware/docker-volume-vsphere
23
-cp -r docker-volume-vsphere-0.12/* build/src/github.com/vmware/docker-volume-vsphere/.
24
-cd build
25
-mkdir bin
26
-export GOPATH=`pwd`
27
-cd bin
28
-export GOBIN=`pwd`
29
-export PATH=$PATH:$GOBIN
30
-cd ../src/github.com/vmware/docker-volume-vsphere/vmdk_plugin
31
-go build
32
-go install
33
-
34
-%install
35
-mkdir -p %{buildroot}/usr/local/bin
36
-mkdir -p %{buildroot}/%{_libdir}/systemd/system
37
-cp ../build/bin/vmdk_plugin %{buildroot}/usr/local/bin/docker-volume-vsphere
38
-chmod 755 %{buildroot}/usr/local/bin/docker-volume-vsphere
39
-cp ./misc/scripts/install/*.sh %{buildroot}/usr/local/bin/.
40
-chmod 755 %{buildroot}/usr/local/bin/*.sh
41
-cp ./misc/scripts/install/docker-volume-vsphere.service %{buildroot}/%{_libdir}/systemd/system/.
42
-
43
-%post
44
-/usr/local/bin/after-install.sh
45
-
46
-%preun
47
-/usr/local/bin/before-remove.sh
48
-
49
-%files
50
-%defattr(-,root,root)
51
-%{_lib}/systemd/system/*
52
-/usr/local/bin/*
53
-
54
-%changelog
55
-*   Thu Jun 01 2017 Xiaolin Li <xiaolinl@vmware.com> 0.12-2
56
--   Use scripts from docker-volume-vsphere as post and preun scriptlets.
57
-*   Wed Mar 29 2017 Chang Lee <changlee@vmware.com> 0.12-1
58
--   update to version 0.12
59
-*   Mon Feb 13 2017 Xiaolin Li <xiaolinl@vmware.com> 0.11-1
60
--   Initial version
61 1
deleted file mode 100644
... ...
@@ -1,66 +0,0 @@
1
-Summary:        A cloud-init implementation in C.
2
-Name:           micro-config-drive
3
-Version:        25
4
-Release:        3%{?dist}
5
-Group:          Development/Tools
6
-License:        GPL-3.0
7
-URL:            https://github.com/clearlinux/micro-config-drive
8
-Source0:        https://github.com/clearlinux/micro-config-drive/releases/download/v%{version}/%{name}-%{version}.tar.xz
9
-%define sha1    micro-config-drive=11945b6c13e5f5e126bc12906c69cc057026bc28
10
-BuildRequires:  e2fsprogs-devel
11
-BuildRequires:  shadow
12
-BuildRequires:  check
13
-BuildRequires:  glib-devel
14
-BuildRequires:  json-glib-devel
15
-BuildRequires:  curl-devel
16
-BuildRequires:  parted
17
-BuildRequires:  libyaml-devel
18
-BuildRequires:  systemd-devel
19
-Requires:       json-glib
20
-Requires:       glib
21
-Requires:       libyaml
22
-Requires:       parted
23
-
24
-%description
25
-A cloud-init for Clear Linux* Project for Intel Architecture.
26
-
27
-%prep
28
-%setup -q
29
-
30
-%build
31
-autoreconf -vif
32
-%configure --disable-static --with-packagemgr=tdnf
33
-make V=1 CFLAGS="%{optflags}" %{?_smp_mflags}
34
-
35
-%check
36
-make VERBOSE=1 V=1 %{?_smp_mflags} check
37
-
38
-%install
39
-rm -rf $RPM_BUILD_ROOT
40
-%make_install
41
-
42
-%post
43
-%systemd_post ucd.service
44
-
45
-%preun
46
-%systemd_preun ucd.service
47
-
48
-%postun
49
-%systemd_postun_with_restart ucd.service
50
-
51
-
52
-%files
53
-%defattr(-,root,root,-)
54
-%{_bindir}/ucd
55
-/lib/systemd/system/ucd.service
56
-/lib/systemd/system/multi-user.target.wants/ucd.service
57
-%doc /usr/share/man/man1/*
58
-%doc /usr/share/man/man5/*
59
-
60
-%changelog
61
-*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 25-3
62
--   BuildRequires curl-devel.
63
-*   Fri Nov 18 2016 Anish Swaminathan <anishs@vmware.com>  25-2
64
--   Change systemd dependency
65
-*   Wed Aug 3 2016 Divya Thaluru <dthaluru@vmware.com> 25-1
66
--   Initial version