update to 0.13.3 [release 0.13.3-1mamba;Wed Aug 28 2019]
This commit is contained in:
parent
8841d9bb95
commit
1015ad449c
27
glide.spec
27
glide.spec
@ -1,5 +1,5 @@
|
|||||||
Name: glide
|
Name: glide
|
||||||
Version: 0.2.0
|
Version: 0.13.3
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Package Management for Golang
|
Summary: Package Management for Golang
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
@ -8,13 +8,14 @@ Distribution: openmamba
|
|||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://glide.sh/
|
URL: https://glide.sh/
|
||||||
## GITSOURCE https://github.com/Masterminds/glide.git v0.13.1
|
## GITSOURCE https://github.com/Masterminds/glide.git v0.13.1
|
||||||
Source: https://github.com/Masterminds/glide.git/%{version}/glide-%{version}.tar.bz2
|
Source: https://github.com/Masterminds/glide.git/v%{version}/glide-%{version}.tar.bz2
|
||||||
License: MIT
|
License: MIT
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libgo-devel
|
BuildRequires: libgo-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: libgo-devel >= 9.2.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -23,14 +24,25 @@ Package Management for Golang.
|
|||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -c -a0
|
||||||
|
|
||||||
|
mkdir -p build/go && cd build/go
|
||||||
|
for f in %{_libdir}/go/*; do ln -s "$f"; done
|
||||||
|
mkdir pkg && cd pkg
|
||||||
|
for f in %{_libdir}/go/pkg/*; do ln -s "$f"; done
|
||||||
|
mkdir -p %{_builddir}/%{name}-%{version}/build/src/github.com/Masterminds/glide
|
||||||
|
mv %{_builddir}/%{name}-%{version}/%{name}-%{version}/* %{_builddir}/%{name}-%{version}/build/src/github.com/Masterminds/glide
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make bootstrap
|
export GOPATH="%{_builddir}/%{name}-%{version}/build"
|
||||||
|
export GOROOT="$GOPATH/go"
|
||||||
|
cd %{_builddir}/%{name}-%{version}/build/src/github.com/Masterminds/glide
|
||||||
|
go build -o glide -ldflags "-X main.version=%{version}" glide.go
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
install -D -m 755 glide %{buildroot}%{_bindir}/glide
|
cd %{_builddir}/%{name}-%{version}/build/src/github.com/Masterminds/glide
|
||||||
|
install -Dm755 glide %{buildroot}%{_bindir}/glide
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -38,8 +50,11 @@ install -D -m 755 glide %{buildroot}%{_bindir}/glide
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/glide
|
%{_bindir}/glide
|
||||||
%doc LICENSE.txt
|
%doc build/src/github.com/Masterminds/glide/LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.3-1mamba
|
||||||
|
- update to 0.13.3
|
||||||
|
|
||||||
* Fri Aug 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
|
* Fri Aug 17 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user