include rpm macros with %gopath
This commit is contained in:
parent
01d4c2e64f
commit
fd00fb3b64
12
golang.spec
12
golang.spec
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
Name: golang
|
Name: golang
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: The Go Programming Language
|
Summary: The Go Programming Language
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -80,6 +80,7 @@ ExclusiveArch: %{ix86} x86_64 %{arm}
|
|||||||
|
|
||||||
Source100: golang-gdbinit
|
Source100: golang-gdbinit
|
||||||
Source101: golang-prelink.conf
|
Source101: golang-prelink.conf
|
||||||
|
Source102: macros.golang
|
||||||
|
|
||||||
# Patch4 - pull in new archive/tar upstream patch, this file is part
|
# Patch4 - pull in new archive/tar upstream patch, this file is part
|
||||||
# of the upstream merge and is used for test cases.
|
# of the upstream merge and is used for test cases.
|
||||||
@ -275,6 +276,10 @@ cp -av %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d/golang
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d
|
||||||
cp -av %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/golang.conf
|
cp -av %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/golang.conf
|
||||||
|
|
||||||
|
# rpm macros
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
|
||||||
|
cp -av %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.golang
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS CONTRIBUTORS LICENSE PATENTS VERSION
|
%doc AUTHORS CONTRIBUTORS LICENSE PATENTS VERSION
|
||||||
@ -296,6 +301,8 @@ cp -av %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/golang.conf
|
|||||||
# prelink blacklist
|
# prelink blacklist
|
||||||
%{_sysconfdir}/prelink.conf.d
|
%{_sysconfdir}/prelink.conf.d
|
||||||
|
|
||||||
|
%{_sysconfdir}/rpm/macros.golang
|
||||||
|
|
||||||
|
|
||||||
%files vim
|
%files vim
|
||||||
%doc AUTHORS CONTRIBUTORS LICENSE PATENTS
|
%doc AUTHORS CONTRIBUTORS LICENSE PATENTS
|
||||||
@ -318,6 +325,9 @@ cp -av %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/golang.conf
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 26 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-2
|
||||||
|
- provide a system rpm macros. Starting with %gopath
|
||||||
|
|
||||||
* Tue Mar 04 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2.1-1
|
* Tue Mar 04 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2.1-1
|
||||||
- Update to latest upstream
|
- Update to latest upstream
|
||||||
|
|
||||||
|
1
macros.golang
Normal file
1
macros.golang
Normal file
@ -0,0 +1 @@
|
|||||||
|
%gopath %{_datadir}/gocode
|
Loading…
Reference in New Issue
Block a user