[os-prober] use correct directory name for setup

Hedayat Vatankhah hedayat at fedoraproject.org
Sun Apr 29 20:04:41 UTC 2012


commit 1bb2dab288f14dff684d18dcc93582ce53add4ae
Author: Hedayat Vatankhah <hedayat.fwd at gmail.com>
Date:   Mon Apr 30 00:32:55 2012 +0430

    use correct directory name for setup

 os-prober.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/os-prober.spec b/os-prober.spec
index f02a94e..44006c8 100644
--- a/os-prober.spec
+++ b/os-prober.spec
@@ -1,6 +1,6 @@
 Name:           os-prober
 Version:        1.52
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Probes disks on the system for installed operating systems
 
 Group:          System Environment/Base
@@ -21,7 +21,7 @@ in a generic machine-readable format. Support for new OSes and Linux
 distributions can be added easily. 
 
 %prep
-%setup -q
+%setup -q -n %{name}
 %patch0 -p1 -b .newnsdirfix
 find -type f -exec sed -i -e 's|usr/lib|usr/libexec|g' {} \;
 sed -i -e 's|grub-probe|grub2-probe|g' os-probes/common/50mounted-tests \
@@ -72,6 +72,9 @@ fi
 %{_var}/lib/%{name}
 
 %changelog
+* Sun Apr 29 2012 Hedayat Vatankhah <hedayat.fwd+rpmchlog at gmail.com> - 1.52-2
+- use correct directory name for setup
+
 * Sun Apr 29 2012 Hedayat Vatankhah <hedayat.fwd+rpmchlog at gmail.com> - 1.52-1
 - Updated to 1.52, supports win 8
 


More information about the scm-commits mailing list