X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=bootcd.spec;h=bc3dd5d2155c37b4058bf09f31707895cfa0ea55;hb=d72a9e931dc589dd5f421a12177b3ac46f8fb0be;hp=31215d36ae1e57de3719699c39e1630c7a37f163;hpb=4df088138b480c7385e4057ef7eb5cfd158dd313;p=bootcd.git diff --git a/bootcd.spec b/bootcd.spec index 31215d3..bc3dd5d 100644 --- a/bootcd.spec +++ b/bootcd.spec @@ -34,7 +34,7 @@ Requires: dosfstools, mkisofs, gzip, mtools, syslinux Requires: yum-utils # mkdiskimage is used for USB-partitioned mode # but it now comes in a separate rpm -%if "%{distro}" == "Fedora" && "%{distrorelease}" >= 14 +%if "%{distro}" == "Fedora" && %{distrorelease} >= 14 Requires: syslinux-perl %endif @@ -101,13 +101,6 @@ for script in bootcd bootcd-kernel; do install -D -m 755 plc.d/$script $RPM_BUILD_ROOT/etc/plc.d/$script done -#systemd files -mkdir -p /lib/systemd/system -mkdir -p /etc/systemd/system -cp -pr systemd/* /lib/systemd/system -ln -sf /lib/systemd/system/pl_boot.target /etc/systemd/system/default.target -ln -sf /lib/systemd/system/pl_boot.service /lib/systemd/system/pl_boot.target.wants/pl_boot.service -ln -sf /lib/systemd/system/pl_sysinit.service /lib/systemd/system/pl_sysinit.target.wants/pl_sysinit.service popd %clean @@ -120,8 +113,6 @@ rm -rf $RPM_BUILD_ROOT %files -n bootcd-initscripts %defattr(-,root,root,-) /etc/plc.d -/lib/systemd/system -/etc/systemd/system %changelog * Mon Nov 07 2011 Thierry Parmentelat - bootcd-5.0-11