[golang] fix meta dependency on libc

Adam Miller maxamillion at fedoraproject.org
Fri Aug 30 14:09:42 UTC 2013


commit b77f3c25a0c33ae57ad844915d1137907d516950
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 5e3a573..8e71ec8 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:	3%{?dist}
+Release:	4%{?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-4
+- fix the libc meta dependency (thanks to vbatts [at] redhat.com for the fix)
+
 * Tue Aug 27 2013 Adam Miller <maxamillion at fedoraproject.org> - 1.1.2-3
 - Revert incorrect merged changelog
 


More information about the scm-commits mailing list