summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJirka Hladky <jhladky@redhat.com>2021-01-02 16:46:32 +0100
committerJirka Hladky <jhladky@redhat.com>2021-01-02 16:46:32 +0100
commit1e64e94a918cca655d6888e1a02020c5a60b7752 (patch)
tree7f1e138608195fdbd92191c80bb5866d5d42ef1b
parentUpdated Fedora RPM spec file (diff)
downloadhaveged-1e64e94a918cca655d6888e1a02020c5a60b7752.tar.xz
haveged-1e64e94a918cca655d6888e1a02020c5a60b7752.zip
Fixed path to dracut config
-rw-r--r--contrib/Fedora/haveged.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/Fedora/haveged.spec b/contrib/Fedora/haveged.spec
index 9d941b5..6af49b2 100644
--- a/contrib/Fedora/haveged.spec
+++ b/contrib/Fedora/haveged.spec
@@ -62,7 +62,7 @@ chmod 0644 COPYING README ChangeLog AUTHORS
sed -e 's:@SBIN_DIR@:%{_sbindir}:g' -i init.d/service.fedora
install -Dpm 0644 contrib/Fedora/haveged.service %{buildroot}%{_unitdir}/%{name}.service
install -Dpm 0644 contrib/Fedora/haveged-switch-root.service %{buildroot}%{_unitdir}/%{name}-switch-root.service
-install -Dpm 0755 contrib/Fedora/haveged-dracut.module %{buildroot}/${dracutlibdir}/modules.d/98%{name}/module-setup.sh
+install -Dpm 0755 contrib/Fedora/haveged-dracut.module %{buildroot}/%{_prefix}/${dracutlibdir}/modules.d/98%{name}/module-setup.sh
install -Dpm 0644 contrib/Fedora/90-haveged.rules %{buildroot}%{_udevrulesdir}/90-%{name}.rules
# We don't ship .la files.