- %go_requires can't depend on %requires_ge, it isn't available on

Fedora and RHEL.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=72
This commit is contained in:
Sascha Peilicke 2011-06-16 06:46:51 +00:00 committed by Git OBS Bridge
parent c9b5681d21
commit a16b03c247
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 16 06:44:04 UTC 2011 - saschpe@suse.de
- %go_requires can't depend on %requires_ge, it isn't available on
Fedora and RHEL.
-------------------------------------------------------------------
Wed Jun 15 20:30:18 UTC 2011 - saschpe@suse.de

View File

@ -10,7 +10,7 @@
%go_sitedir %{_libdir}/go/pkg
%go_sitearch %{_libdir}/go/pkg/linux_%{go_arch}
%go_requires %requires_ge go
%go_requires %(echo '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
%go_provides \
Provides: %{name}-devel = %{version} \