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