- lxcfs: bump up to 5.0.0
Change-Id: Ifc6f22f6032c84612acab2a71145fb722df1c328
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/15781
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Michelle Wang <michellew@vmware.com>
| ... | ... |
@@ -1,15 +1,15 @@ |
| 1 |
-Summary: Linux Containers File System |
|
| 2 |
-Name: lxcfs |
|
| 3 |
-Version: 4.0.8 |
|
| 4 |
-Release: 1%{?dist}
|
|
| 5 |
-URL: https://linuxcontainers.org/lxcfs/downloads/ |
|
| 6 |
-Source0: %{name}-%{version}.tar.gz
|
|
| 7 |
-License: LGPL 2.1+ |
|
| 8 |
-Group: System Environment/Libraries |
|
| 9 |
-%define sha1 %{name}=a3d56725f8f9997ba6663840a5802fad99a737d5
|
|
| 10 |
-Vendor: VMware, Inc. |
|
| 1 |
+Summary: Linux Containers File System |
|
| 2 |
+Name: lxcfs |
|
| 3 |
+Version: 5.0.0 |
|
| 4 |
+Release: 1%{?dist}
|
|
| 5 |
+URL: https://linuxcontainers.org/lxcfs/downloads/ |
|
| 6 |
+Source0: %{name}-%{version}.tar.gz
|
|
| 7 |
+License: LGPL 2.1+ |
|
| 8 |
+Group: System Environment/Libraries |
|
| 9 |
+%define sha512 %{name}=f6ab0feea862812dde08dd828cb7843820a27f56ec88ef1bf264e3fe585037b9327849e4a31c629f2712c861cdc80d59ea15c190d875d48b2d446fe15d9e57b8
|
|
| 10 |
+Vendor: VMware, Inc. |
|
| 11 | 11 |
Distribution: Photon |
| 12 |
-BuildRequires: gcc |
|
| 12 |
+BuildRequires: gcc meson python3-jinja2 |
|
| 13 | 13 |
BuildRequires: libtool |
| 14 | 14 |
BuildRequires: fuse-devel |
| 15 | 15 |
BuildRequires: systemd |
| ... | ... |
@@ -19,17 +19,14 @@ Requires: fuse |
| 19 | 19 |
LXCFS is a simple userspace filesystem designed to work around some current limitations of the Linux kernel. |
| 20 | 20 |
|
| 21 | 21 |
%prep |
| 22 |
-%setup -q |
|
| 22 |
+%autosetup |
|
| 23 | 23 |
|
| 24 | 24 |
%build |
| 25 |
-%configure \ |
|
| 26 |
- --with-init-script=systemd |
|
| 27 |
-make %{?_smp_mflags}
|
|
| 25 |
+%meson |
|
| 26 |
+%meson_build |
|
| 28 | 27 |
|
| 29 | 28 |
%install |
| 30 |
-rm -rf %{buildroot}
|
|
| 31 |
-make install DESTDIR=%{buildroot}
|
|
| 32 |
-mkdir -p %{buildroot}/%{_sharedstatedir}/%{name}
|
|
| 29 |
+%meson_install |
|
| 33 | 30 |
|
| 34 | 31 |
%post |
| 35 | 32 |
%systemd_post lxcfs.service |
| ... | ... |
@@ -45,16 +42,15 @@ rm -rf %{buildroot}
|
| 45 | 45 |
|
| 46 | 46 |
%files |
| 47 | 47 |
%defattr(-,root,root,-) |
| 48 |
-%dir %{_sharedstatedir}/%{name}
|
|
| 49 | 48 |
/lib/systemd/system/%{name}.service
|
| 50 | 49 |
%{_bindir}/lxcfs
|
| 51 |
-%config(noreplace) %{_datarootdir}/lxc/config/common.conf.d/00-%{name}.conf
|
|
| 52 |
-%{_datarootdir}/%{name}/lxc.mount.hook
|
|
| 53 |
-%{_datarootdir}/%{name}/lxc.reboot.hook
|
|
| 54 |
-%{_libdir}/%{name}/liblxcfs.la
|
|
| 55 | 50 |
%{_libdir}/%{name}/liblxcfs.so
|
| 51 |
+%{_datadir}/%{name}/*.hook
|
|
| 52 |
+%{_datadir}/lxc/config/common.conf.d/00-lxcfs.conf
|
|
| 56 | 53 |
|
| 57 | 54 |
%changelog |
| 55 |
+* Mon Apr 18 2022 Gerrit Photon <photon-checkins@vmware.com> 5.0.0-1 |
|
| 56 |
+- Automatic Version Bump |
|
| 58 | 57 |
* Mon May 03 2021 Gerrit Photon <photon-checkins@vmware.com> 4.0.8-1 |
| 59 | 58 |
- Automatic Version Bump |
| 60 | 59 |
* Tue Apr 13 2021 Gerrit Photon <photon-checkins@vmware.com> 4.0.7-1 |