Release 235-1mamba

This commit is contained in:
Automatic Build System 2023-12-30 11:37:47 +01:00
parent c02c91b952
commit 9738b767ed

View File

@ -25,7 +25,7 @@
Name: systemd Name: systemd
Epoch: 2 Epoch: 2
Version: 234 Version: 235
Release: 1mamba Release: 1mamba
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
@ -65,6 +65,7 @@ Patch16: systemd-232-i586-disable_restrict_address_families.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: iptables-devel
BuildRequires: libacl-devel BuildRequires: libacl-devel
BuildRequires: libaudit-devel BuildRequires: libaudit-devel
BuildRequires: libblkid-devel BuildRequires: libblkid-devel
@ -74,9 +75,7 @@ BuildRequires: libcryptsetup-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libdw-devel BuildRequires: libdw-devel
BuildRequires: libelf-devel BuildRequires: libelf-devel
BuildRequires: libffi-devel
BuildRequires: libgcrypt-devel BuildRequires: libgcrypt-devel
BuildRequires: libglib-devel
BuildRequires: libgnutls-devel BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel BuildRequires: libgpg-error-devel
BuildRequires: libidn-devel BuildRequires: libidn-devel
@ -85,19 +84,21 @@ BuildRequires: liblzma-devel
BuildRequires: libmicrohttpd-devel BuildRequires: libmicrohttpd-devel
BuildRequires: libmount-devel BuildRequires: libmount-devel
BuildRequires: libpam-devel BuildRequires: libpam-devel
BuildRequires: libpcre-devel
BuildRequires: libqrencode-devel BuildRequires: libqrencode-devel
BuildRequires: libseccomp-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: vala-tools BuildRequires: vala-tools
BuildRequires: meson
BuildRequires: ninja
Conflicts: sysvinit Conflicts: sysvinit
Conflicts: initscripts-sysv5 Conflicts: initscripts-sysv5
Requires: sysvinit-tools Requires: sysvinit-tools
Requires: udev = %{?epoch:%epoch:}%{version}-%{release} Requires: udev = %{?epoch:%epoch:}%{version}-%{release}
Requires: kbd Requires: kbd
Provides: laptop-mode-tools
Obsoletes: laptop-mode-tools
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -229,17 +230,37 @@ This package include development files for building software using udev librarie
%patch16 -p1 %patch16 -p1
%build %build
./autogen.sh #./autogen.sh
%configure \ export LC_ALL=C.UTF-8
--with-rootprefix= \
--with-rootlibdir=/%{_lib} \ meson build \
--with-pamlibdir=/%{_lib}/security \ --build=release \
--with-tty-gid=4 \ --prefix=%{_prefix} \
--enable-split-usr \ --bindir=%{_bindir} \
--with-rc-local-script-path-start=/etc/rc.d/init.d/rc.local \ --sbindir=%{_sbindir} \
--enable-compat-libs \ --sysconfdir=%{_sysconfdir} \
--with-debug-shell=/bin/sh \ --datadir=%{_datadir} \
KMOD=/sbin/kmod --includedir=%{_includedir} \
--libdir=%{_libdir} \
--libexecdir=%{_libexecdir} \
--localstatedir=%{_localstatedir} \
--mandir=%{_mandir} \
--infodir=%{_datadir}/info \
-Drootlibdir=/%{_lib} \
-Dpamlibdir=/%{_lib}/security \
-Dtty-gid=4 \
-Dsplit-usr=true \
-Drc-local=/etc/rc.d/init.d/rc.local \
-Ddebug-shell=/bin/sh \
-Dsystem-uid-max=998 \
-Dsystem-gid-max=998 \
-Drpmmacrosdir=%{_sysconfdir}/rpm \
-Dsupport-url="https://openmamba.org"
# KMOD=/sbin/kmod
# --enable-compat-libs \
#sed -i "s|@rootlibdir@|/%{_lib}|" src/libudev/libudev.pc #sed -i "s|@rootlibdir@|/%{_lib}|" src/libudev/libudev.pc
@ -247,8 +268,10 @@ This package include development files for building software using udev librarie
# --enable-terminal \ # --enable-terminal \
# --enable-kdbus \ # --enable-kdbus \
%make \ # LANG Workaround for meson error
rpmmacrosdir=%{_sysconfdir}/rpm export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -293,12 +316,12 @@ ln -s libudev.so.1 %{buildroot}/%{_lib}/libudev.so.0
# fix libudev.so link since 232 # fix libudev.so link since 232
#mv %{buildroot}/%{_lib}/libudev.la %{buildroot}%{_libdir}/ #mv %{buildroot}/%{_lib}/libudev.la %{buildroot}%{_libdir}/
#rm -f %{buildroot}/%{_lib}/libudev.so #rm -f %{buildroot}/%{_lib}/libudev.so
ln -sf /%{_lib}/libudev.la %{buildroot}%{_libdir}/libudev.la #ln -sf /%{_lib}/libudev.la %{buildroot}%{_libdir}/libudev.la
ln -sf /%{_lib}/libudev.so.1 %{buildroot}%{_libdir}/libudev.so ln -sf /%{_lib}/libudev.so.1 %{buildroot}%{_libdir}/libudev.so
# same for libsystemd.so # same for libsystemd.so
#mv %{buildroot}/%{_lib}/libsystemd.la %{buildroot}%{_libdir}/ #mv %{buildroot}/%{_lib}/libsystemd.la %{buildroot}%{_libdir}/
#rm -f %{buildroot}/%{_lib}/libsystemd.so #rm -f %{buildroot}/%{_lib}/libsystemd.so
ln -sf /%{_lib}/libsystemd.la %{buildroot}%{_libdir}/libsystemd.la #ln -sf /%{_lib}/libsystemd.la %{buildroot}%{_libdir}/libsystemd.la
ln -sf /%{_lib}/libsystemd.so.0 %{buildroot}%{_libdir}/libsystemd.so ln -sf /%{_lib}/libsystemd.so.0 %{buildroot}%{_libdir}/libsystemd.so
# /etc/mtab symlink # /etc/mtab symlink
@ -557,6 +580,7 @@ fi
%exclude /lib/systemd/systemd-udevd %exclude /lib/systemd/systemd-udevd
/lib/udev/rules.d/99-systemd.rules /lib/udev/rules.d/99-systemd.rules
%{_prefix}/lib/environment.d/99-environment.conf %{_prefix}/lib/environment.d/99-environment.conf
%{_prefix}/lib/modprobe.d/systemd.conf
%{_prefix}/lib/tmpfiles.d/*.conf %{_prefix}/lib/tmpfiles.d/*.conf
%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
%{_datadir}/dbus-1/system-services/org.freedesktop.*.service %{_datadir}/dbus-1/system-services/org.freedesktop.*.service
@ -630,9 +654,9 @@ fi
%{_sysconfdir}/rpm/macros.systemd %{_sysconfdir}/rpm/macros.systemd
%dir %{_includedir}/systemd %dir %{_includedir}/systemd
%{_includedir}/systemd/*.h %{_includedir}/systemd/*.h
/%{_lib}/libsystemd.la #/%{_lib}/libsystemd.la
/%{_lib}/libsystemd.so /%{_lib}/libsystemd.so
%{_libdir}/libsystemd.la #%{_libdir}/libsystemd.la
%{_libdir}/libsystemd.so %{_libdir}/libsystemd.so
#%{_libdir}/libsystemd-daemon.la #%{_libdir}/libsystemd-daemon.la
#%{_libdir}/libsystemd-daemon.so #%{_libdir}/libsystemd-daemon.so
@ -642,7 +666,7 @@ fi
#%{_libdir}/libsystemd-journal.so #%{_libdir}/libsystemd-journal.so
#%{_libdir}/libsystemd-login.la #%{_libdir}/libsystemd-login.la
#%{_libdir}/libsystemd-login.so #%{_libdir}/libsystemd-login.so
/%{_lib}/libnss_*.la #/%{_lib}/libnss_*.la
#%{_libdir}/pkgconfig/libsystemd-daemon.pc #%{_libdir}/pkgconfig/libsystemd-daemon.pc
#%{_libdir}/pkgconfig/libsystemd-id128.pc #%{_libdir}/pkgconfig/libsystemd-id128.pc
#%{_libdir}/pkgconfig/libsystemd-journal.pc #%{_libdir}/pkgconfig/libsystemd-journal.pc
@ -679,7 +703,7 @@ fi
/lib/udev/v4l_id /lib/udev/v4l_id
%{_datadir}/pkgconfig/udev.pc %{_datadir}/pkgconfig/udev.pc
%{_mandir}/man8/udevadm.8* %{_mandir}/man8/udevadm.8*
%doc LICENSE.GPL2 #%doc LICENSE.GPL2
%files -n libudev %files -n libudev
%defattr(-,root,root) %defattr(-,root,root)
@ -688,13 +712,17 @@ fi
%files -n libudev-devel %files -n libudev-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/libudev.h %{_includedir}/libudev.h
/%{_lib}/libudev.la #/%{_lib}/libudev.la
/%{_lib}/libudev.so /%{_lib}/libudev.so
%{_libdir}/libudev.la #%{_libdir}/libudev.la
%{_libdir}/libudev.so %{_libdir}/libudev.so
%{_libdir}/pkgconfig/libudev.pc %{_libdir}/pkgconfig/libudev.pc
%changelog %changelog
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 235-1mamba
- update to 235
- provide/obsolete laptop-mode-tools
* Mon Aug 14 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 234-1mamba * Mon Aug 14 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 234-1mamba
- update to 234 - update to 234