[golang/f20] fix meta dependency on libc

Adam Miller maxamillion at fedoraproject.org
Fri Aug 30 15:08:29 UTC 2013


commit 79fe1edc90f5894d5d77203827f45750f37fbe3e
Author: Adam Miller <admiller at redhat.com>
Date:   Fri Aug 30 09:09:22 2013 -0500

    fix meta dependency on libc

 golang.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/golang.spec b/golang.spec
index 90262e4..6381cf7 100644
--- a/golang.spec
+++ b/golang.spec
@@ -16,9 +16,16 @@
 # Actually, don't strip at all since we are not even building debug packages and this corrupts the dwarf testdata
 %global __strip /bin/true
 
+# rpmbuild magic to keep from having meta dependency on libc.so.6
+%define _use_internal_dependency_generator 0
+%define __find_requires %{nil}
+%global debug_package %{nil}
+%global __spec_install_post /usr/lib/rpm/check-rpaths   /usr/lib/rpm/check-buildroot  \
+  /usr/lib/rpm/brp-compress
+
 Name:		golang
 Version:	1.1.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	The Go Programming Language
 
 License:	BSD
@@ -250,6 +257,9 @@ cp -av %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/golang.conf
 
 
 %changelog
+* Fri Aug 30 2013 Adam Miller <maxamillion at fedoraproject.org> - 1.1.2-2
+- fix the libc meta dependency (thanks to vbatts [at] redhat.com for the fix)
+
 * Tue Aug 20 2013 Adam Miller <maxamillion at fedoraproject.org> - 1.1.2-1
 - Update to latest upstream
 


More information about the scm-commits mailing list