Release 246-2mamba

This commit is contained in:
Automatic Build System 2023-12-30 11:39:21 +01:00
parent de41310c7e
commit 9a565047e6

View File

@ -27,7 +27,7 @@
Name: systemd Name: systemd
Epoch: 2 Epoch: 2
Version: 246 Version: 246
Release: 1mamba Release: 2mamba
Summary: A system and service manager compatible with SysV and LSB init scripts Summary: A system and service manager compatible with SysV and LSB init scripts
Group: System/Configuration Group: System/Configuration
Vendor: openmamba Vendor: openmamba
@ -188,7 +188,7 @@ It also replaces hotplug and runs entirely in userspace.
%package -n libudev %package -n libudev
Summary: udev libraries Summary: udev libraries
Group: System/Libraries Group: System/Libraries
%ifarch x86_64 %ifarch x86_64 aarch64
Provides: libudev.so.0()(64bit) Provides: libudev.so.0()(64bit)
%else %else
Provides: libudev.so.0 Provides: libudev.so.0
@ -215,38 +215,12 @@ This package include development files for building software using udev librarie
%prep %prep
%setup -q %setup -q
%define _default_patch_fuzz 1
#-D -T #-D -T
#:<< _EOF #:<< _EOF
#%patch0 -p1
## ARM only patch: old_cloexec compatibility patch with old kernels
#%ifarch arm
#%patch5 -p1
#%endif
#%patch1 -R -p1
#%patch2 -p1
#%patch3 -p1
#%patch4 -p1
#%patch6 -p1
#%patch7 -p1
#%patch9 -p1
#%patch10 -p1
#%patch11 -p1
#%patch12 -p1
#%patch13 -p1
#%patch14 -p1
#%patch15 -p1
#%patch16 -p1
#%patch17 -p1
#%patch18 -p1
#%patch19 -p1
#%patch20 -p1
sed -i "s|@bindir@|/bin|g" src/core/macros.systemd.in sed -i "s|@bindir@|/bin|g" src/core/macros.systemd.in
%build %build
#./autogen.sh
# LANG Workaround for meson error # LANG Workaround for meson error
export LANG="en_US.UTF-8" export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8" export LC_ALL="en_US.UTF-8"
@ -270,6 +244,7 @@ meson build \
-Dman=true \ -Dman=true \
-Dusers-gid=100 \ -Dusers-gid=100 \
-Dsplit-usr=true \ -Dsplit-usr=true \
-Dsplit-bin=true \
-Dsysvinit-path=%{_initrddir} \ -Dsysvinit-path=%{_initrddir} \
-Drc-local=%{_initrddir}/rc.local \ -Drc-local=%{_initrddir}/rc.local \
-Ddebug-shell=/bin/sh \ -Ddebug-shell=/bin/sh \
@ -298,18 +273,6 @@ make
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall rpmmacrosdir=%{_sysconfdir}/rpm %makeinstall rpmmacrosdir=%{_sysconfdir}/rpm
## compatibility links
#install -d -m0755 %{buildroot}/sbin
#for f in halt poweroff reboot runlevel shutdown telinit; do
# ln -s ../bin/systemctl %{buildroot}/sbin/$f
#done
#ln -s ../lib/systemd/systemd %{buildroot}/sbin/init
# udev
#install -D -m755 %{S:1} %{buildroot}%{_initrddir}/udev
#install -D -m755 %{S:15} %{buildroot}%{_initrddir}/udev-post
#install -D -m644 %{S:16} %{buildroot}%{_sysconfdir}/sysconfig/udev
install -D -m644 %{S:2} \ install -D -m644 %{S:2} \
%{buildroot}/lib/udev/rules.d/60-permissions.rules %{buildroot}/lib/udev/rules.d/60-permissions.rules
install -D -m644 %{S:4} \ install -D -m644 %{S:4} \
@ -319,14 +282,6 @@ install -D -m644 %{S:4} \
install -D -m755 %{S:8} \ install -D -m755 %{S:8} \
%{buildroot}/lib/udev/check-cdrom.sh %{buildroot}/lib/udev/check-cdrom.sh
#install -d %{buildroot}%{_sysconfdir}/rc.d/rcsysinit.d
#ln -s ../init.d/udev %{buildroot}%{_sysconfdir}/rc.d/rcsysinit.d/S12udev
#install -d %{buildroot}%{_sysconfdir}/rc0.d
#ln -s ../init.d/udev %{buildroot}%{_sysconfdir}/rc0.d/K97udev
#install -d %{buildroot}%{_sysconfdir}/rc6.d
#ln -s ../init.d/udev %{buildroot}%{_sysconfdir}/rc6.d/K97udev
#install -D -m755 %{S:11} \
# %{buildroot}/lib/udev/devices/MAKEDEV
install -D -m644 %{S:13} \ install -D -m644 %{S:13} \
%{buildroot}%{_sysconfdir}/modprobe.d/udev.conf %{buildroot}%{_sysconfdir}/modprobe.d/udev.conf
install -d -m0755 %{buildroot}/sbin install -d -m0755 %{buildroot}/sbin
@ -355,6 +310,9 @@ ln -s /proc/mounts %{buildroot}%{_sysconfdir}/mtab
install -D -m0755 %{SOURCE17} %{buildroot}/lib/systemd/systemd-sysv-install install -D -m0755 %{SOURCE17} %{buildroot}/lib/systemd/systemd-sysv-install
%find_lang %{name} %find_lang %{name}
install -d -m0755 %{buildroot}%{_sysconfdir}/repart.d
install -d -m0755 %{buildroot}%{_prefix}/lib/repart.d
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -473,6 +431,7 @@ groupadd render -g %{group_render} 2>/dev/null
%posttrans core %posttrans core
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
systemctl --no-reload preset systemd-timesyncd
# remove broken left sysv5 symlink due to migrating services to systemd # remove broken left sysv5 symlink due to migrating services to systemd
find /etc/rc*.d/* -xtype l -delete 2>/dev/null find /etc/rc*.d/* -xtype l -delete 2>/dev/null
systemctl -q daemon-reload systemctl -q daemon-reload
@ -534,6 +493,7 @@ fi
%{_sysconfdir}/pam.d/systemd-user %{_sysconfdir}/pam.d/systemd-user
%dir %{_sysconfdir}/binfmt.d %dir %{_sysconfdir}/binfmt.d
%dir %{_sysconfdir}/modules-load.d %dir %{_sysconfdir}/modules-load.d
%dir %{_sysconfdir}/repart.d
%dir %{_sysconfdir}/sysctl.d %dir %{_sysconfdir}/sysctl.d
%dir %{_sysconfdir}/tmpfiles.d %dir %{_sysconfdir}/tmpfiles.d
%dir %{_sysconfdir}/xdg/systemd %dir %{_sysconfdir}/xdg/systemd
@ -590,6 +550,7 @@ fi
%{_prefix}/lib/kernel/install.d/90-loaderentry.install %{_prefix}/lib/kernel/install.d/90-loaderentry.install
%dir %{_prefix}/lib/binfmt.d %dir %{_prefix}/lib/binfmt.d
%dir %{_prefix}/lib/modules-load.d %dir %{_prefix}/lib/modules-load.d
%dir %{_prefix}/lib/repart.d
%dir %{_prefix}/lib/sysctl.d %dir %{_prefix}/lib/sysctl.d
%{_prefix}/lib/sysctl.d/50-*.conf %{_prefix}/lib/sysctl.d/50-*.conf
%dir %{_prefix}/lib/tmpfiles.d %dir %{_prefix}/lib/tmpfiles.d
@ -687,6 +648,9 @@ fi
%files -n udev %files -n udev
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_sysconfdir}/udev
%dir %{_sysconfdir}/udev/hwdb.d
%dir %{_sysconfdir}/udev/rules.d
%{_sysconfdir}/udev/udev.conf %{_sysconfdir}/udev/udev.conf
%{_sysconfdir}/modprobe.d/udev.conf %{_sysconfdir}/modprobe.d/udev.conf
/sbin/udevd /sbin/udevd
@ -724,6 +688,10 @@ fi
%{_libdir}/pkgconfig/libudev.pc %{_libdir}/pkgconfig/libudev.pc
%changelog %changelog
* Thu Oct 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 246-2mamba
- make sure systemd-timesyncd is enabled
- provide empty directories {/etc,/usr/lib}/repart.d and /etc/udev/hwdb.d/
* Sat Aug 01 2020 Automatic Build System <autodist@mambasoft.it> 246-1mamba * Sat Aug 01 2020 Automatic Build System <autodist@mambasoft.it> 246-1mamba
- automatic version update by autodist - automatic version update by autodist