]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut.spec: removed compat /sbin symlink to dracut binary
authorHarald Hoyer <harald@redhat.com>
Mon, 23 Mar 2015 11:19:41 +0000 (12:19 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 23 Mar 2015 11:19:41 +0000 (12:19 +0100)
dracut.spec

index 08d64116d9d4d36a1af8f56d34a4ce607f4703ad..79ff0925b5e9f4ec26211ee7a3804c5165fef3f3 100644 (file)
@@ -286,10 +286,6 @@ echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/
 > $RPM_BUILD_ROOT/etc/system-fips
 %endif
 
-# create compat symlink
-mkdir -p $RPM_BUILD_ROOT%{_sbindir}
-ln -sr $RPM_BUILD_ROOT%{_bindir}/dracut $RPM_BUILD_ROOT%{_sbindir}/dracut
-
 %clean
 rm -rf -- $RPM_BUILD_ROOT
 
@@ -301,8 +297,6 @@ rm -rf -- $RPM_BUILD_ROOT
 %{!?_licensedir:%global license %%doc}
 %license COPYING lgpl-2.1.txt
 %{_bindir}/dracut
-# compat symlink
-%{_sbindir}/dracut
 %{_datadir}/bash-completion/completions/dracut
 %{_datadir}/bash-completion/completions/lsinitrd
 %if 0%{?fedora} > 12 || 0%{?rhel} >= 6 || 0%{?suse_version} > 9999