update to 2.2.14 [release 2.2.14-1mamba;Mon Nov 23 2020]
This commit is contained in:
parent
c169590a85
commit
febe1a5ba7
77
vagrant.spec
77
vagrant.spec
@ -1,6 +1,6 @@
|
|||||||
%define ruby_apiver %(echo %ruby_version|cut -d. -f1-2).0
|
%define ruby_apiver %(echo %ruby_version|cut -d. -f1-2).0
|
||||||
Name: vagrant
|
Name: vagrant
|
||||||
Version: 2.2.9
|
Version: 2.2.14
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A tool for building and distributing development environments
|
Summary: A tool for building and distributing development environments
|
||||||
Group: Applications/Development
|
Group: Applications/Development
|
||||||
@ -8,19 +8,17 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://www.vagrantup.com
|
URL: https://www.vagrantup.com
|
||||||
## GITSOURCE https://github.com/hashicorp/vagrant.git v2.1.2
|
|
||||||
Source: https://github.com/hashicorp/vagrant.git/v%{version}/vagrant-%{version}.tar.bz2
|
Source: https://github.com/hashicorp/vagrant.git/v%{version}/vagrant-%{version}.tar.bz2
|
||||||
|
Source1: https://github.com/hashicorp/vagrant-installers.git/v%{version}.dev+main/vagrant-installers-%{version}.tar.bz2
|
||||||
License: MIT
|
License: MIT
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libruby-devel
|
||||||
BuildRequires: libgmp-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
|
||||||
BuildRequires: perl-devel
|
|
||||||
BuildRequires: ruby-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: ruby
|
BuildRequires: ruby
|
||||||
|
BuildRequires: go
|
||||||
Requires: ruby
|
Requires: ruby
|
||||||
Requires: libarchive-tools
|
Requires: libarchive-tools
|
||||||
Requires: VirtualBox
|
Requires: VirtualBox
|
||||||
@ -29,48 +27,81 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
%description
|
%description
|
||||||
Vagrant is a tool for building and distributing development environments.
|
Vagrant is a tool for building and distributing development environments.
|
||||||
|
|
||||||
%prep
|
%debug_package
|
||||||
%setup -q
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -a1
|
||||||
|
mv vagrant-installers-%{version} vagrant-installers
|
||||||
touch .gitignore
|
touch .gitignore
|
||||||
|
|
||||||
%build
|
%build
|
||||||
gem build vagrant.gemspec
|
gem build vagrant.gemspec
|
||||||
|
|
||||||
|
cd vagrant-installers/substrate/launcher
|
||||||
|
go get github.com/mitchellh/osext
|
||||||
|
|
||||||
|
go build \
|
||||||
|
-trimpath \
|
||||||
|
-buildmode=pie \
|
||||||
|
-ldflags "-extldflags \"${LDFLAGS}\"" \
|
||||||
|
-o vagrant
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
|
INSTALLERS_DIR=vagrant-installers/substrate
|
||||||
|
EMBEDDED_DIR=%{buildroot}%{_datadir}/vagrant/embedded
|
||||||
gem install vagrant-%{version}.gem -i %{buildroot}%{ruby_sitelib} \
|
|
||||||
--no-ri --no-rdoc
|
|
||||||
|
|
||||||
rm -f %{buildroot}%{_libdir}/ruby/gems/%{ruby_apiver}/bin/rake
|
install -d %{buildroot}/usr/{bin,share/bash-completion/completions}
|
||||||
rm -rf %{buildroot}%{ruby_sitelib}/cache
|
install -d ${EMBEDDED_DIR}/rgloader
|
||||||
|
|
||||||
|
install -Dm644 ${INSTALLERS_DIR}/common/gemrc ${EMBEDDED_DIR}/etc/gemrc
|
||||||
|
install -Dm644 ${INSTALLERS_DIR}/{common,linux}/rgloader/* \
|
||||||
|
${EMBEDDED_DIR}/rgloader/
|
||||||
|
|
||||||
install -d -m0755 %{buildroot}${gemdir}
|
echo "{ \"vagrant_version\": \"%{version}\" }" > ${EMBEDDED_DIR}/manifest.json
|
||||||
mv %{buildroot}%{ruby_sitelib}/* %{buildroot}${gemdir}/
|
|
||||||
|
|
||||||
install -d -m0755 %{buildroot}%{_bindir}
|
GEM_PATH=${EMBEDDED_DIR}/gems/%{version} GEM_HOME="$GEM_PATH" \
|
||||||
|
GEMRC=${EMBEDDED_DIR}/etc/gemrc \
|
||||||
|
gem install %{name}-%{version}.gem --no-document --prerelease
|
||||||
|
|
||||||
ln -s %{_libdir}/ruby/gems/%{ruby_apiver}/bin/vagrant %{buildroot}%{_bindir}/vagrant
|
install -Dm755 ${INSTALLERS_DIR}/launcher/vagrant \
|
||||||
|
%{buildroot}%{_datadir}/vagrant/bin/vagrant
|
||||||
|
|
||||||
|
ln -s %{_datadir}/vagrant/bin/vagrant %{buildroot}%{_bindir}/vagrant
|
||||||
|
|
||||||
install -Dm644 contrib/bash/completion.sh \
|
install -Dm644 contrib/bash/completion.sh \
|
||||||
%{buildroot}%{_datadir}/bash-completion/completions/vagrant
|
%{buildroot}%{_datadir}/bash-completion/completions/vagrant
|
||||||
|
|
||||||
|
install -Dm644 contrib/vim/vagrantfile.vim \
|
||||||
|
%{buildroot}%{_datadir}/vim/vimfiles/ftdetect/vagrantfile.vim
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/vagrant
|
%{_bindir}/vagrant
|
||||||
%{_libdir}/ruby/gems/%{ruby_apiver}/bin/*
|
%dir %{_datadir}/vagrant
|
||||||
%{_libdir}/ruby/gems/%{ruby_apiver}/extensions/*
|
%dir %{_datadir}/vagrant/bin
|
||||||
%{_libdir}/ruby/gems/%{ruby_apiver}/gems/*
|
%{_datadir}/vagrant/bin/vagrant
|
||||||
%{_libdir}/ruby/gems/%{ruby_apiver}/specifications/*
|
%dir %{_datadir}/vagrant/embedded
|
||||||
|
%dir %{_datadir}/vagrant/embedded/etc
|
||||||
|
%{_datadir}/vagrant/embedded/etc/gemrc
|
||||||
|
%dir %{_datadir}/vagrant/embedded/gems/
|
||||||
|
%dir %{_datadir}/vagrant/embedded/gems/%{version}
|
||||||
|
%{_datadir}/vagrant/embedded/gems/%{version}/*
|
||||||
|
%{_datadir}/vagrant/embedded/manifest.json
|
||||||
|
%dir %{_datadir}/vagrant/embedded/rgloader
|
||||||
|
%{_datadir}/vagrant/embedded/rgloader/loader.rb
|
||||||
|
%{_datadir}/vagrant/embedded/rgloader/rgloader26.linux.x86_64.so
|
||||||
|
%{_datadir}/vim/vimfiles/ftdetect/vagrantfile.vim
|
||||||
%{_datadir}/bash-completion/completions/vagrant
|
%{_datadir}/bash-completion/completions/vagrant
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.14-1mamba
|
||||||
|
- update to 2.2.14
|
||||||
|
|
||||||
* Fri May 15 2020 Automatic Build System <autodist@mambasoft.it> 2.2.9-1mamba
|
* Fri May 15 2020 Automatic Build System <autodist@mambasoft.it> 2.2.9-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user