Fix launch when -doc subpackage with Gemfile is installed.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 14 Sep 2014 16:23:08 +0000 (18:23 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 14 Sep 2014 16:23:08 +0000 (18:23 +0200)
rOCCI-server.spec

index f87b8e5..e744d9e 100644 (file)
@@ -139,8 +139,10 @@ This package provides Opennebula backend for OCCI server.
 # kill bundler
 %patch0 -p1
 %patch1 -p1
+mv Gemfile Gemfile.unused
+mv Gemfile.lock Gemfile.lock.unused
 
-# apache >= 2.4, applicaton prefix
+# apache >= 2.4 syntax, applicaton prefix
 sed -i examples/etc/apache2/sites-available/occi-ssl \
   -e 's/Allow from all/Require all granted/i' \
   -e 's,/opt/rOCCI-server,%{app_root},g'
@@ -278,8 +280,8 @@ fi
 %{app_root}/lib/backends/bundles/
 %{app_root}/spec/
 %{app_root}/test/
-%{app_root}/Gemfile
-%{app_root}/Gemfile.lock
+%{app_root}/Gemfile.unused
+%{app_root}/Gemfile.lock.unused
 %{app_root}/README.md
 %{app_root}/Rakefile