%define libsystemd_major 0 %define libudev_major 1 %define libname %mklibname %{name} %{libsystemd_major} %define libdaemon %mklibname systemd-daemon 0 %define libjournal %mklibname systemd-journal 0 %define liblogin %mklibname systemd-login 0 %define libid128 %mklibname systemd-id 128 0 %define libudev %mklibname udev %{libudev_major} %define libudev_devel %mklibname -d udev # (ngompa): This implicitly requires pam_selinux %bcond selinux 0 # (tmb): experiment with homed %bcond homed 1 # disabled by default in release build %bcond sysupdated 0 # Iurt causes issues with the test execution, # so for now, it's disabled by default... %bcond check 0 %define systemd_branch 258 # sources from stable branch %bcond stable 0 # (tv) So that main package doesn't pull pkgconfig in basesystem: %global __requires_exclude pkgconfig Summary: A System and Session Manager Name: systemd Version: 258.7 Release: %mkrel 0 License: GPLv2+ Group: System/Boot and Init Url: https://systemd.io/ %if %{with stable} Source0: https://github.com/systemd/systemd-stable/archive/v%{version_no_tilde}/%{name}-%{version_no_tilde}.tar.gz %else Source0: https://github.com/systemd/systemd/archive/v%{version_no_tilde}/%{name}-%{version_no_tilde}.tar.gz %endif # This file must be available before %%prep. # It is generated during systemd build and can be found in build/src/rpm/. Source1: triggers.systemd Source10: 50-udev-mageia.rules Source11: 69-printeracl.rules # (hk) udev rules for zte 3g modems with drakx-net Source12: 61-mobile-zte-drakx-net.rules # (blino) net rules and helpers Source120: 81-net.rules Source121: udev_net_create_ifcfg Source122: udev_net_action Source123: udev_net.sysconfig # Patching scheme: ## 100s: Upstream stable https://github.com/systemd/systemd-stable ## 400s: Upstream master https://github.com/systemd/systemd ## 450s: Changes proposed to upstream ## 500s: Mageia-specific changes # upstream stable # upstream master # (ngompa): I'm not entirely sure why this is considered distro-specific... Patch501: 0501-main-Add-failsafe-to-the-sysvinit-compat-cmdline-key.patch Patch502: 0502-Disable-modprobe-pci-devices-on-coldplug-for-storage.patch # (ngompa): Needs to be reworked Source503: 0503-udev-Allow-the-udevadm-settle-timeout-to-be-set-via-.patch Patch504: 0504-Mageia-Relax-perms-on-sys-kernel-debug-for-lspcidrak.patch Patch505: 0505-udev-rules-Apply-SuSE-patch-to-restore-cdrom-cdrw-dv.patch # (tmb) need check if still needed Source506: 0506-pam_systemd-Always-reset-XDG_RUNTIME_DIR.patch Source507: 0507-pam-Suppress-errors-in-the-SuSE-patch-to-unset-XDG_R.patch Patch508: 0508-Add-path-to-locale-search.patch # (tmb) silence udev version print as it breaks splash Patch509: 0509-Silence-udev-version-print-during-boot-as-it-breaks-.patch # (wally) fix build with new meson Source510: 0510-Fix-build-with-new-meson.patch # (tmb) treat nokmsboot like nomodeset Patch511: 0511-login-mark-nokmsboot-fb-devices-as-master-of-seat.patch # systemctl call to be "sourced" in X11 xinit Patch512: 0512-systemd-250.2-xinit-to-be-sourced.patch # (tmb) silence warning about missing native systemd Patch513: 0513-systemd-revert-warning-about-sysv-file.patch # mga#32201 (kekepower) Patch514: systemd-253.12-mga-add-pam_limits-to-systemd-user.patch BuildRequires: pkgconfig(libpcre2-8) BuildRequires: pkgconfig(dbus-1) >= 1.4.0 BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libcap) BuildRequires: tcp_wrappers-devel BuildRequires: pam-devel BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libnotify) BuildRequires: intltool BuildRequires: gettext-devel BuildRequires: gperf BuildRequires: pkgconfig(libcryptsetup) BuildRequires: pkgconfig(libkmod) BuildRequires: pkgconfig(blkid) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: xsltproc BuildRequires: docbook-style-xsl BuildRequires: pkgconfig(libmicrohttpd) BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(libidn2) BuildRequires: pkgconfig(libcurl) BuildRequires: python3-jinja2 BuildRequires: python3-lxml BuildRequires: python3-pefile BuildRequires: pkgconfig(libqrencode) BuildRequires: pkgconfig(mount) BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(libseccomp) %if %{with selinux} BuildRequires: pkgconfig(libselinux) %endif # for systemd-repart BuildRequires: pkgconfig(fdisk) BuildRequires: pkgconfig(bzip2) BuildRequires: libelfutils-devel BuildRequires: pkgconfig(libiptc) BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: quota-devel BuildRequires: acl BuildRequires: tree # synchronized with ExclusiveArch list from valgrind.spec %ifarch %{ix86} x86_64 %{arm32} %{arm64} BuildRequires: pkgconfig(valgrind) %endif %ifarch %{ix86} x86_64 %{arm32} %{arm64} BuildRequires: gnu-efi-devel #BuildRequires: qemu %endif BuildRequires: git BuildRequires: gcc >= 12.0.1-0.20230121.1 BuildRequires: binutils >= 1:2.40-1 # temp force new glibc BuildRequires: glibc >= 6:2.33-2 BuildRequires: meson >= 0.46 BuildRequires: pkgconfig(xencontrol) BuildRequires: python3dist(pyelftools) BuildRequires: pkgconfig(libbpf) BuildRequires: clang BuildRequires: bpftool BuildRequires: cmake BuildRequires: pkgconfig(pwquality) BuildRequires: pkgconfig(libfido2) BuildRequires: tpm2-tss-devel Requires(pre): filesystem >= 2.1.9-18 Requires(pre): shadow-utils Requires(post): system-release Requires(post): coreutils grep awk Requires: chkconfig >= 1.5 Requires: %{libname} = %{version}-%{release} Requires: systemd-units = %{version}-%{release} Requires: dbus >= 1.3.2 Requires: util-linux >= 2.18 Requires: nss-myhostname Conflicts: initscripts < 9.78-27 Provides: should-restart = system Provides: udev = %{version}-%{release} Obsoletes: udev < 185 Provides: systemd-sysvinit = %{version}-%{release} Provides: systemd-sysv = %{version}-%{release} Provides: sysvinit = 2.87-22 Obsoletes: sysvinit < 2.87-22 Provides: system-logger = %{version}-%{release} Provides: systemd-units = %{version}-%{release} # (ngompa) Provides for compatibility with Fedora/CentOS and SUSE packaging # TODO: Consider splitting into its own subpackage to reduce the buildroot size...? Provides: systemd-rpm-macros = %{version}-%{release} %description systemd is a system and session manager for Linux, compatible with SysV and LSB init scripts. systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux cgroups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic. It can work as a drop-in replacement for sysvinit. %if %{with homed} %package homed Summary: systemd homed support Group: System/Boot and Init Requires: %{name} = %{version}-%{release} Conflicts: systemd < 258.1-3 %description homed Systemd-homed makes it easier to support migratable home directories, more self containment within home directories, better password and encryption handling, %endif %package devel Summary: Systemd development files Group: Development/C Requires: %{libname} = %{version}-%{release} # (tv) Because of above excludes for main package: Requires: pkgconf-pkg-config %description devel This package provides the development files for systemd. %package tests Summary: Internal unit tests for systemd Group: Development/Other Requires: %{name} = %{version}-%{release} %description tests "Installed tests" that are usually run as part of the build system. They can be useful to test systemd internals. %package -n nss-myhostname Summary: systemd provided glibc plugin for local system host name resolution Group: System/Base %description -n nss-myhostname nss-myhostname is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing host name resolution for the locally configured system hostname as returned by gethostname(2). Various software relies on an always resolvable local host name. When using dynamic hostnames this is usually achieved by patching /etc/hosts at the same time as changing the host name. This however is not ideal since it requires a writable /etc file system and is fragile because the file might be edited by the administrator at the same time. nss-myhostname simply returns all locally configure public IP addresses, or -- if none are configured -- the IPv4 address 127.0.0.2 (which is on the local loopback) and the IPv6 address ::1 (which is the local host) for whatever system hostname is configured locally. Patching /etc/hosts is thus no longer necessary. %package -n %{libname} Summary: Systemd library package Group: System/Libraries %description -n %{libname} This package provides the systemd shared library. %package -n %{libudev} Summary: udev library package Group: System/Libraries Requires(pre): filesystem >= 2.1.9-18 %description -n %{libudev} This package provides the udev shared library. %package -n %{libudev_devel} Summary: udev library development files Group: Development/C Requires: %{libudev} = %{version}-%{release} Provides: udev-devel = %{version}-%{release} Provides: libudev-devel = %{version}-%{release} %description -n %{libudev_devel} This package provides the development files for the udev shared library. %prep %autosetup -n %{name}-%{?with_stable:stable-}%{version_no_tilde} -S git find src/ -name "*.vala" -exec touch '{}' \; %build %define ntpvendor %(source /etc/os-release; echo ${ID}) %{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1} %meson %{shrink: -Dmode=release -Dsbat-distro=%{_real_vendor} -Dsbat-distro-generation=%{distro_release} -Dsbat-distro-summary=%{_vendor} -Dsbat-distro-pkgname=%{name} -Dsbat-distro-version=%{version}-%{release} -Dsbat-distro-url=https://svnweb.mageia.org/packages/cauldron/systemd/current/ -Dsysvinit-path=/etc/rc.d/init.d -Drc-local=/etc/rc.d/rc.local -Ddev-kvm-mode=0666 -Dkmod=enabled -Dxkbcommon=enabled -Dblkid=enabled -Dseccomp=enabled -Dima=true -Dselinux=%{?with_selinux:enabled}%{!?with_selinux:disabled} -Dsysupdated=%{?with_sysupdated:enabled}%{!?with_sysupdated:disabled} -Dapparmor=disabled -Dpolkit=enabled -Dxz=enabled -Dzlib=enabled -Dbzip2=enabled -Dlz4=enabled -Dpam=enabled -Dacl=enabled -Dsmack=true -Dgcrypt=enabled -Daudit=enabled -Delfutils=enabled -Dlibcryptsetup=enabled -Delfutils=enabled -Dqrencode=enabled -Dgnutls=enabled -Dmicrohttpd=enabled -Dlibidn2=enabled -Dlibiptc=enabled -Dlibcurl=enabled -Defi=true -Dtpm=true -Dhwdb=true -Dsysusers=true -Ddefault-kill-user-processes=false -Dtests=unsafe -Dinstall-tests=true -Dnobody-user=nobody -Dnobody-group=nogroup -Dadm-gid=4 -Dtty-gid=5 -Ddisk-gid=6 -Dlp-gid=7 -Dkmem-gid=9 -Dwheel-gid=10 -Dcdrom-gid=22 -Ddialout-gid=83 -Dutmp-gid=24 -Dtape-gid=21 -Dkvm-gid=36 -Dvideo-gid=82 -Daudio-gid=81 -Dusers-gid=100 -Dinput-gid=104 -Drender-gid=105 -Dsgx-gid=106 -Dsystemd-journal-gid=190 -Dsystemd-network-uid=192 -Dsystemd-resolve-uid=193 -Dsystem-uid-max=999 -Dsystem-gid-max=999 -Db_lto=true -Db_ndebug=false -Dman=enabled -Dhomed=%{?with_homed:enabled}%{!?with_homed:disabled} -Dpamconfdir=%{_sysconfdir}/pam.d } %meson_build new_triggers=%{_vpath_builddir}/src/rpm/triggers.systemd.sh if ! diff -u %{SOURCE1} ${new_triggers}; then echo -e "\n\n\nWARNING: triggers.systemd in Source1 is different!" echo -e "\nDon't blindly copy the file as Mageia systemd packaging differs from Fedora and we don't have systemd-udev package!" echo -e " cp $PWD/${new_triggers} %{SOURCE1}\n\n\n" sleep 5 fi %install %meson_install find %{buildroot} \( -name '*.a' -o -name '*.la' \) -exec rm {} \; # (cg) Create and ship folder to hold user rules install -d -m 755 %{buildroot}%{_sysconfdir}/udev/rules.d install -m 644 %SOURCE10 %{buildroot}%{_prefix}/lib/udev/rules.d/ install -m 644 %SOURCE11 %{buildroot}%{_prefix}/lib/udev/rules.d/ # udev rules for zte 3g modems and drakx-net install -m 0644 %SOURCE12 %{buildroot}%{_prefix}/lib/udev/rules.d/ # net rules install -m 0644 %SOURCE120 %{buildroot}%{_prefix}/lib/udev/rules.d/ install -m 0755 %SOURCE121 %{buildroot}%{_prefix}/lib/udev/net_create_ifcfg install -m 0755 %SOURCE122 %{buildroot}%{_prefix}/lib/udev/net_action install -m 0755 -d %{buildroot}%{_sysconfdir}/sysconfig install -m 0644 %SOURCE123 %{buildroot}%{_sysconfdir}/sysconfig/udev_net # Create SysV compatibility symlinks. systemctl/systemd are smart # enough to detect in which way they are called. mkdir -p %{buildroot}{%{_bindir},%{_sbindir}} ln -s ../lib/systemd/systemd %{buildroot}%{_bindir}/systemd ln -s ../bin/systemctl %{buildroot}%{_bindir}/reboot ln -s ../bin/systemctl %{buildroot}%{_bindir}/halt ln -s ../bin/systemctl %{buildroot}%{_bindir}/poweroff # Also add a symlink for udevadm for now as lots of things use an absolute path ln -s ../bin/udevadm %{buildroot}%{_sbindir}/udevadm # Compatiblity and documentation files touch %{buildroot}/etc/crypttab chmod 600 %{buildroot}/etc/crypttab # Make sure these directories are properly owned mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/basic.target.wants mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/default.target.wants mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/syslog.target.wants # (bor) make sure we own directory for bluez to install service mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/bluetooth.target.wants touch %{buildroot}%{_localstatedir}/log/{w,b}tmp # (cg) Set up the pager to make it generally more useful mkdir -p %{buildroot}%{_sysconfdir}/profile.d cat > %{buildroot}%{_sysconfdir}/profile.d/40systemd.sh << EOF export SYSTEMD_PAGER="/usr/bin/less -FR" EOF chmod 644 %{buildroot}%{_sysconfdir}/profile.d/40systemd.sh # (bor) enable rpcbind.target by default so we have something to plug # portmapper service into ln -s ../rpcbind.target %{buildroot}%{_prefix}/lib/systemd/system/multi-user.target.wants # create modules.conf as a symlink to /etc/ ln -s /etc/modules %{buildroot}%{_sysconfdir}/modules-load.d/modules.conf # Create new-style configuration files so that we can ghost-own them touch %{buildroot}%{_sysconfdir}/hostname touch %{buildroot}%{_sysconfdir}/vconsole.conf touch %{buildroot}%{_sysconfdir}/locale.conf touch %{buildroot}%{_sysconfdir}/machine-id touch %{buildroot}%{_sysconfdir}/machine-info touch %{buildroot}%{_sysconfdir}/timezone mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d touch %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/00-keyboard.conf mkdir -p %{buildroot}%{_sysconfdir}/udev/hwdb.d touch %{buildroot}%{_sysconfdir}/udev/hwdb.bin # (cg) Make the journal's persistent in order to provide a real syslog implementation install -m 0755 -d %{buildroot}%{_logdir}/journal # (cg) Default preset policy # (for now, just a placeholder directory) mkdir -p %{buildroot}%{_prefix}/lib/systemd/user-preset # This file is already in systemd-ui rpm rm -fr %{buildroot}%_mandir/man1/systemadm.* # we already have resolvconf rm -f %{buildroot}%{_sbindir}/resolvconf # (cg) These are the compat libs but we don't need them in cauldron. # All we need is the pkgconfig files so we can rebuild everything and # kill off the need for the old library packages (which will remain installed # and operational due to our packaging policy) for lib in daemon id128 journal login; do rm -f %{buildroot}%{_libdir}/libsystemd-$lib.so{,.0.*} done # (ngompa) Purge links to services in /etc/systemd/system # It *shouldn't* break anything, but if it does, we'll recreate elsewhere.. rm -rf %{buildroot}%{_sysconfdir}/systemd/system/* %find_lang %{name} rm -f %buildroot%{_libdir}/cryptsetup/libcryptsetup-token-systemd-tpm2.so %if %{with check} %check if [ `systemd-detect-virt -c` == "systemd-nspawn" ]; then echo "Skipping package tests because of issues in mock nspawn containers" exit 0 else %meson_test fi %endif %include %{SOURCE1} %triggerin -- glibc # reexec daemon on self or glibc update to avoid busy / on shutdown # trigger is executed on both self and target install so no need to have # extra own post if [ $1 -ge 2 -o $2 -ge 2 ] ; then %{_bindir}/systemctl daemon-reexec 2>&1 || : fi %triggerpostun -- systemd < 258~rc4-2 if [[ -L %{_sysconfdir}/systemd/system/default.target ]];then target="$(basename $(readlink %{_sysconfdir}/systemd/system/default.target))" if [[ "$target" == "runlevel5.target" ]]; then %{_bindir}/ln -sf %{_systemd_util_dir}/system/graphical.target %{_sysconfdir}/systemd/system/default.target fi fi %pre # (cg) Cannot use rpm-helper scripts as it results in a cyclical dep as # rpm-helper requires systemd-units which in turn requires systemd... getent group systemd-journal &>/dev/null || groupadd -r -g 190 systemd-journal 2>&1 || : getent group systemd-coredump &>/dev/null || groupadd -r systemd-coredump 2>&1 || : getent passwd systemd-coredump &>/dev/null || useradd -r -l -g systemd-coredump -d / -s /sbin/nologin -c "systemd Core Dumper" systemd-coredump &>/dev/null || : getent group systemd-network &>/dev/null || groupadd -r -g 192 systemd-network 2>&1 || : getent passwd systemd-network &>/dev/null || useradd -r -u 192 -l -g systemd-network -d / -s /sbin/nologin -c "systemd Network Management" systemd-network &>/dev/null || : getent group systemd-resolve &>/dev/null || groupadd -r -g 193 systemd-resolve 2>&1 || : getent passwd systemd-resolve &>/dev/null || useradd -r -u 193 -l -g systemd-resolve -d / -s /sbin/nologin -c "systemd Resolver" systemd-resolve &>/dev/null || : %post %{_bindir}/systemd-machine-id-setup > /dev/null 2>&1 || : %{_prefix}/lib/systemd/systemd-random-seed save >/dev/null 2>&1 || : if [ $1 -eq 1 ] ; then # Flag to %posttrans touch %{_sysconfdir}/systemd/.installing-units fi %posttrans # (martinw) Run as posttrans as there was a circular dependency between systemd # and systemd-units (mga#22620). if [ -f %{_sysconfdir}/systemd/.installing-units ] ; then rm -f %{_sysconfdir}/systemd/.installing-units # Enable the services we install by default. %{_bindir}/systemctl --quiet preset \ remote-fs.target \ getty@.service \ serial-getty@.service \ console-getty.service \ debug-shell.service \ systemd-timesyncd.service \ systemd-networkd.service \ systemd-networkd-wait-online.service \ systemd-resolved.service \ || : fi hostname_new=`cat %_sysconfdir/hostname 2>/dev/null` if [ -z $hostname_new ]; then hostname_old=`cat /etc/sysconfig/network 2>/dev/null | grep HOSTNAME | cut -d "=" -f2` if [ ! -z $hostname_old ]; then echo $hostname_old >> %_sysconfdir/hostname else echo "localhost" >> %_sysconfdir/hostname fi fi %preun if [ $1 -eq 0 ] ; then %{_bindir}/systemctl --quiet disable \ getty@.service \ remote-fs.target \ 2>&1 || : fi %postun if [ $1 -ge 1 ] ; then %{_bindir}/systemctl daemon-reload 2>&1 || : fi %files -f %{name}.lang # (cg) Note some of these directories are empty, but that is intended %dir %{_sysconfdir}/systemd %dir %{_sysconfdir}/systemd/system %dir %{_sysconfdir}/systemd/user %dir %{_sysconfdir}/tmpfiles.d %dir %{_sysconfdir}/sysctl.d %dir %{_sysconfdir}/modules-load.d %dir %{_sysconfdir}/binfmt.d %dir %{_datadir}/bash-completion %dir %{_prefix}/lib/systemd %{_datadir}/bash-completion/completions %exclude %{_datadir}/bash-completion/completions/homectl %{_datadir}/zsh/site-functions %{_prefix}/lib/systemd/system %{_prefix}/lib/systemd/system-preset %{_prefix}/lib/systemd/user %{_prefix}/lib/systemd/user-preset %{_prefix}/lib/environment.d/99-environment.conf %{_prefix}/lib/systemd/resolv.conf %{_prefix}/lib/systemd/user-environment-generators/30-systemd-environment-d-generator %dir %{_prefix}/lib/modprobe.d %{_prefix}/lib/modprobe.d/README %{_prefix}/lib/modprobe.d/systemd.conf %ifarch %{ix86} x86_64 %{arm32} %{arm64} %dir %{_prefix}/lib/systemd/boot %dir %{_prefix}/lib/systemd/boot/efi %endif %dir %{_prefix}/lib/systemd/network %dir %{_prefix}/lib/systemd/ntp-units.d %dir %{_prefix}/lib/systemd/portable %dir %{_prefix}/lib/systemd/portable/profile %dir %{_prefix}/lib/systemd/portable/profile/default %dir %{_prefix}/lib/systemd/portable/profile/nonetwork %dir %{_prefix}/lib/systemd/portable/profile/strict %dir %{_prefix}/lib/systemd/portable/profile/trusted %dir %{_prefix}/lib/systemd/system-generators %dir %{_prefix}/lib/systemd/system-shutdown %dir %{_prefix}/lib/systemd/system-sleep %dir %{_prefix}/lib/systemd/user-generators %dir %{_tmpfilesdir} %dir %{_prefix}/lib/sysctl.d %dir %{_prefix}/lib/modules-load.d %dir %{_prefix}/lib/kernel %dir %{_prefix}/lib/kernel/install.d %dir %{_prefix}/lib/binfmt.d %config(noreplace) %{_sysconfdir}/sysconfig/udev_net %config(noreplace) %{_sysconfdir}/systemd/coredump.conf %config(noreplace) %{_sysconfdir}/systemd/journal-remote.conf %config(noreplace) %{_sysconfdir}/systemd/journal-upload.conf %config(noreplace) %{_sysconfdir}/systemd/journald.conf %config(noreplace) %{_sysconfdir}/systemd/logind.conf %config(noreplace) %{_sysconfdir}/systemd/networkd.conf %config(noreplace) %{_sysconfdir}/systemd/pstore.conf %config(noreplace) %{_sysconfdir}/systemd/resolved.conf %config(noreplace) %{_sysconfdir}/systemd/sleep.conf %config(noreplace) %{_sysconfdir}/systemd/system.conf %config(noreplace) %{_sysconfdir}/systemd/timesyncd.conf %config(noreplace) %{_sysconfdir}/systemd/user.conf %config(noreplace) %{_sysconfdir}/udev/udev.conf %config(noreplace) %{_sysconfdir}/udev/iocost.conf %{_sysconfdir}/modules-load.d/modules.conf %{_sysconfdir}/profile.d/40systemd.sh %{_sysconfdir}/profile.d/70-systemd-shell-extra.sh %{_sysconfdir}/profile.d/80-systemd-osc-context.sh %{_sysconfdir}/ssh/ssh_config.d/20-systemd-ssh-proxy.conf %{_sysconfdir}/ssh/sshd_config.d/20-systemd-userdb.conf %{_prefix}/lib/tmpfiles.d/20-systemd-osc-context.conf %{_prefix}/lib/tmpfiles.d/20-systemd-shell-extra.conf %{_prefix}/lib/tmpfiles.d/20-systemd-ssh-generator.conf %{_prefix}/lib/tmpfiles.d/20-systemd-stub.conf %{_prefix}/lib/tmpfiles.d/20-systemd-userdb.conf %dir %{_sysconfdir}/udev/ %dir %{_sysconfdir}/udev/hwdb.d/ %ghost %{_sysconfdir}/udev/hwdb.bin %{_sysusersdir}/systemd-coredump.conf %{_sysusersdir}/systemd-journal.conf %{_sysusersdir}/systemd-network.conf %{_sysusersdir}/systemd-oom.conf %{_sysusersdir}/systemd-resolve.conf %{_sysusersdir}/systemd-timesync.conf %{_sysconfdir}/xdg/systemd %verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/crypttab %ghost %config(noreplace) %{_sysconfdir}/hostname %ghost %config(noreplace) %{_sysconfdir}/vconsole.conf %ghost %config(noreplace) %{_sysconfdir}/locale.conf %ghost %config(noreplace) %{_sysconfdir}/machine-id %ghost %config(noreplace) %{_sysconfdir}/machine-info %ghost %config(noreplace) %{_sysconfdir}/timezone %ghost %config(noreplace) %{_sysconfdir}/X11/xorg.conf.d/00-keyboard.conf %ghost %attr(0664,root,utmp) /var/log/btmp %ghost %attr(0664,root,utmp) /var/log/wtmp # (cg) NB dbus policy files are not really config that users are expected to # edit manually and thus should NOT be marked as config(noreplace). # This should really be fixed in upstream dbus (work in progress) # to separate these policy files from /etc and ship them in /usr instead # but allow override by admins by copying to /etc. # There are security implications here (CVE's have been issued due to mistakes # in these type of files) %{_datadir}/dbus-1/interfaces/org.freedesktop.LogControl1.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.import1.Manager.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.import1.Transfer.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.login1.Manager.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.login1.Seat.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.login1.Session.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.login1.User.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.machine1.Image.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.machine1.Machine.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.machine1.Manager.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.network1.DHCPServer.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.network1.DHCPv*Client.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.network1.Link.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.network1.Manager.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.network1.Network.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.oom1.Manager.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.portable1.Image.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.portable1.Manager.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.resolve1.DnsDelegate.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.resolve1.DnssdService.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.resolve1.Link.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.resolve1.Manager.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Automount.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Device.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Job.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Manager.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Mount.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Path.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Scope.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Service.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Slice.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Socket.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Swap.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Target.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Timer.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.Unit.xml %if %{with sysupdated} %{_datadir}/dbus-1/interfaces/org.freedesktop.sysupdate1.Job.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.sysupdate1.Manager.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.sysupdate1.Target.xml %endif %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml %{_datadir}/dbus-1/system.d/org.freedesktop.hostname1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.import1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.locale1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.login1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.machine1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.network1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.portable1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.resolve1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.systemd1.conf %if %{with sysupdated} %{_datadir}/dbus-1/system.d/org.freedesktop.sysupdate1.conf %endif %{_datadir}/dbus-1/system.d/org.freedesktop.timedate1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.timesync1.conf %{_sysconfdir}/pam.d/systemd-user %{_sysconfdir}/pam.d/systemd-run0 %dir %{_sysconfdir}/udev/rules.d %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh %ifarch %{ix86} x86_64 %{arm32} %{arm64} %{_prefix}/lib/systemd/boot/efi/*.efi.stub %{_prefix}/lib/systemd/boot/efi/systemd-boot*.efi %{_prefix}/lib/systemd/ukify %endif %{_prefix}/lib/systemd/import-pubring.pgp %dir %{_prefix}/lib/systemd/initrd-preset/ %{_prefix}/lib/systemd/initrd-preset/90-systemd.preset %{_prefix}/lib/systemd/initrd-preset/99-default.preset %{_prefix}/lib/systemd/network/80-6rd-tunnel.{link,network} %{_prefix}/lib/systemd/network/80-auto-link-local.network.example %{_prefix}/lib/systemd/network/80-container-host0.{link,network} %{_prefix}/lib/systemd/network/80-container-host0-tun.network %{_prefix}/lib/systemd/network/80-container-vb.{link,network} %{_prefix}/lib/systemd/network/80-container-ve.{link,network} %{_prefix}/lib/systemd/network/80-container-vz.{link,network} %{_prefix}/lib/systemd/network/80-namespace-ns.{link,network} %{_prefix}/lib/systemd/network/80-namespace-ns-tun.{link,network} %{_prefix}/lib/systemd/network/80-vm-vt.{link,network} %{_prefix}/lib/systemd/network/80-wifi-adhoc.network %{_prefix}/lib/systemd/network/80-wifi-ap.network.example %{_prefix}/lib/systemd/network/80-wifi-station.network.example %{_prefix}/lib/systemd/network/89-ethernet.network.example %{_prefix}/lib/systemd/network/99-default.link %{_prefix}/lib/systemd/ntp-units.d/80-systemd-timesync.list %{_prefix}/lib/systemd/portable/profile/default/service.conf %{_prefix}/lib/systemd/portable/profile/nonetwork/service.conf %{_prefix}/lib/systemd/portable/profile/strict/service.conf %{_prefix}/lib/systemd/portable/profile/trusted/service.conf %{_prefix}/lib/systemd/profile.d/70-systemd-shell-extra.sh %{_prefix}/lib/systemd/profile.d/80-systemd-osc-context.sh %{_prefix}/lib/systemd/repart/definitions/confext.repart.d/10-root.conf %{_prefix}/lib/systemd/repart/definitions/confext.repart.d/20-root-verity.conf %{_prefix}/lib/systemd/repart/definitions/confext.repart.d/30-root-verity-sig.conf %{_prefix}/lib/systemd/repart/definitions/portable.repart.d/10-root.conf %{_prefix}/lib/systemd/repart/definitions/portable.repart.d/20-root-verity.conf %{_prefix}/lib/systemd/repart/definitions/portable.repart.d/30-root-verity-sig.conf %{_prefix}/lib/systemd/repart/definitions/sysext.repart.d/10-root.conf %{_prefix}/lib/systemd/repart/definitions/sysext.repart.d/20-root-verity.conf %{_prefix}/lib/systemd/repart/definitions/sysext.repart.d/30-root-verity-sig.conf %{_prefix}/lib/systemd/ssh_config.d/20-systemd-ssh-proxy.conf %{_prefix}/lib/systemd/sshd_config.d/20-systemd-userdb.conf %{_prefix}/lib/sysctl.d/README # pcrlock %{_prefix}/lib/pcrlock.d/350-action-efi-application.pcrlock %{_prefix}/lib/pcrlock.d/400-secureboot-separator.pcrlock.d/300-0x00000000.pcrlock %{_prefix}/lib/pcrlock.d/400-secureboot-separator.pcrlock.d/600-0xffffffff.pcrlock %{_prefix}/lib/pcrlock.d/500-separator.pcrlock.d/300-0x00000000.pcrlock %{_prefix}/lib/pcrlock.d/500-separator.pcrlock.d/600-0xffffffff.pcrlock %{_prefix}/lib/pcrlock.d/700-action-efi-exit-boot-services.pcrlock.d/300-present.pcrlock %{_prefix}/lib/pcrlock.d/700-action-efi-exit-boot-services.pcrlock.d/600-absent.pcrlock %{_prefix}/lib/pcrlock.d/750-enter-initrd.pcrlock %{_prefix}/lib/pcrlock.d/800-leave-initrd.pcrlock %{_prefix}/lib/pcrlock.d/850-sysinit.pcrlock %{_prefix}/lib/pcrlock.d/900-ready.pcrlock %{_prefix}/lib/pcrlock.d/950-shutdown.pcrlock %{_prefix}/lib/pcrlock.d/990-final.pcrlock %{_prefix}/lib/sysctl.d/50-coredump.conf # (cg) NB See pre script for something that relies on this name... # If it is ever renamed, change the pre script too %{_prefix}/lib/sysctl.d/50-default.conf %ifarch x86_64 %{arm64} %{_prefix}/lib/sysctl.d/50-pid-max.conf %endif %{_sysusersdir}/README %{_sysusersdir}/basic.conf %{_sysusersdir}/systemd-remote.conf %{_tmpfilesdir}/README %{_tmpfilesdir}/credstore.conf %{_tmpfilesdir}/etc.conf %{_tmpfilesdir}/home.conf %{_tmpfilesdir}/journal-nocow.conf %{_tmpfilesdir}/legacy.conf %{_tmpfilesdir}/portables.conf %{_tmpfilesdir}/provision.conf %{_tmpfilesdir}/static-nodes-permissions.conf %{_tmpfilesdir}/systemd.conf %{_tmpfilesdir}/systemd-network.conf %{_tmpfilesdir}/systemd-nologin.conf %{_tmpfilesdir}/systemd-nspawn.conf %{_tmpfilesdir}/systemd-pstore.conf %{_tmpfilesdir}/systemd-resolve.conf %{_tmpfilesdir}/systemd-tmp.conf %{_tmpfilesdir}/tmp.conf %{_tmpfilesdir}/var.conf %{_tmpfilesdir}/x11.conf %{_prefix}/lib/kernel/install.conf %{_prefix}/lib/kernel/install.d/50-depmod.install %{_prefix}/lib/kernel/install.d/60-ukify.install %{_prefix}/lib/kernel/install.d/90-loaderentry.install %{_prefix}/lib/kernel/install.d/90-uki-copy.install %{_prefix}/lib/kernel/uki.conf %ifarch %{ix86} x86_64 %{arm32} %{arm64} %{_bindir}/bootctl %endif %{_bindir}/busctl %{_bindir}/coredumpctl %{_bindir}/halt %{_bindir}/hostnamectl %{_bindir}/importctl %{_bindir}/journalctl %{_bindir}/kernel-install %{_bindir}/localectl %{_bindir}/loginctl %{_bindir}/machinectl %{_bindir}/networkctl %{_bindir}/oomctl %{_bindir}/systemd-ac-power %{_bindir}/systemd-creds %{_bindir}/systemd-dissect %{_bindir}/systemd-pty-forward %{_bindir}/portablectl %{_bindir}/poweroff %{_bindir}/reboot %{_bindir}/resolvectl %{_bindir}/run0 %{_bindir}/systemd %{_bindir}/systemd-ask-password %{_bindir}/systemd-confext %{_bindir}/systemd-cryptenroll %{_bindir}/systemd-cryptsetup %{_bindir}/systemd-escape %{_bindir}/systemd-firstboot %{_bindir}/systemd-hwdb %{_bindir}/systemd-id128 %{_bindir}/systemd-inhibit %{_bindir}/systemd-machine-id-setup %{_bindir}/systemd-mount %{_bindir}/systemd-notify %{_bindir}/systemd-path %{_bindir}/systemd-run %{_bindir}/systemd-resolve %{_bindir}/systemd-sysext %{_bindir}/systemd-sysusers %{_bindir}/systemd-tmpfiles %{_bindir}/systemd-tty-ask-password-agent %{_bindir}/systemd-umount %{_bindir}/systemd-vmspawn %{_bindir}/systemd-vpick %{_bindir}/timedatectl %{_bindir}/ukify %if %{with sysupdated} %{_bindir}/updatectl %endif %{_bindir}/userdbctl %{_bindir}/varlinkctl %{_sbindir}/halt %{_sbindir}/init %{_sbindir}/mount.ddi %{_sbindir}/poweroff %{_sbindir}/reboot %dnl %{_sbindir}/runlevel %{_sbindir}/shutdown %dnl %{_sbindir}/telinit %{_sbindir}/udevadm %{_prefix}/lib/systemd/systemd* %{_prefix}/lib/systemd/system-generators/systemd-* %{_prefix}/lib/systemd/user-generators/systemd-* %{_prefix}/lib/udev %{_libdir}/cryptsetup/libcryptsetup-token-systemd-pkcs11.so %{_libdir}/cryptsetup/libcryptsetup-token-systemd-fido2.so %{_libdir}/security/pam_systemd*.so %{_libdir}/systemd/libsystemd-core-%{systemd_branch}.so %{_libdir}/systemd/libsystemd-shared-%{systemd_branch}.so %{_bindir}/systemctl %{_bindir}/systemd-analyze %{_bindir}/systemd-cat %{_bindir}/systemd-cgls %{_bindir}/systemd-cgtop %{_bindir}/systemd-delta %{_bindir}/systemd-detect-virt %{_bindir}/systemd-nspawn %{_bindir}/systemd-repart %{_bindir}/systemd-socket-activate %{_bindir}/systemd-stdio-bridge %{_bindir}/udevadm %dir %{_datadir}/systemd %{_datadir}/systemd/kbd-model-map %{_datadir}/systemd/language-fallback-map %dir %{_datadir}/systemd/gatewayd %{_datadir}/systemd/gatewayd/browse.html %{_datadir}/dbus-1/system-services/org.freedesktop.oom1.service %{_datadir}/dbus-1/system.d/org.freedesktop.oom1.conf %ifarch %{ix86} x86_64 %{arm32} %{arm64} %{_mandir}/man1/bootctl.* %{_mandir}/man1/ukify.* %endif %{_mandir}/man1/busctl.* %{_mandir}/man1/coredumpctl.* %{_mandir}/man1/hostnamectl.* %{_mandir}/man1/importctl.* %{_mandir}/man1/init.* %{_mandir}/man1/journalctl.* %{_mandir}/man1/localectl.* %{_mandir}/man1/loginctl.* %{_mandir}/man1/machinectl.* %{_mandir}/man1/mount.ddi.* %{_mandir}/man1/networkctl.* %{_mandir}/man1/portablectl.* %{_mandir}/man1/resolvconf.* %{_mandir}/man1/resolvectl.* %{_mandir}/man1/run0.* %{_mandir}/man1/systemctl.* %{_mandir}/man1/systemd.* %{_mandir}/man1/systemd-* %{_mandir}/man1/timedatectl.* %if %{with sysupdated} %{_mandir}/man1/updatectl.1* %endif %{_mandir}/man1/userdbctl.1.* %{_mandir}/man1/varlinkctl.1.* %{_mandir}/man1/oomctl.1.* %{_mandir}/man3/* %{_mandir}/man5/* %{_mandir}/man7/* %{_mandir}/man8/30-systemd-environment-d-generator.8.* %{_mandir}/man8/halt.* %{_mandir}/man8/kernel-install.* %{_mandir}/man8/shutdown.* %{_mandir}/man8/pam_systemd*.* %{_mandir}/man8/poweroff.* %{_mandir}/man8/rc-local.service.* %{_mandir}/man8/reboot.* %dnl %{_mandir}/man8/runlevel.* %{_mandir}/man8/systemd-* %dnl %{_mandir}/man8/telinit.* %{_mandir}/man8/udevadm.* %{_datadir}/mime/packages/io.systemd.xml %{_sysconfdir}/rc.d/init.d/README %{_sysconfdir}/systemd/oomd.conf %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service %{_datadir}/dbus-1/system-services/org.freedesktop.import1.service %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service %{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service %{_datadir}/dbus-1/system-services/org.freedesktop.network1.service %{_datadir}/dbus-1/system-services/org.freedesktop.portable1.service %{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service %if %{with sysupdated} %{_datadir}/dbus-1/system-services/org.freedesktop.sysupdate1.service %endif %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service %{_datadir}/dbus-1/system-services/org.freedesktop.timesync1.service %dir %{_datadir}/factory %dir %{_datadir}/factory/etc %{_datadir}/factory/etc/issue %{_datadir}/factory/etc/locale.conf %{_datadir}/factory/etc/nsswitch.conf %{_datadir}/factory/etc/vconsole.conf %dir %{_datadir}/factory/etc/pam.d %{_datadir}/factory/etc/pam.d/other %{_datadir}/factory/etc/pam.d/system-auth # For allowing applications to find systemd runtime paths (mga#29894) %{_datadir}/pkgconfig/systemd.pc %{_datadir}/polkit-1/actions/io.systemd.ask-password.policy %{_datadir}/polkit-1/actions/io.systemd.credentials.policy %{_datadir}/polkit-1/actions/io.systemd.mount-file-system.policy %{_datadir}/polkit-1/actions/io.systemd.namespace-resource.policy %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy %{_datadir}/polkit-1/actions/org.freedesktop.import1.policy %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy %{_datadir}/polkit-1/actions/org.freedesktop.machine1.policy %{_datadir}/polkit-1/actions/org.freedesktop.network1.policy %{_datadir}/polkit-1/actions/org.freedesktop.portable1.policy %{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy %if %{with sysupdated} %{_datadir}/polkit-1/actions/org.freedesktop.sysupdate1.policy %endif %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy %{_datadir}/polkit-1/actions/org.freedesktop.timesync1.policy %{_datadir}/polkit-1/rules.d/10-systemd-logind-root-ignore-inhibitors.rules.example %{_datadir}/polkit-1/rules.d/systemd-networkd.rules %{_docdir}/systemd %{_prefix}/lib/systemd/catalog/systemd.catalog # For RPM packages to utilize standard systemd runtime macros %{_prefix}/lib/rpm/macros.d/macros.systemd %lang(be) %{_prefix}/lib/systemd/catalog/systemd.be.catalog %lang(be@latin) %{_prefix}/lib/systemd/catalog/systemd.be@latin.catalog %lang(bg) %{_prefix}/lib/systemd/catalog/systemd.bg.catalog %lang(da) %{_prefix}/lib/systemd/catalog/systemd.da.catalog %lang(de) %{_prefix}/lib/systemd/catalog/systemd.de.catalog %lang(fr) %{_prefix}/lib/systemd/catalog/systemd.fr.catalog %lang(hr) %{_prefix}/lib/systemd/catalog/systemd.hr.catalog %lang(hu) %{_prefix}/lib/systemd/catalog/systemd.hu.catalog %lang(it) %{_prefix}/lib/systemd/catalog/systemd.it.catalog %lang(ko) %{_prefix}/lib/systemd/catalog/systemd.ko.catalog %lang(pl) %{_prefix}/lib/systemd/catalog/systemd.pl.catalog %lang(pt_BR) %{_prefix}/lib/systemd/catalog/systemd.pt_BR.catalog %lang(ru) %{_prefix}/lib/systemd/catalog/systemd.ru.catalog %lang(sr) %{_prefix}/lib/systemd/catalog/systemd.sr.catalog %lang(zh_CN) %{_prefix}/lib/systemd/catalog/systemd.zh_CN.catalog %lang(zh_TW) %{_prefix}/lib/systemd/catalog/systemd.zh_TW.catalog %attr(02755,root,systemd-journal) %dir %{_logdir}/journal %if %{with homed} %files homed %{_bindir}/homectl %{_bindir}/systemd-home-fallback-shell %{_libdir}/security/pam_systemd_home.so %{_datadir}/bash-completion/completions/homectl %{_datadir}/dbus-1/interfaces/org.freedesktop.home1.Home.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.home1.Manager.xml %{_datadir}/dbus-1/system-services/org.freedesktop.home1.service %{_datadir}/dbus-1/system.d/org.freedesktop.home1.conf %{_datadir}/polkit-1/actions/org.freedesktop.home1.policy %{_mandir}/man1/homectl.1.* %{_mandir}/man8/pam_systemd_home.8.* %config(noreplace) %{_sysconfdir}/systemd/homed.conf %endif %files devel %{_includedir}/systemd %{_libdir}/libsystemd*.so %{_libdir}/pkgconfig/libsystemd*.pc %files tests %{_prefix}/lib/systemd/tests/ %files -n nss-myhostname %{_mandir}/man8/nss-myhostname.* %{_mandir}/man8/libnss_myhostname.so.2.* %{_libdir}/libnss_myhostname.so.2 # (cg) Yes, this is a hack for now, I'll likely rename the package to just lib[64]systemd-nss2 or something... %{_mandir}/man8/nss-mymachines.* %{_mandir}/man8/libnss_mymachines.so.2.* %{_libdir}/libnss_mymachines.so.2 %{_mandir}/man8/nss-resolve.* %{_mandir}/man8/libnss_resolve.so.2.* %{_libdir}/libnss_resolve.so.2 %{_mandir}/man8/nss-systemd.8.* %{_mandir}/man8/libnss_systemd.so.2.* %{_libdir}/libnss_systemd.so.2 %files -n %{libname} %{_libdir}/libsystemd.so.%{libsystemd_major}{,.*} %files -n %{libudev} %{_libdir}/libudev.so.%{libudev_major}{,.*} %files -n %{libudev_devel} %{_libdir}/libudev.so %{_includedir}/libudev.h %{_datadir}/pkgconfig/udev.pc %{_libdir}/pkgconfig/libudev.pc