From 99a2bac36fe4d840ce5faafc376667b58d3d625d Mon Sep 17 00:00:00 2001 From: Vít Ondruch Date: Dec 12 2017 11:32:12 +0000 Subject: Fix plugin registration issues caused by changes in RPM (rhbz#1523296). Originally, the transaction file triggers provided just list of filenames, but that was not intentional and the list now contains also directory entries. Fortunatelly, these entries can be filtered out if the path end withi '/'. --- diff --git a/vagrant.spec b/vagrant.spec index 154cfb0..70f71e3 100644 --- a/vagrant.spec +++ b/vagrant.spec @@ -4,7 +4,7 @@ Name: vagrant Version: 1.9.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Build and distribute virtualized development environments Group: Development/Languages License: MIT @@ -209,7 +209,7 @@ rescue => e puts "Vagrant plugin.json is not properly initialized: #{e}" end -%transfiletriggerin -p %{_bindir}/ruby -- %{dirname:%{vagrant_plugin_spec}} +%transfiletriggerin -p %{_bindir}/ruby -- %{dirname:%{vagrant_plugin_spec}}/ begin $LOAD_PATH.unshift "%{vagrant_dir}/lib" begin @@ -228,7 +228,7 @@ rescue => e puts "Vagrant plugin register error: #{e}" end -%transfiletriggerun -p %{_bindir}/ruby -- %{dirname:%{vagrant_plugin_spec}} +%transfiletriggerun -p %{_bindir}/ruby -- %{dirname:%{vagrant_plugin_spec}}/ begin $LOAD_PATH.unshift "%{vagrant_dir}/lib" begin @@ -304,6 +304,9 @@ end %changelog +* Tue Dec 12 2017 Vít Ondruch - 1.9.8-2 +- Fix plugin registration issues caused by changes in RPM (rhbz#1523296). + * Thu Aug 24 2017 Pavel Valena - 1.9.8-1 - Update to Vagrant 1.9.8 (rhbz#1427505). - Remove Nokogiri dependency.