Hello community,

here is the log from the commit of package lxcfs for openSUSE:Factory checked 
in at 2019-03-28 22:48:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lxcfs (Old)
 and      /work/SRC/openSUSE:Factory/.lxcfs.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lxcfs"

Thu Mar 28 22:48:53 2019 rev:6 rq:689181 version:3.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/lxcfs/lxcfs.changes      2018-07-12 
09:21:17.850597478 +0200
+++ /work/SRC/openSUSE:Factory/.lxcfs.new.25356/lxcfs.changes   2019-03-28 
22:48:58.355051633 +0100
@@ -1,0 +2,12 @@
+Tue Mar 26 02:28:48 UTC 2019 - Aleksa Sarai <asa...@suse.com>
+
+- Update to version 3.0.3. The changelog is fairly significant from 2.x, but
+  the main difference is tha the PAM module has been moved to the LXC project,
+  and is no longer hosted in lxcfs.
+
+-------------------------------------------------------------------
+Tue Mar 26 00:09:22 UTC 2019 - Aleksa Sarai <asa...@suse.com>
+
+- Rework packaging to be a more modern openSUSE-style.
+
+-------------------------------------------------------------------

Old:
----
  lxcfs-2.0.8.tar.gz
  lxcfs-2.0.8.tar.gz.asc

New:
----
  lxcfs-3.0.3.tar.gz
  lxcfs-3.0.3.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lxcfs.spec ++++++
--- /var/tmp/diff_new_pack.x2IpnV/_old  2019-03-28 22:48:58.939051527 +0100
+++ /var/tmp/diff_new_pack.x2IpnV/_new  2019-03-28 22:48:58.959051524 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lxcfs
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,81 +12,70 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           lxcfs
-Version:        2.0.8
+Version:        3.0.3
 Release:        0
 Summary:        FUSE filesystem for LXC
 License:        Apache-2.0
 Group:          System/Management
-Url:            http://linuxcontainers.org
+Url:            https://linuxcontainers.org/lxcfs
 Source:         
https://linuxcontainers.org/downloads/%{name}/%{name}-%{version}.tar.gz
-Source1:        
https://linuxcontainers.org/downloads/%{name}/%{name}-%{version}.tar.gz.asc#/%{name}-%{version}.tar.gz.asc
+Source1:        
https://linuxcontainers.org/downloads/%{name}/%{name}-%{version}.tar.gz.asc
 Source2:        %{name}.keyring
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  fdupes
 BuildRequires:  help2man
 BuildRequires:  libtool
 BuildRequires:  pam-devel
 BuildRequires:  pkg-config
+BuildRequires:  systemd
 BuildRequires:  pkgconfig(fuse)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%{?systemd_requires}
 
 %description
-LXCFS is a simple userspace filesystem designed to work around some current 
limitations of the Linux kernel.
+LXCFS is a small FUSE filesystem written with the intention of making Linux
+containers feel more like a virtual machine. It started as a side-project of
+LXC but is usable by any runtime.
 
-Specifically, it's providing two main things
-
-A set of files which can be bind-mounted over their /proc originals
-to provide CGroup-aware values.
-A cgroupfs-like tree which is container aware.
-The code is pretty simple, written in C using libfuse and glib.
-
-The main driver for this work was the need to run systemd based containers as 
a regular unprivileged user
-while still allowing systemd inside the container to interact with cgroups.
-
-Now with the introduction of the cgroup namespace in the Linux kernel, that 
part is no longer necessary
-on recent kernels and focus is now on making containers feel more like a real 
independent system through
-the proc masking feature.
-
-%package -n pam_cgfs
-Summary:        CGroup FS pam module
-Group:          System/Libraries
-
-%description -n pam_cgfs
-When a user logs in, this pam module will create cgroups which the user may
-administer, either for all controllers or for any controllers listed on the
-command line.
+%package hooks-lxc
+Summary:        LXC hooks for %{name}
+Group:          System/Management
+Requires:       %{name} = %{version}
+Supplements:    packageand(%{name}:lxc)
+BuildArch:      noarch
+
+%description hooks-lxc
+Configuration to add hooks for %{name} so that it automatically interoperates
+with LXC for all containers.
 
 %prep
 %setup
 
 %build
-autoreconf --force --install
-%configure --with-distro=suse
+autoreconf -vif
+%configure --with-distro=opensuse
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=%{buildroot} %{?_smp_mflags}
-install -d -m 0755 %{buildroot}%{_unitdir}
-install -p -m 0644 config/init/systemd/*.service %{buildroot}%{_unitdir}/
-install -d -m 0755 %{buildroot}%{_sbindir}
-ln -sf service %{buildroot}%{_sbindir}/rc%{name}
-install -d -m 0755 %{buildroot}%{_includedir}/%{name}
-rm bindings.h
-install -d -m 0755 %{buildroot}%{_localstatedir}/lib/%{name}/
-
 # The shared library liblxcfs.so used by lxcfs is not supposed to be used by
-# any other program. So we follow best practice and install it in
-# /usr/lib/lxcfs. Note that lxcfs *expects* liblxcfs.so to be found in
-# /usr/lib/lxcfs when it cannot find it in the lib.so path.
-mkdir -p %{buildroot}/usr/lib/%{name}/
-install -p -m 0755 .libs/liblxcfs.so %{buildroot}/usr/lib/%{name}/
-rm -f %{buildroot}%{_libdir}/liblxcfs.so*
-rm -f %{buildroot}%{_libdir}/liblxcfs.la
+# any other program. lxcfs will automatically install it to {_libdir}/{name}
+# which is out of the way of any other users.
+%make_install
+install -d -m 0755 %{buildroot}%{_sharedstatedir}/%{name}
+
+# systemd service and sysv-init compat wrapper.
+install -D -m 0644 config/init/systemd/%{name}.service 
%{buildroot}%{_unitdir}/%{name}.service
+mkdir -p %{buildroot}%{_sbindir}
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
+
+# Clean up.
+find %{buildroot} -type f -name '*.la' -delete
+%fdupes %{buildroot}
 
 %pre
 %service_add_pre lxcfs.service
@@ -102,29 +91,27 @@
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS ChangeLog README
+%doc AUTHORS README*
 %license COPYING
 %{_sbindir}/*
 %{_bindir}/*
-%{_datadir}/lxc
 %{_datadir}/%{name}
 %{_mandir}/man1/*
 %{_unitdir}/*
-%dir %{_localstatedir}/lib/%{name}
-%dir %{_libdir}/%{name}
-%{_libdir}/%{name}/liblxcfs.la
-%{_libdir}/%{name}/liblxcfs.so
+
+# Mountpoint for lxcfs.
+%dir %{_sharedstatedir}/%{name}
 
 # The lxcfs executable requires liblxcfs.so be installed. It calls dlopen() to
 # dynamically reload the shared library on upgrade. This is important. Do *not*
 # split into a separate package and do not turn this into a versioned shared
 # library! (This shared library allows lxcfs to be updated without having to
 # restart it which is good when you have important system containers running!)
-%dir /usr/lib/%{name}
-/usr/lib/%{name}/liblxcfs.so
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/liblxcfs.so
 
-%files -n pam_cgfs
+%files hooks-lxc
 %defattr(-,root,root)
-/%{_lib}/security/pam_cgfs.so
+%{_datadir}/lxc
 
 %changelog

++++++ lxcfs-2.0.8.tar.gz -> lxcfs-3.0.3.tar.gz ++++++
++++ 8793 lines of diff (skipped)


Reply via email to