## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: dracut-sshd Version: 0.7.1 Release: %autorelease Summary: OpenSSH initramfs dracut integration License: GPL-3.0-or-later URL: https://github.com/gsauthof/%{name} Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch Requires: dracut Requires: openssh-server %description dracut-sshd provides SSH access to initramfs early user space. It allows for remote unlocking of a fully encrypted root filesystem and remote access to the Dracut emergency shell (i.e. early userspace). %prep %autosetup -p1 %build # nothing to do %install install -p -d %{buildroot}%{_prefix}/lib/dracut/modules.d/46sshd install -p -m644 -t %{buildroot}%{_prefix}/lib/dracut/modules.d/46sshd 46sshd/{motd,profile,sshd_config,sshd.service} install -p -t %{buildroot}%{_prefix}/lib/dracut/modules.d/46sshd 46sshd/module-setup.sh mkdir -p %{buildroot}%{_sysconfdir}/dracut-sshd touch %{buildroot}%{_sysconfdir}/dracut-sshd/sshd_config %files %{_prefix}/lib/dracut/modules.d/46sshd/ %doc README.md example/ %dir %{_sysconfdir}/dracut-sshd %ghost %config(noreplace) %{_sysconfdir}/dracut-sshd/sshd_config %changelog ## START: Generated by rpmautospec * Wed Jul 23 2025 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sat Jul 05 2025 Georg Sauthoff - 0.7.1-1 - bump to latest release that includes previous patch * Wed May 28 2025 Georg Sauthoff - 0.7.0-2 - replace empty file with archive * Wed May 28 2025 Georg Sauthoff - 0.7.0-1 - import package after review ## END: Generated by rpmautospec