update to 4.0.0 [release 4.0.0-1mamba;Mon Jun 25 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 07:12:55 +01:00
parent 8d36ec5524
commit 3a9ed51cb3

View File

@ -1,6 +1,6 @@
Name: mongo-tools Name: mongo-tools
Version: 3.2.4 Version: 4.0.0
Release: 3mamba Release: 1mamba
Summary: MongoDB Tools Summary: MongoDB Tools
Group: Applications/Databases Group: Applications/Databases
Vendor: openmamba Vendor: openmamba
@ -14,7 +14,7 @@ BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgo-devel BuildRequires: libgo-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libgo-devel >= 7.3.0-1mamba BuildRequires: libgo-devel >= 8.1.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -38,18 +38,7 @@ export GOPATH=$(pwd):$(pwd)/vendor
mkdir bin mkdir bin
tools="\ for tool in `ls -d mongo*` bsondump; do
bsondump
mongoimport \
mongoexport
mongodump
mongorestore
mongostat
mongofiles
mongooplog
mongotop"
for tool in $tools; do
go build -o bin/$tool $tool/main/${tool}.go go build -o bin/$tool $tool/main/${tool}.go
# go build -o bin/$tool -tags ssl $tool/main/${tool}.go # go build -o bin/$tool -tags ssl $tool/main/${tool}.go
done done
@ -65,17 +54,13 @@ install -p -m 0755 bin/* %{buildroot}%{_bindir}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/bsondump %{_bindir}/bsondump
%{_bindir}/mongoimport %{_bindir}/mongo*
%{_bindir}/mongoexport %doc LICENSE.md
%{_bindir}/mongodump
%{_bindir}/mongorestore
%{_bindir}/mongostat
%{_bindir}/mongofiles
%{_bindir}/mongooplog
%{_bindir}/mongotop
%doc README.md
%changelog %changelog
* Mon Jun 25 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-1mamba
- update to 4.0.0
* Thu Apr 19 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.4-3mamba * Thu Apr 19 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.4-3mamba
- rebuilt by autoport with build requirements: libgo-devel>=7.3.0-1mamba - rebuilt by autoport with build requirements: libgo-devel>=7.3.0-1mamba