%global forgeurl https://github.com/cernops/pam_xdg_runtime_dir %global tag %{version} Name: pam_xdg_runtime_dir Version: 1.0.0 %forgemeta Release: %autorelease Summary: Creates /run/user/ is pam session phase License: Apache-2.0 URL: %forgeurl Source0: %forgesource BuildRequires: make BuildRequires: gcc BuildRequires: pam-devel BuildRequires: libselinux-devel %description It is useful sometimes to create this directory before pam_systemd, systemd-logind create it. This pam module allows /run/user/ to be created during the session open phase of pam. %prep %autosetup %build %make_build EXTRA_CFLAGS="%{optflags}" %install %make_install INSTALLDIR=%{_libdir}/security %files %license LICENSE %{_libdir}/security/pam_xdg_runtime_dir.so %{_mandir}/man8/pam_xdg_runtime_dir.8* %doc README.md %changelog %autochangelog