Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c6014011b |
@ -56,8 +56,7 @@ Requires: rubygem(xml-simple)
|
||||
# Vagrant changed packaging scriptlets in version 1.9.1.
|
||||
Requires: vagrant >= 1.9.1
|
||||
# Required by "vagrant package" command (rhbz#1292217).
|
||||
# EL8 supports weak deps but use Suggests for broader compat
|
||||
Suggests: %{_bindir}/virt-sysprep
|
||||
Recommends: %{_bindir}/virt-sysprep
|
||||
BuildRequires: vagrant >= 1.9.1
|
||||
BuildRequires: rubygem(bundler)
|
||||
BuildRequires: rubygem(diffy)
|
||||
@ -88,12 +87,12 @@ Documentation for %{name}.
|
||||
%prep
|
||||
%setup -q -n %{vagrant_plugin_name}-%{version} -b 1
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch100 -p1
|
||||
%patch 0 -p1
|
||||
%patch 1 -p1
|
||||
%patch 2 -p1
|
||||
%patch 3 -p1
|
||||
%patch 4 -p1
|
||||
%patch 100 -p1
|
||||
|
||||
%build
|
||||
gem build ../%{vagrant_plugin_name}-%{version}.gemspec
|
||||
@ -122,7 +121,7 @@ pushd ../vagrant-spec-%{vagrant_spec_commit}
|
||||
# Remove the git reference, which is useless in our case.
|
||||
sed -i '/git / s/^/#/' vagrant-spec.gemspec
|
||||
|
||||
# Relax the dependencies, since we may ship with newer versions.
|
||||
# Relax the dependencies, since Fedora ships with newer versions.
|
||||
sed -i '/thor/ s/~>/>=/' vagrant-spec.gemspec
|
||||
sed -i '/rspec/ s/~>/>=/' vagrant-spec.gemspec
|
||||
popd
|
||||
@ -174,11 +173,10 @@ popd
|
||||
%{vagrant_plugin_instdir}/spec
|
||||
|
||||
%changelog
|
||||
* Sat Mar 08 2026 Ryosuke Nakayama <ryosuke.nakayama@ryskn.com> - 0.11.2-8.el8
|
||||
- Port to AlmaLinux 8
|
||||
* Sat Mar 08 2026 Ryosuke Nakayama <ryosuke.nakayama@ryskn.com> - 0.11.2-8.el9
|
||||
- Port to AlmaLinux 9
|
||||
- Define vagrant plugin macros inline
|
||||
- Use old-style %%patch syntax for RPM 4.14 compatibility
|
||||
- Replace Recommends with Suggests
|
||||
- Inline gem install instead of %%vagrant_plugin_install macro
|
||||
|
||||
* Mon Nov 03 2025 Vít Ondruch <vondruch@redhat.com> - 0.11.2-8
|
||||
- Fix compatibility with REXML 3.4.2+
|
||||
|
||||
Loading…
Reference in New Issue
Block a user