Browse code

Deprecate mesos, librepo

Change-Id: Ibca4ae5df8137c20d4f99468b8fe29835d5104e3
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5774
Reviewed-by: Sharath George
Tested-by: Sharath George

suezzelur authored on 2018/09/22 08:52:06
Showing 4 changed files
1 1
deleted file mode 100644
... ...
@@ -1,107 +0,0 @@
1
-#dont terminate build for unpackaged files.
2
-%define _unpackaged_files_terminate_build 0
3
-%define librepo_name %{name}-%{name}
4
-
5
-Summary:        Repodata downloading library
6
-Name:           librepo
7
-Version:        1.7.20
8
-Release:        2%{?dist}
9
-License:        LGPLv2+
10
-URL:            https://github.com/Tojaj/librepo/
11
-Group:          System Environment/Libraries
12
-Source0:        %{name}-%{version}.tar.gz
13
-%define sha1    librepo=8aff436081320acf50b8d32a9982d02062e56bd6
14
-Source1:        pygpgme-0.3.tar.gz
15
-%define sha1    pygpgme=f8df35bd2705ac2e1642209fba732e6a42d03fd4
16
-Vendor:         VMware, Inc.
17
-Distribution:   Photon
18
-Requires:       curl-libs, gpgme, libassuan, libgpg-error
19
-Requires:       expat-libs
20
-Requires:       glib
21
-Requires:       openssl
22
-
23
-BuildRequires:  cmake
24
-BuildRequires:  glib-devel
25
-BuildRequires:  check
26
-BuildRequires:  expat-devel
27
-BuildRequires:  curl-devel
28
-BuildRequires:  python2-devel
29
-BuildRequires:  python2-libs
30
-BuildRequires:  python2-tools
31
-BuildRequires:  gpgme-devel
32
-BuildRequires:  openssl-devel
33
-BuildRequires:  attr-devel
34
-
35
-%description
36
-A library providing C and Python (libcURL like) API for downloading
37
-linux repository metadata and packages
38
-
39
-%package devel
40
-Summary: package config and headers for librepo
41
-Requires: %{name} = %{version}-%{release}
42
-Requires: curl-devel
43
-Requires: expat-devel
44
-Provides: pkgconfig(librepo)
45
-%description devel
46
-Package config and headers for librepo.
47
-
48
-%prep
49
-%setup -q -n %{librepo_name}-%{version}
50
-tar xf %{SOURCE1} --no-same-owner
51
-
52
-%build
53
-mkdir build
54
-cd build
55
-cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_prefix}/lib ..
56
-make %{?_smp_mflags}
57
-
58
-%install
59
-mkdir -p %{buildroot}%{_libdir}
60
-mkdir -p %{buildroot}%{_includedir}/librepo
61
-mkdir -p %{buildroot}%{_libdir}/pkgconfig
62
-cp %{_builddir}/%{librepo_name}-%{version}/build/librepo/librepo.so* %{buildroot}%{_libdir}
63
-cp %{_builddir}/%{librepo_name}-%{version}/build/librepo.pc %{buildroot}%{_libdir}/pkgconfig
64
-cp %{_builddir}/%{librepo_name}-%{version}/librepo/*.h %{buildroot}%{_includedir}/librepo
65
-
66
-%check
67
-pushd build/tests
68
-./run_tests.sh
69
-popd
70
-
71
-%post
72
-/sbin/ldconfig
73
-
74
-%postun
75
-/sbin/ldconfig
76
-
77
-%files
78
-%defattr(-,root,root)
79
-%{_libdir}/librepo.so*
80
-
81
-%files devel
82
-%{_libdir}/pkgconfig/librepo.pc
83
-%{_includedir}/librepo/*.h
84
-
85
-%changelog
86
-*   Thu Jun 08 2017 Chang Lee <changlee@vmware.com> 1.7.20-2
87
--   Updated %check
88
-*   Thu Apr 20 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.7.20-1
89
--   Updated to version 1.7.20
90
-*   Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> 1.7.17-6
91
--   Requires expat-libs, expat-devel and curl-libs.
92
-*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.7.17-5
93
--   BuildRequires curl-devel.
94
-*   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.7.17-4
95
--   BuildRequired attr-devel.
96
-*   Thu Oct 06 2016 ChangLee <changlee@vmware.com> 1.7.17-3
97
--   Modified %check
98
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.7.17-2
99
--   GA - Bump release of all rpms
100
-*   Fri Jan 22 2016 Xiaolin Li <xiaolinl@vmware.com> 1.7.17-1
101
--   Updated to version 1.7.17
102
-*   Wed Jun 17 2015 Anish Swaminathan <anishs@vmware.com> 1.7.15-1
103
--   Updated version and split devel package.
104
-*   Tue Dec 30 2014 Priyesh Padmavilasom <ppadmavilasom@vmware.com>
105
--   initial specfile.
106
-
107
-# EOF
108 1
deleted file mode 100644
... ...
@@ -1,159 +0,0 @@
1
-%{!?python2_sitelib: %global python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
2
-
3
-Summary:        Mesos
4
-Name:           mesos
5
-Version:        1.6.1
6
-Release:        1%{?dist}
7
-License:        Apache
8
-URL:            http://mesos.apache.org
9
-Group:          Applications/System
10
-Vendor:         VMware, Inc.
11
-Distribution:   Photon
12
-Source0:        http://www.apache.org/dist/%{name}/%{version}/%{name}-%{version}.tar.gz
13
-%define sha1    mesos=8ecb061814dffeb5f7c14a30bc09e3a3cc875c2e
14
-BuildRequires:  openjre8 >= 1.8.0.45
15
-BuildRequires:  openjdk8 >= 1.8.0.45
16
-BuildRequires:  curl-devel
17
-BuildRequires:  apache-maven >= 3.3.3
18
-BuildRequires:  apr-devel >= 1.5.2
19
-BuildRequires:  apr >= 1.5.2
20
-BuildRequires:  apr-util >= 1.5.4
21
-BuildRequires:  apr-util-devel >= 1.5.4
22
-BuildRequires:  subversion >= 1.8.13
23
-BuildRequires:  subversion-devel >= 1.8.13
24
-BuildRequires:  serf-devel
25
-BuildRequires:  cyrus-sasl >= 2.1.26
26
-BuildRequires:  which
27
-BuildRequires:  python2 >= 2.6
28
-BuildRequires:  python2-libs
29
-BuildRequires:  python-xml
30
-BuildRequires:  python2-devel
31
-BuildRequires:  python-setuptools
32
-BuildRequires:  sqlite-devel
33
-BuildRequires:  automake
34
-BuildRequires:  autoconf
35
-Requires:       apr >= 1.5.2
36
-Requires:       apr-util >= 1.5.4
37
-Requires:       cyrus-sasl >= 2.1.26
38
-Requires:       expat
39
-Requires:       openjre8 >= 1.8.0.45
40
-Requires:       subversion >= 1.8.13
41
-
42
-
43
-%description
44
- This package installs mesos services that allow photon to run tasks in mesos
45
- framework.
46
-
47
-%package    devel
48
-Summary:    Header and development files for mesos
49
-Requires:   %{name} = %{version}
50
-%description    devel
51
- mesos-devel package contains header files, pkfconfig files, and libraries
52
- needed to build applications for mesos.
53
-
54
-%prep
55
-%setup -q
56
-
57
-%build
58
-sed -i 's/gzip -d -c $^ | tar xf -/tar --no-same-owner -xf $^/' 3rdparty/Makefile.am
59
-sed -i 's/gzip -d -c $^ | tar xf -/tar --no-same-owner -xf $^/' 3rdparty/libprocess/3rdparty/Makefile.am
60
-autoreconf -i
61
-%configure \
62
-    CFLAGS="%{optflags} -Wno-deprecated-declarations"  \
63
-    CXXFLAGS="%{optflags} -Wno-deprecated-declarations -Wno-strict-aliasing" \
64
-    --disable-silent-rules
65
-make %{?_smp_mflags}
66
-
67
-#%check
68
-#make %{?_smp_mflags} check
69
-
70
-%install
71
-make DESTDIR=%{buildroot} install
72
-find %{buildroot}%{_libdir} -name '*.la' -delete
73
-[ %{buildroot} != "/"] && rm -rf %{buildroot}/*
74
-
75
-%files
76
-%defattr(-,root,root)
77
-%{_bindir}/mesos*
78
-%exclude %{_bindir}/easy_install
79
-%exclude %{_bindir}/easy_install-2.7
80
-%{_sbindir}/mesos-*
81
-%{_libdir}/libmesos*
82
-%{_libexecdir}/mesos/mesos-*
83
-%{_sysconfdir}/mesos/*
84
-%{_prefix}/share/mesos/*
85
-%{_libdir}/libload_qos_controller-*.so
86
-%{_libdir}/libload_qos_controller.so
87
-%{_libdir}/liblogrotate_container_logger-*.so
88
-%{_libdir}/liblogrotate_container_logger.so
89
-%{_libdir}/mesos/modules/libfixed_resource_estimator-*.so
90
-%{_libdir}/mesos/modules/libfixed_resource_estimator.so
91
-%{_libdir}/mesos/modules/libload_qos_controller-*.so
92
-%{_libdir}/mesos/modules/libload_qos_controller.so
93
-%{_libdir}/mesos/modules/liblogrotate_container_logger-*.so
94
-%{_libdir}/mesos/modules/liblogrotate_container_logger.so
95
-%{_libdir}/mesos/modules/liburi_disk_profile_adaptor-1.6.1.so
96
-%{_libdir}/mesos/modules/liburi_disk_profile_adaptor.so
97
-
98
-%files devel
99
-%{_includedir}/*
100
-%{_libdir}/libfixed_resource_estimator*
101
-%{_libdir}/pkgconfig/mesos.pc
102
-%{python2_sitelib}/*
103
-%exclude %{_libdir}/debug/
104
-
105
-%changelog
106
-*   Thu Sep 06 2018 Anish Swaminathan <anishs@vmware.com> 1.6.1-1
107
--   Update version to 1.6.1
108
-*   Tue Jan 30 2018 Xiaolin Li <xiaolinl@vmware.com> 1.4.1-2
109
--   Add serf-devel to BuildRequires.
110
-*   Tue Jan 02 2018 Alexey Makhalov <amakhalov@vmware.com> 1.4.1-1
111
--   Version update. Aarch64 support
112
-*   Wed Oct 11 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.2.2-1
113
--   Updated to version 1.2.2
114
-*   Mon Oct 02 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.2.0-7
115
--   Use multiple cores to build mesos.
116
-*   Wed Sep 06 2017 Anish Swaminathan <anishs@vmware.com> 1.2.0-6
117
--   Use system sysconfdir
118
-*   Tue Aug 15 2017 Alexey Makhalov <amakhalov@vmware.com> 1.2.0-5
119
--   Fix compilation issue for glibc-2.26
120
-*   Thu Aug 10 2017 Xiaolin Li <xiaolinl@vmware.com> 1.2.0-4
121
--   Disable make check because Segfault in ProcessTest.Spawn with GCC 6+.
122
--   For more details, please refer to https://issues.apache.org/jira/browse/MESOS-4983.
123
-*   Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.2.0-3
124
--   Use python2_sitelib explicitly
125
-*   Thu May 18 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.2.0-2
126
--   Renamed openjdk to openjdk8
127
-*   Fri Mar 31 2017 Michelle Wang <michellew@vmware.com> 1.2.0-1
128
--   Update package version
129
-*   Fri Mar 24 2017 Alexey Makhalov <amakhalov@vmware.com> 1.1.0-3
130
--   Added mesos-sysmacros.patch and -Wno-strict-aliasing CPPFLAGS
131
-    to fix build issues with glibc-2.25
132
-*   Thu Dec 15 2016 Xiaolin Li <xiaolinl@vmware.com> 1.1.0-2
133
--   BuildRequires curl-devel.
134
-*   Tue Dec 13 2016 Xiaolin Li <xiaolinl@vmware.com> 1.1.0-1
135
--   Updated to version 1.1.0
136
-*   Wed Nov 16 2016 Alexey Makhalov <amakhalov@vmware.com> 0.28.2-3
137
--   Use sqlite-{devel,libs}
138
-*   Mon Oct 03 2016 ChangLee <changlee@vmware.com> 0.28.2-2
139
--   Modified check
140
-*   Fri Jun 24 2016 Xiaolin Li <xiaolinl@vmware.com> 0.28.2-1
141
--   Upgraded to version 0.28.2
142
-*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.24.0-3
143
--   GA - Bump release of all rpms
144
-*   Tue May 3 2016 Xiaolin Li <xiaolinl@vmware.com> 0.24.0-2
145
--   Add python-setuptools to build requires.
146
-*   Fri Sep 18 2015 Vinay Kulkarni <kulkarniv@vmware.com> 0.24.0-1
147
--   Upgrade to mesos 0.24.0
148
-*   Wed Sep 16 2015 Harish Udaiya Kumar <hudaiyakumar.com> 0.23.0-3
149
--   Updated the dependencies after repackaging the openjdk. 
150
-*   Tue Sep 08 2015 Vinay Kulkarni <kulkarniv@vmware.com> 0.23.0-2
151
--   Move headers, pc, dev libs into devel pkg.
152
-*   Tue Sep 01 2015 Vinay Kulkarni <kulkarniv@vmware.com> 0.23.0-1
153
--   Update to mesos 0.23.0.
154
-*   Fri Aug 28 2015 Vinay Kulkarni <kulkarniv@vmware.com> 0.22.1-3
155
--   Disable parallel build. Fix Requires.
156
-*   Thu Jul 16 2015 Alexey Makhalov <amakhalov@vmware.com> 0.22.1-2
157
--   Untar with --no-same-owner to get it compilable in container.
158
-*   Fri Jun 26 2015 Sarah Choi <sarahc@vmware.com> 0.22.1-1
159
--   Initial build. First version
... ...
@@ -138,7 +138,6 @@
138 138
         "nss-altfiles",
139 139
         "apache-maven",
140 140
         "subversion",
141
-        "mesos",
142 141
         "python3",
143 142
         "python3-libs",
144 143
         "python3-tools",
... ...
@@ -3,7 +3,7 @@
3 3
                   "bzip2","pkg-config","python3-curses","ncurses", "cracklib","cracklib-dicts","python3-cracklib",
4 4
                   "shadow","coreutils","grep","readline","findutils","xz","util-linux","e2fsprogs",
5 5
                   "libffi","expat","linux","cpio","Linux-PAM","attr","libcap", "systemd","dbus",
6
-                  "gzip", "sqlite","nspr","nss","popt","lua","rpm","gptfdisk","tar", "librepo",
6
+                  "gzip", "sqlite","nspr","nss","popt","lua","rpm","gptfdisk","tar",
7 7
                   "hawkey", "python3","python3-libs","pcre","glib", "tdnf", "python3-requests",
8 8
                   "grub2-pc", "grub2-efi", "efivar", "efibootmgr", "dracut", "curl", "dosfstools"]
9 9
 }