[fedpkg-minimal/el5] Define BuildRoot

pbabinca pbabinca at fedoraproject.org
Wed Mar 4 11:49:37 UTC 2015


commit a3fa9c6bad6e56353f9d20f8ecbbe84e2ec5f0e4
Author: Pavol Babincak <pbabinca at redhat.com>
Date:   Wed Mar 4 12:40:03 2015 +0100

    Define BuildRoot
    
    Under EPEL 5 rpmbuild was failing:
    
        Processing files: fedpkg-minimal-1.0.0-2.el5
        error: File must begin with "/": GPLv2+
        error: File must begin with "/": LICENSE
        error: File not found: /usr/bin/fedpkg

 fedpkg-minimal.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/fedpkg-minimal.spec b/fedpkg-minimal.spec
index 239888c..8ca51d6 100644
--- a/fedpkg-minimal.spec
+++ b/fedpkg-minimal.spec
@@ -7,6 +7,7 @@ Group:          Applications/System
 License:        GPLv2+
 URL:            https://fedorahosted.org/%{name}
 Source0:        http://fedorahosted.org/releases/f/e/%{name}/%{name}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 


More information about the scm-commits mailing list