[dev] `lvm2`: adding the `lvm2-dbusd` package. (#1477)

This commit is contained in:
Pawel Winogrodzki 2021-10-01 00:37:20 -07:00 коммит произвёл GitHub
Родитель f7fc20b7ef
Коммит 76188442ca
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
20 изменённых файлов: 392 добавлений и 110 удалений

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -184,6 +184,7 @@
"python-pytest-forked",
"python-pytest-mock",
"python-pytest-xdist",
"python-pyudev",
"python-pywbem",
"python-responses",
"python-ruamel-yaml",

Просмотреть файл

@ -2,7 +2,7 @@
Summary: AppArmor is an effective and easy-to-use Linux application security system.
Name: apparmor
Version: 2.13
Release: 14%{?dist}
Release: 15%{?dist}
License: GNU LGPL v2.1
Vendor: Microsoft Corporation
Distribution: Mariner
@ -44,6 +44,7 @@ BuildRequires: python3-libs
BuildRequires: python3-setuptools
BuildRequires: python3-xml
BuildRequires: swig
BuildRequires: systemd-rpm-macros
BuildRequires: which
%description
@ -345,6 +346,9 @@ make DESTDIR=%{buildroot} install
%exclude %{perl_archlib}/perllocal.pod
%changelog
* Wed Sep 29 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.13-15
- Added missing BR on "systemd-rpm-macros".
* Fri Apr 02 2021 Thomas Crain <thcrain@microsoft.com> - 2.13-14
- Merge the following releases from 1.0 to dev branch
- anphel@microsoft.com, 2.13-12: Add patch to severity.db to fix tests.

Просмотреть файл

@ -3,7 +3,7 @@
Summary: Statistics collection daemon for filling RRD files
Name: collectd
Version: 5.12.0
Release: 7%{?dist}
Release: 8%{?dist}
License: GPLv2 AND MIT
Vendor: Microsoft Corporation
Distribution: Mariner
@ -25,6 +25,7 @@ BuildRequires: libgcrypt-devel
BuildRequires: perl
BuildRequires: perl(ExtUtils::Embed)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: systemd-rpm-macros
Requires(post): systemd
Requires(postun): systemd
Requires(preun): systemd
@ -865,6 +866,9 @@ make check
%{_libdir}/collectd/write_tsdb.so
%changelog
* Wed Sep 29 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 5.12.0-8
- Added missing BR on "systemd-rpm-macros".
* Tue Aug 24 2021 Thomas Crain <thcrain@microsoft.com> - 5.12.0-7
- Disable virt subpackage to mitigate build break regarding systemd %%post sections
- Remove spec conditionals regarding unsupported architectures

Просмотреть файл

@ -26,7 +26,7 @@ Summary: OCI-based implementation of Kubernetes Container Runtime Interfa
# Define macros for further referenced sources
Name: cri-o
Version: 1.21.2
Release: 2%{?dist}
Release: 3%{?dist}
License: ASL 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
@ -64,6 +64,7 @@ BuildRequires: libapparmor-devel
BuildRequires: libassuan-devel
BuildRequires: libseccomp-devel
BuildRequires: sed
BuildRequires: systemd-rpm-macros
Requires: cni
Requires: cni-plugins
Requires: conmon
@ -205,6 +206,9 @@ ln -sf service %{buildroot}%{_sbindir}/rccrio
%{_fillupdir}/sysconfig.kubelet
%changelog
* Wed Sep 29 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.21.2-3
- Added missing BR on "systemd-rpm-macros".
* Thu Aug 19 2021 Henry Li <lihl@microsoft.com> - 1.21.2-2
- Initial CBL-Mariner import from OpenSUSE Tumbleweed (license: same as "License" tag)
- License Verified

Просмотреть файл

@ -2,7 +2,7 @@
Summary: DBus for systemd
Name: dbus
Version: 1.13.6
Release: 8%{?dist}
Release: 9%{?dist}
License: GPLv2+ OR AFL
Vendor: Microsoft Corporation
Distribution: Mariner
@ -11,12 +11,15 @@ URL: https://www.freedesktop.org/wiki/Software/dbus
Source0: https://%{name}.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz
Patch0: CVE-2019-12749.patch
BuildRequires: expat-devel
BuildRequires: systemd-devel
BuildRequires: systemd-bootstrap-devel
BuildRequires: xz-devel
BuildRequires: libselinux-devel
Requires: expat
Requires: systemd
Requires: xz
# Using the weak dependency 'Recommends' to break a circular dependency during
# from-scratch builds, where systemd's functionality is not required for 'dbus'.
# In real-life situations systemd will always be present and thus installed.
Recommends: systemd
Provides: dbus-libs = %{version}-%{release}
%description
@ -80,6 +83,9 @@ make %{?_smp_mflags} check
%{_libdir}/*.so
%changelog
* Thu Sep 30 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.13.6-9
- Breaking circular dependency on 'systemd' by using 'Recommends' instead of 'Requires'.
* Fri Sep 10 2021 Thomas Crain <thcrain@microsoft.com> - 1.13.6-8
- Remove libtool archive files from final packaging

Просмотреть файл

@ -5,7 +5,7 @@
Summary: dracut to create initramfs
Name: dracut
Version: 049
Release: 7%{?dist}
Release: 8%{?dist}
# The entire source code is GPLv2+
# except install/* which is LGPLv2+
License: GPLv2+ AND LGPLv2+
@ -22,6 +22,7 @@ BuildRequires: bash
BuildRequires: git
BuildRequires: kmod-devel
BuildRequires: pkg-config
BuildRequires: systemd-rpm-macros
Requires: /bin/grep
Requires: /bin/sed
Requires: bash >= 4
@ -176,6 +177,9 @@ rm -rf -- %{buildroot}
%dir %{_sharedstatedir}/dracut/overlay
%changelog
* Wed Sep 29 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 049-8
- Added missing BR on "systemd-rpm-macros".
* Thu Sep 23 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 049-7
- Adding 'Provides' for 'dracut-caps'.

Просмотреть файл

@ -3,7 +3,7 @@
Summary: The Apache HTTP Server
Name: httpd
Version: 2.4.46
Release: 8%{?dist}
Release: 9%{?dist}
License: ASL 2.0
Vendor: Microsoft Corporation
Distribution: Mariner
@ -44,6 +44,7 @@ BuildRequires: openldap
BuildRequires: openssl
BuildRequires: openssl-devel
BuildRequires: pcre-devel
BuildRequires: systemd-rpm-macros
Requires: apr-util
Requires: lua
@ -347,6 +348,9 @@ fi
%{_libexecdir}/httpd-ssl-pass-dialog
%changelog
* Wed Sep 29 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.4.46-9
- Added missing BR on "systemd-rpm-macros".
* Wed Sep 01 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.4.46-8
- Fixing invalid past release numbering in the changelog.
- Introduced following subpackages using Fedora 32 (license: MIT) specs as guidance:

Просмотреть файл

@ -1,7 +1,9 @@
%global systemd_version 239
Summary: Userland logical volume management tools
Name: lvm2
Version: 2.03.05
Release: 7%{?dist}
Release: 8%{?dist}
License: GPLv2, BSD 2-Clause AND LGPLv2.1
Vendor: Microsoft Corporation
Distribution: Mariner
@ -14,6 +16,10 @@ BuildRequires: libaio-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: ncurses-devel
BuildRequires: python3-dbus
BuildRequires: python3-devel
BuildRequires: python3-pyudev
BuildRequires: python3-setuptools
BuildRequires: readline-devel
BuildRequires: systemd-bootstrap-devel
Requires: device-mapper = %{version}-%{release}
@ -29,6 +35,22 @@ losetup(8)), creating volume groups (kind of virtual disks) from one
or more physical volumes and creating one or more logical volumes
(kind of logical partitions) in volume groups.
%package dbusd
Summary: LVM2 D-Bus daemon
License: GPLv2
BuildArch: noarch
Requires: lvm2 >= %{version}-%{release}
Requires: dbus
Requires: python3-dbus
Requires: python3-gobject-base
Requires(post): systemd-units >= %{systemd_version}
Requires(preun): systemd-units >= %{systemd_version}
Requires(postun): systemd-units >= %{systemd_version}
%description dbusd
Daemon for access to LVM2 functionality through a D-Bus interface.
%package devel
Summary: Development libraries and headers
License: LGPLv2
@ -157,26 +179,27 @@ the device-mapper event library.
%configure \
--prefix=%{_prefix} \
--with-usrlibdir=%{_libdir} \
--with-default-dm-run-dir=%{_default_dm_run_dir} \
--with-default-run-dir=%{_default_run_dir} \
--with-default-pid-dir=%{_default_pid_dir} \
--with-default-locking-dir=%{_default_locking_dir} \
--enable-lvm1_fallback \
--enable-fsadm \
--with-pool=internal \
--enable-write_install \
--enable-pkgconfig \
--enable-applib \
--enable-cmdlib \
--enable-dmeventd \
--enable-use_lvmetad \
--enable-blkid_wiping \
--enable-cmdlib \
--enable-dbus-service --enable-notify-dbus \
--enable-dmeventd \
--enable-fsadm \
--enable-lvm1_fallback \
--enable-lvmetad \
--with-udevdir=%{_udevdir} --enable-udev_sync \
--with-thin=internal \
--enable-pkgconfig \
--enable-use_lvmetad \
--enable-write_install \
--with-cache=internal \
--with-cluster=internal --with-clvmd=none
--with-cluster=internal --with-clvmd=none \
--with-default-dm-run-dir=%{_default_dm_run_dir} \
--with-default-locking-dir=%{_default_locking_dir} \
--with-default-pid-dir=%{_default_pid_dir} \
--with-default-run-dir=%{_default_run_dir} \
--with-pool=internal \
--with-thin=internal \
--with-udevdir=%{_udevdir} --enable-udev_sync \
--with-usrlibdir=%{_libdir}
make %{?_smp_mflags}
@ -198,14 +221,33 @@ echo "disable lvm2-lvmeatd.service" >> %{buildroot}%{_libdir}/systemd/system-pre
%preun
%systemd_preun lvm2-lvmetad.service lvm2-lvmetad.socket lvm2-monitor.service lvm2-activate.service
%preun dbusd
%systemd_preun lvm2-lvmdbusd.service
%post
/sbin/ldconfig
%systemd_post lvm2-lvmetad.service lvm2-lvmetad.socket lvm2-monitor.service lvm2-activate.service
%post dbusd
%systemd_post lvm2-lvmdbusd.service
%postun
/sbin/ldconfig
%systemd_postun_with_restart lvm2-lvmetad.service lvm2-lvmetad.socket lvm2-monitor.service lvm2-activate.service
%postun dbusd
%systemd_postun lvm2-lvmdbusd.service
%files dbusd
%defattr(555,root,root,-)
%{_sbindir}/lvmdbusd
%defattr(444,root,root,-)
%{_sysconfdir}/dbus-1/system.d/com.redhat.lvmdbus1.conf
%{_datadir}/dbus-1/system-services/com.redhat.lvmdbus1.service
%{_mandir}/man8/lvmdbusd.8.gz
%{_unitdir}/lvm2-lvmdbusd.service
%{python3_sitelib}/lvmdbusd/*
%files devel
%defattr(-,root,root,-)
%license COPYING
@ -298,6 +340,9 @@ echo "disable lvm2-lvmeatd.service" >> %{buildroot}%{_libdir}/systemd/system-pre
%ghost %{_sysconfdir}/lvm/cache/.cache
%changelog
* Wed Sep 29 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.03.05-8
- Adding the 'lvm2-dbusd' package using Fedora 32 (license: MIT) specs as guidance.
* Fri Feb 05 2021 Joe Schmitt <joschmit@microsoft.com> - 2.03.05-7
- Replace incorrect %%{_lib} usage with %%{_libdir}

Просмотреть файл

@ -2,7 +2,7 @@
Summary: Library for loading and sharing PKCS#11 modules
Name: p11-kit
Version: 0.23.22
Release: 2%{?dist}
Release: 3%{?dist}
License: BSD
Vendor: Microsoft Corporation
Distribution: Mariner
@ -14,7 +14,7 @@ BuildRequires: gcc
BuildRequires: gtk-doc
BuildRequires: libffi-devel
BuildRequires: libtasn1-devel >= 2.3
BuildRequires: systemd-devel
BuildRequires: systemd-bootstrap-devel
%description
p11-kit provides a way to load and enumerate PKCS#11 modules, as well
@ -134,6 +134,10 @@ fi
%{_userunitdir}/p11-kit-server.socket
%changelog
* Wed Sep 29 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.23.22-3
- Replacing 'systemd-devel' BR with 'systemd-bootstrap-devel'
to remove cyclic dependencies in other packages.
* Mon Apr 26 2021 Thomas Crain <thcrain@microsoft.com> - 0.23.22-2
- Replace incorrect %%{_lib} usage with %%{_libdir}

Просмотреть файл

@ -0,0 +1,5 @@
{
"Signatures": {
"pyudev-0.22.0.tar.gz": "69bb1beb7ac52855b6d1b9fe909eefb0017f38d917cba9939602c6880035b276"
}
}

Просмотреть файл

@ -0,0 +1,241 @@
%global srcname pyudev
Summary: A libudev binding
Name: python-%{srcname}
Version: 0.22.0
Release: 3%{?dist}
License: LGPLv2+
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://pypi.python.org/pypi/pyudev
Source0: https://files.pythonhosted.org/packages/72/c8/4660d815a79b1d42c409012aaa10ebd6b07a47529b4cb6880f27a24bd646/%{srcname}-%{version}.tar.gz
BuildArch: noarch
%description
pyudev is a LGPL licensed, pure Python binding for libudev, the device
and hardware management and information library for Linux. It supports
almost all libudev functionality, you can enumerate devices, query device
properties and attributes or monitor devices, including asynchronous
monitoring with threads, or within the event loops of Glib or wxPython.
The binding supports CPython 2 (2.6 or newer) and 3 (3.1 or newer), and
PyPy 1.5 or newer. It is tested against udev 151 or newer, earlier
versions of udev as found on dated Linux systems may work, but are not
officially supported.
%package -n python3-%{srcname}
%{?python_provide:%python_provide python3-%{srcname}}
Summary: A libudev binding
BuildRequires: python3-devel
BuildRequires: python3-setuptools
# Used for python2/3 compatibility
Requires: python3-six
# Needed for libudev, loaded through ctypes
# Using the weak dependency 'Recommends' to break a circular dependency during
# from-scratch builds, where systemd's functionality is not required.
# In real-life situations systemd will always be present and thus installed.
Recommends: systemd
%description -n python3-%{srcname}
pyudev is a LGPL licensed, pure Python binding for libudev, the device
and hardware management and information library for Linux. It supports
almost all libudev functionality, you can enumerate devices, query device
properties and attributes or monitor devices, including asynchronous
monitoring with threads, or within the event loops of Qt, Glib or wxPython.
The binding supports CPython 2 (2.6 or newer) and 3 (3.1 or newer), and
PyPy 1.5 or newer. It is tested against udev 151 or newer, earlier
versions of udev as found on dated Linux systems may work, but are not
officially supported.
%prep
%autosetup -n %{srcname}-%{version}
rm -rf pyudev.egg-info
%build
%py3_build
%install
%py3_install
%files -n python3-%{srcname}
%license COPYING
%doc README.rst CHANGES.rst
%{python3_sitelib}/pyudev
%{python3_sitelib}/pyudev-%{version}-*.egg-info
%exclude %{python3_sitelib}/pyudev/glib.py
%exclude %{python3_sitelib}/pyudev/__pycache__/glib.*
%exclude %{python3_sitelib}/pyudev/pyqt4.py
%exclude %{python3_sitelib}/pyudev/__pycache__/pyqt4.*
%exclude %{python3_sitelib}/pyudev/pyqt5.py
%exclude %{python3_sitelib}/pyudev/__pycache__/pyqt5.*
%exclude %{python3_sitelib}/pyudev/pyside.py
%exclude %{python3_sitelib}/pyudev/__pycache__/pyside.*
%exclude %{python3_sitelib}/pyudev/wx.py
%exclude %{python3_sitelib}/pyudev/__pycache__/wx.*
%changelog
* Thu Sep 30 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.22.0-3
- Breaking circular dependency on 'systemd' by using 'Recommends' instead of 'Requires'.
* Wed Nov 04 2020 Joe Schmitt <joschmit@microsoft.com> - 0.22.0-2
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
- Remove qt4 and qt5 dependencies.
- License verified.
* Wed Feb 5 2020 David Shea <dshea@fedoraproject.org> - 0.22.0-1
- New upstream version
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.21.0-13
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.21.0-12
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.21.0-9
- Python2 binary package has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.21.0-7
- Rebuilt for Python 3.7
* Fri Mar 23 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.21.0-6
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Dec 21 2016 Kevin Fenzi <kevin@scrye.com> - 0.21.0-2
- Rebuild for Python 3.6
* Fri Jul 29 2016 mulhern <amulhern@redhat.com> - 0.21.1
- Deprecate use of Device object as mapping from udev property names to values
- Add a Properties class and a Device.properties() method for udev properties
- Fix places where Device object was incorrectly used in a boolean context
- Return an empty string, not None, if the property value is an empty string
- Exceptions re-raised from libudev calls now have a message string
- Insert a warning about using a Device in a boolean context in docs
- Infrastructure for vagrant tests is removed
- Various internal refactorings
- Extensive test improvements
- Numerous documentation fixes
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.0-3
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Mon May 2 2016 mulhern <amulhern@redhat.com> - 0.20.0
- Remove parsing code added in previous release
- No longer do CI for Python 2.6
- Eliminate all wildcard imports and __all__ statements
- No longer use deprecated Device.from_sys_path() method
- Minor pylint induced changes
- Documentation fixes
* Mon Feb 08 2016 mulhern <amulhern@redhat.com> - 0.19.0
- Never raise a DeviceNotFoundError when iterating over a device enumeration
- Device.subsystem() now returns None if device has no subsystem
- Add DeprecationWarnings to deprecated Device methods
- Replace "/" with "!" in Device.from_name() sys_name parameter
- Add some unstable classes for parsing some kinds of values
- Make version info more like Python's including micro numbers and levels
- Refactor some internal modules into subdirectories
- Work on tests and reproducers
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Dec 21 2015 mulhern <amulhern@redhat.com> - 0.18.1
- Restore raising KeyError in astring, asint, asbool methods in Attributes
- Add dependency on six package
- pyudev sources now in src directory
- Added support for pyqt5 monitor observer
- Added discover module, which looks up a device on limited information
- DeviceNotFoundError is no longer a subtype of LookupError
- Attributes class no longer extends Mapping class
- Attributes class no longer inherits [] operator and other Mapping methods
- Attributes class object are no longer iterable or indexable and have no length
- Attributes.available_attributes property added
- Attributes.get() method, with usual semantics explicitly defined
- Device.from_* methods are deprecated, use Devices.from_* methods instead
- Device.from_device_number() now raises DeviceNotFoundByNumberError
- Devices.from_interface_index() method added
- Devices.from_kernel_device() method added
* Thu Dec 3 2015 David Shea <dshea@redhat.com> - 0.17-4
- Add requires for things that are required
- Split the main-loop integration modules into separate packages
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 0.17-3
- Rebuilt for Python3.5 rebuild
* Wed Sep 15 2015 David Shea <dshea@redhat.com> - 0.17.1-2
- Fix a typo in the python3-pyudev Provides
* Mon Sep 14 2015 David Shea <dshea@redhat.com> - 0.17.1-1
- Really start the monitor on pyudev.Monitor.poll()
- Force non-blocking IO in pyudev.Monitor to avoid blocking on receiving the device
- Set proper flags on pipe fs
- Handle irregular polling events properly
- Rename MonitorObserver GUI classes and deprecate the old ones
- Remove patches for #1170337 and #1230773 that are now part of upstream
- Switch to new packaging guidelines which renames python-pyudev to python2-pyudev
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Jun 12 2015 David Shea <dshea@redhat.com> - 0.16.1-3
- Retry interrupted system calls (#1230773)
- Rearrange the build process to match current packaging recommendations
* Wed Jan 28 2015 David Shea <dshea@redhat.com> - 0.16.1-2
- Use %%license for the license file
* Wed Dec 10 2014 David Shea <dshea@redhat.com> - 0.16.1-1
- Update to pyudev-0.16.1 (#880644)
- Apply a patch from upstream to remove a global reference to libudev (#1170337)
* Wed Dec 10 2014 David Shea <dshea@redhat.com> - 0.15-7
- Fix license tag (LGPL -> LGPLv2+) (#990579)
- Remove rst tags from description
- Remove unnecessary requires and buildrequires (#1095459)
- Avoid packaging upstream egg-info files
- Add a python3 package
- Drop the Group tag which wasn't even the right group
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Jul 23 2012 Chris Lockfort <clockfort@redhat.com> 0.15-3
- Reflect rawhide merging udev into systemd
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jun 18 2012 Chris Lockfort <clockfort@redhat.com> 0.15-1
- initial package

Просмотреть файл

@ -1,7 +1,7 @@
Summary: Bootstrap version of systemd. Workaround for systemd circular dependency.
Name: systemd-bootstrap
Version: 239
Release: 35%{?dist}
Release: 36%{?dist}
License: LGPLv2+ AND GPLv2+ AND MIT
Vendor: Microsoft Corporation
Distribution: Mariner
@ -67,7 +67,7 @@ Requires: libgcrypt
Requires: lz4
Requires: pam
Requires: xz
AutoReqProv: no
AutoReq: no
%description
Systemd is an init replacement with better process control and security
@ -76,7 +76,7 @@ Systemd is an init replacement with better process control and security
Summary: Development headers for systemd
Requires: %{name} = %{version}-%{release}
Requires: glib-devel
AutoReqProv: no
AutoReq: no
%description devel
Development headers for developing applications linking to libsystemd
@ -242,6 +242,9 @@ rm -rf %{buildroot}/*
%{_mandir}/man3/*
%changelog
* Wed Sep 29 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 239-36
- Enable auto provides to unblock bootstrap builds.
* Tue Jul 20 2021 Neha Agarwal <nehaagarwal@microsoft.com> 239-35
- CVE-2021-33910 fix

Просмотреть файл

@ -6987,6 +6987,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "python-pyudev",
"version": "0.22.0",
"downloadUrl": "https://files.pythonhosted.org/packages/72/c8/4660d815a79b1d42c409012aaa10ebd6b07a47529b4cb6880f27a24bd646/pyudev-0.22.0.tar.gz"
}
}
},
{
"component": {
"type": "other",

Просмотреть файл

@ -223,8 +223,8 @@ mariner-repos-preview-2.0-1.cm2.noarch.rpm
libffi-3.2.1-12.cm2.aarch64.rpm
libffi-devel-3.2.1-12.cm2.aarch64.rpm
libtasn1-4.14-3.cm2.aarch64.rpm
p11-kit-0.23.22-2.cm2.aarch64.rpm
p11-kit-trust-0.23.22-2.cm2.aarch64.rpm
p11-kit-0.23.22-3.cm2.aarch64.rpm
p11-kit-trust-0.23.22-3.cm2.aarch64.rpm
ca-certificates-shared-20200720-15.cm2.noarch.rpm
ca-certificates-tools-20200720-15.cm2.noarch.rpm
ca-certificates-base-20200720-15.cm2.noarch.rpm
@ -236,6 +236,5 @@ python3-libcap-ng-0.7.9-4.cm2.aarch64.rpm
python3-libs-3.7.10-3.cm2.aarch64.rpm
python3-setuptools-3.7.10-3.cm2.noarch.rpm
python3-xml-3.7.10-3.cm2.aarch64.rpm
systemd-rpm-macros-239-41.cm2.noarch.rpm
which-2.21-7.cm2.aarch64.rpm
libselinux-3.2-1.cm2.aarch64.rpm

Просмотреть файл

@ -223,8 +223,8 @@ mariner-repos-preview-2.0-1.cm2.noarch.rpm
libffi-3.2.1-12.cm2.x86_64.rpm
libffi-devel-3.2.1-12.cm2.x86_64.rpm
libtasn1-4.14-3.cm2.x86_64.rpm
p11-kit-0.23.22-2.cm2.x86_64.rpm
p11-kit-trust-0.23.22-2.cm2.x86_64.rpm
p11-kit-0.23.22-3.cm2.x86_64.rpm
p11-kit-trust-0.23.22-3.cm2.x86_64.rpm
ca-certificates-shared-20200720-15.cm2.noarch.rpm
ca-certificates-tools-20200720-15.cm2.noarch.rpm
ca-certificates-base-20200720-15.cm2.noarch.rpm
@ -236,6 +236,5 @@ python3-libcap-ng-0.7.9-4.cm2.x86_64.rpm
python3-libs-3.7.10-3.cm2.x86_64.rpm
python3-setuptools-3.7.10-3.cm2.noarch.rpm
python3-xml-3.7.10-3.cm2.x86_64.rpm
systemd-rpm-macros-239-41.cm2.noarch.rpm
which-2.21-7.cm2.x86_64.rpm
libselinux-3.2-1.cm2.x86_64.rpm

Просмотреть файл

@ -41,21 +41,10 @@ cracklib-lang-2.9.7-3.cm2.aarch64.rpm
createrepo_c-0.17.5-1.cm2.aarch64.rpm
createrepo_c-debuginfo-0.17.5-1.cm2.aarch64.rpm
createrepo_c-devel-0.17.5-1.cm2.aarch64.rpm
cryptsetup-2.3.3-2.cm2.aarch64.rpm
cryptsetup-debuginfo-2.3.3-2.cm2.aarch64.rpm
cryptsetup-devel-2.3.3-2.cm2.aarch64.rpm
cryptsetup-libs-2.3.3-2.cm2.aarch64.rpm
cryptsetup-reencrypt-2.3.3-2.cm2.aarch64.rpm
curl-7.76.0-5.cm2.aarch64.rpm
curl-debuginfo-7.76.0-5.cm2.aarch64.rpm
curl-devel-7.76.0-5.cm2.aarch64.rpm
curl-libs-7.76.0-5.cm2.aarch64.rpm
device-mapper-2.03.05-7.cm2.aarch64.rpm
device-mapper-devel-2.03.05-7.cm2.aarch64.rpm
device-mapper-event-2.03.05-7.cm2.aarch64.rpm
device-mapper-event-devel-2.03.05-7.cm2.aarch64.rpm
device-mapper-event-libs-2.03.05-7.cm2.aarch64.rpm
device-mapper-libs-2.03.05-7.cm2.aarch64.rpm
diffutils-3.6-4.cm2.aarch64.rpm
diffutils-debuginfo-3.6-4.cm2.aarch64.rpm
docbook-dtd-xml-4.5-11.cm2.noarch.rpm
@ -253,10 +242,6 @@ lua-debuginfo-5.3.5-11.cm2.aarch64.rpm
lua-devel-5.3.5-11.cm2.aarch64.rpm
lua-libs-5.3.5-11.cm2.aarch64.rpm
lua-static-5.3.5-11.cm2.aarch64.rpm
lvm2-2.03.05-7.cm2.aarch64.rpm
lvm2-debuginfo-2.03.05-7.cm2.aarch64.rpm
lvm2-devel-2.03.05-7.cm2.aarch64.rpm
lvm2-libs-2.03.05-7.cm2.aarch64.rpm
lz4-1.9.2-2.cm2.aarch64.rpm
lz4-debuginfo-1.9.2-2.cm2.aarch64.rpm
lz4-devel-1.9.2-2.cm2.aarch64.rpm
@ -309,11 +294,11 @@ openssl-devel-1.1.1k-5.cm2.aarch64.rpm
openssl-libs-1.1.1k-5.cm2.aarch64.rpm
openssl-perl-1.1.1k-5.cm2.aarch64.rpm
openssl-static-1.1.1k-5.cm2.aarch64.rpm
p11-kit-0.23.22-2.cm2.aarch64.rpm
p11-kit-debuginfo-0.23.22-2.cm2.aarch64.rpm
p11-kit-devel-0.23.22-2.cm2.aarch64.rpm
p11-kit-server-0.23.22-2.cm2.aarch64.rpm
p11-kit-trust-0.23.22-2.cm2.aarch64.rpm
p11-kit-0.23.22-3.cm2.aarch64.rpm
p11-kit-debuginfo-0.23.22-3.cm2.aarch64.rpm
p11-kit-devel-0.23.22-3.cm2.aarch64.rpm
p11-kit-server-0.23.22-3.cm2.aarch64.rpm
p11-kit-trust-0.23.22-3.cm2.aarch64.rpm
pam-1.5.1-1.cm2.aarch64.rpm
pam-debuginfo-1.5.1-1.cm2.aarch64.rpm
pam-devel-1.5.1-1.cm2.aarch64.rpm
@ -581,14 +566,9 @@ sqlite-devel-3.34.1-1.cm2.aarch64.rpm
sqlite-libs-3.34.1-1.cm2.aarch64.rpm
swig-4.0.2-2.cm2.aarch64.rpm
swig-debuginfo-4.0.2-2.cm2.aarch64.rpm
systemd-239-41.cm2.aarch64.rpm
systemd-bootstrap-239-35.cm2.aarch64.rpm
systemd-bootstrap-debuginfo-239-35.cm2.aarch64.rpm
systemd-bootstrap-devel-239-35.cm2.aarch64.rpm
systemd-debuginfo-239-41.cm2.aarch64.rpm
systemd-devel-239-41.cm2.aarch64.rpm
systemd-lang-239-41.cm2.aarch64.rpm
systemd-rpm-macros-239-41.cm2.noarch.rpm
systemd-bootstrap-239-36.cm2.aarch64.rpm
systemd-bootstrap-debuginfo-239-36.cm2.aarch64.rpm
systemd-bootstrap-devel-239-36.cm2.aarch64.rpm
tar-1.32-2.cm2.aarch64.rpm
tar-debuginfo-1.32-2.cm2.aarch64.rpm
tcp_wrappers-7.6-9.cm2.aarch64.rpm
@ -608,7 +588,6 @@ util-linux-2.36.1-5.cm2.aarch64.rpm
util-linux-debuginfo-2.36.1-5.cm2.aarch64.rpm
util-linux-devel-2.36.1-5.cm2.aarch64.rpm
util-linux-lang-2.36.1-5.cm2.aarch64.rpm
veritysetup-2.3.3-2.cm2.aarch64.rpm
wget-1.20.3-3.cm2.aarch64.rpm
wget-debuginfo-1.20.3-3.cm2.aarch64.rpm
which-2.21-7.cm2.aarch64.rpm

Просмотреть файл

@ -41,21 +41,10 @@ cracklib-lang-2.9.7-3.cm2.x86_64.rpm
createrepo_c-0.17.5-1.cm2.x86_64.rpm
createrepo_c-debuginfo-0.17.5-1.cm2.x86_64.rpm
createrepo_c-devel-0.17.5-1.cm2.x86_64.rpm
cryptsetup-2.3.3-2.cm2.x86_64.rpm
cryptsetup-debuginfo-2.3.3-2.cm2.x86_64.rpm
cryptsetup-devel-2.3.3-2.cm2.x86_64.rpm
cryptsetup-libs-2.3.3-2.cm2.x86_64.rpm
cryptsetup-reencrypt-2.3.3-2.cm2.x86_64.rpm
curl-7.76.0-5.cm2.x86_64.rpm
curl-debuginfo-7.76.0-5.cm2.x86_64.rpm
curl-devel-7.76.0-5.cm2.x86_64.rpm
curl-libs-7.76.0-5.cm2.x86_64.rpm
device-mapper-2.03.05-7.cm2.x86_64.rpm
device-mapper-devel-2.03.05-7.cm2.x86_64.rpm
device-mapper-event-2.03.05-7.cm2.x86_64.rpm
device-mapper-event-devel-2.03.05-7.cm2.x86_64.rpm
device-mapper-event-libs-2.03.05-7.cm2.x86_64.rpm
device-mapper-libs-2.03.05-7.cm2.x86_64.rpm
diffutils-3.6-4.cm2.x86_64.rpm
diffutils-debuginfo-3.6-4.cm2.x86_64.rpm
docbook-dtd-xml-4.5-11.cm2.noarch.rpm
@ -253,10 +242,6 @@ lua-debuginfo-5.3.5-11.cm2.x86_64.rpm
lua-devel-5.3.5-11.cm2.x86_64.rpm
lua-libs-5.3.5-11.cm2.x86_64.rpm
lua-static-5.3.5-11.cm2.x86_64.rpm
lvm2-2.03.05-7.cm2.x86_64.rpm
lvm2-debuginfo-2.03.05-7.cm2.x86_64.rpm
lvm2-devel-2.03.05-7.cm2.x86_64.rpm
lvm2-libs-2.03.05-7.cm2.x86_64.rpm
lz4-1.9.2-2.cm2.x86_64.rpm
lz4-debuginfo-1.9.2-2.cm2.x86_64.rpm
lz4-devel-1.9.2-2.cm2.x86_64.rpm
@ -309,11 +294,11 @@ openssl-devel-1.1.1k-5.cm2.x86_64.rpm
openssl-libs-1.1.1k-5.cm2.x86_64.rpm
openssl-perl-1.1.1k-5.cm2.x86_64.rpm
openssl-static-1.1.1k-5.cm2.x86_64.rpm
p11-kit-0.23.22-2.cm2.x86_64.rpm
p11-kit-debuginfo-0.23.22-2.cm2.x86_64.rpm
p11-kit-devel-0.23.22-2.cm2.x86_64.rpm
p11-kit-server-0.23.22-2.cm2.x86_64.rpm
p11-kit-trust-0.23.22-2.cm2.x86_64.rpm
p11-kit-0.23.22-3.cm2.x86_64.rpm
p11-kit-debuginfo-0.23.22-3.cm2.x86_64.rpm
p11-kit-devel-0.23.22-3.cm2.x86_64.rpm
p11-kit-server-0.23.22-3.cm2.x86_64.rpm
p11-kit-trust-0.23.22-3.cm2.x86_64.rpm
pam-1.5.1-1.cm2.x86_64.rpm
pam-debuginfo-1.5.1-1.cm2.x86_64.rpm
pam-devel-1.5.1-1.cm2.x86_64.rpm
@ -581,14 +566,9 @@ sqlite-devel-3.34.1-1.cm2.x86_64.rpm
sqlite-libs-3.34.1-1.cm2.x86_64.rpm
swig-4.0.2-2.cm2.x86_64.rpm
swig-debuginfo-4.0.2-2.cm2.x86_64.rpm
systemd-239-41.cm2.x86_64.rpm
systemd-bootstrap-239-35.cm2.x86_64.rpm
systemd-bootstrap-debuginfo-239-35.cm2.x86_64.rpm
systemd-bootstrap-devel-239-35.cm2.x86_64.rpm
systemd-debuginfo-239-41.cm2.x86_64.rpm
systemd-devel-239-41.cm2.x86_64.rpm
systemd-lang-239-41.cm2.x86_64.rpm
systemd-rpm-macros-239-41.cm2.noarch.rpm
systemd-bootstrap-239-36.cm2.x86_64.rpm
systemd-bootstrap-debuginfo-239-36.cm2.x86_64.rpm
systemd-bootstrap-devel-239-36.cm2.x86_64.rpm
tar-1.32-2.cm2.x86_64.rpm
tar-debuginfo-1.32-2.cm2.x86_64.rpm
tcp_wrappers-7.6-9.cm2.x86_64.rpm
@ -608,7 +588,6 @@ util-linux-2.36.1-5.cm2.x86_64.rpm
util-linux-debuginfo-2.36.1-5.cm2.x86_64.rpm
util-linux-devel-2.36.1-5.cm2.x86_64.rpm
util-linux-lang-2.36.1-5.cm2.x86_64.rpm
veritysetup-2.3.3-2.cm2.x86_64.rpm
wget-1.20.3-3.cm2.x86_64.rpm
wget-debuginfo-1.20.3-3.cm2.x86_64.rpm
which-2.21-7.cm2.x86_64.rpm

Просмотреть файл

@ -302,7 +302,6 @@ generate_pkggen_core () {
grep "^dwz-" $TmpPkgGen
grep "^unzip-" $TmpPkgGen
grep "^python3-" $TmpPkgGen
grep "^systemd-rpm-macros-" $TmpPkgGen
grep "^which-" $TmpPkgGen
grep "^libselinux-" $TmpPkgGen
} > "$1"

Просмотреть файл

@ -504,28 +504,20 @@ chroot_and_install_rpms meson
build_rpm_in_chroot_no_install systemd-bootstrap
build_rpm_in_chroot_no_install libaio
# lvm2 requires libselinux, libsepol, ncurses, systemd-bootstrap, libaio,
# Removed 'lvm2', might not need: libselinux, libsepol, ncurses, libaio,
chroot_and_install_rpms libselinux
chroot_and_install_rpms libsepol
chroot_and_install_rpms ncurses
chroot_and_install_rpms systemd-bootstrap
chroot_and_install_rpms libaio
# lvm2 provides device-mapper package
build_rpm_in_chroot_no_install lvm2
# cryptsetup requires popt, device-mapper, libpwquality, json-c
# Removed 'cryptsetup', might not need: popt, libpwquality, json-c
chroot_and_install_rpms popt
chroot_and_install_rpms device-mapper
chroot_and_install_rpms libpwquality
chroot_and_install_rpms json-c
build_rpm_in_chroot_no_install cryptsetup
# systemd needs intltool, gperf, util-linux
# Removed 'systemd', might not need: intltool, gperf
chroot_and_install_rpms intltool
chroot_and_install_rpms gperf
chroot_and_install_rpms cryptsetup
build_rpm_in_chroot_no_install systemd
build_rpm_in_chroot_no_install golang-1.17
build_rpm_in_chroot_no_install groff
@ -559,14 +551,14 @@ chroot_and_install_rpms groff
build_rpm_in_chroot_no_install libcap-ng
# Removed 'audit', might not need: systemd, golang, tcp_wrappers and libcap-ng
chroot_and_install_rpms systemd
# Removed 'audit', might not need: golang, tcp_wrappers and libcap-ng
chroot_and_install_rpms golang
chroot_and_install_rpms tcp_wrappers
chroot_and_install_rpms libcap-ng
# p11-kit needs libtasn1
# p11-kit needs libtasn1, systemd-bootstrap
chroot_and_install_rpms libtasn1
chroot_and_install_rpms systemd-bootstrap
build_rpm_in_chroot_no_install p11-kit
# asciidoc needs python3-xml