[nbd/f18] install -D.

Christopher Meng cicku at fedoraproject.org
Mon Dec 2 04:05:35 UTC 2013


commit 6b4d79ac47322af9f0f2ad218b02da29ce08addf
Author: Christopher Meng <rpm at cicku.me>
Date:   Mon Dec 2 12:01:12 2013 +0800

    install -D.

 nbd.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/nbd.spec b/nbd.spec
index 1fd6f8c..70227b2 100644
--- a/nbd.spec
+++ b/nbd.spec
@@ -26,7 +26,7 @@ make %{?_smp_mflags}
 
 %install
 make install DESTDIR=%{buildroot}
-install -pm644 %{S:1} %{buildroot}%{_unitdir}/nbd-server.service
+install -pDm644 %{S:1} %{buildroot}%{_unitdir}/nbd-server.service
 install -pDm644 %{S:2} %{buildroot}%{_sysconfdir}/sysconfig/nbd-server
 
 %post


More information about the scm-commits mailing list