commit rubygem-webyast-rake-tasks for openSUSE:Factory

2013-08-27 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-rake-tasks for 
openSUSE:Factory checked in at 2013-08-27 21:09:53

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new (New)


Package is rubygem-webyast-rake-tasks

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks/rubygem-webyast-rake-tasks.changes
2013-06-10 17:10:37.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new/rubygem-webyast-rake-tasks.changes
   2013-08-27 21:22:22.0 +0200
@@ -1,0 +2,6 @@
+Mon Aug 26 07:56:10 UTC 2013 - lsle...@suse.cz
+
+- added %webyast_restart_on_removal RPM macro
+- 0.3.7
+
+---

Old:

  webyast-rake-tasks-0.3.6.gem

New:

  webyast-rake-tasks-0.3.7.gem



Other differences:
--
++ rubygem-webyast-rake-tasks.spec ++
--- /var/tmp/diff_new_pack.N6fvhv/_old  2013-08-27 21:22:23.0 +0200
+++ /var/tmp/diff_new_pack.N6fvhv/_new  2013-08-27 21:22:23.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-rake-tasks
-Version:0.3.6
+Version:0.3.7
 Release:0
 Provides:   rubygem-yast2-webservice-tasks = %{version}
 Obsoletes:  rubygem-yast2-webservice-tasks  %{version}

++ macros.webyast ++
--- /var/tmp/diff_new_pack.N6fvhv/_old  2013-08-27 21:22:23.0 +0200
+++ /var/tmp/diff_new_pack.N6fvhv/_new  2013-08-27 21:22:23.0 +0200
@@ -87,7 +87,7 @@
 export RAILS_PARENT=%{webyast_dir} \
 cd $RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name} \
 cp /srv/www/webyast/Gemfile.assets . \
-BUNDLE_GEMFILE=Gemfile.assets bundle exec rake assets:precompile \
+WEBYAST_LOAD_GEMS=false BUNDLE_GEMFILE=Gemfile.assets bundle exec rake 
assets:precompile \
 rm -f Gemfile.assets Gemfile.assets.lock \
 rm -rf tmp \
 mkdir -p $RPM_BUILD_ROOT/srv/www/webyast/public/assets \
@@ -105,6 +105,14 @@
 %restart_script_name \
 /var/adm/update-scripts/%name-%version-%release-update
 
+# generic plugin postun actions
+%webyast_plugin_postun \
+# restart only on removal, restart on update is handled in %%post
+if [ $1 -eq 0 ] ; then \
+  echo Restarting WebYast...; \
+  /etc/init.d/%{webyast_service} try-restart; \
+fi
+
 # create a restart script (symlink the base script) (for build section)
 # make the symlink relative so it is valid even in chroot (/mnt) during 
initial installation
 %create_restart_script \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-rake-tasks for openSUSE:Factory

2013-06-10 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-rake-tasks for 
openSUSE:Factory checked in at 2013-06-10 17:10:36

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new (New)


Package is rubygem-webyast-rake-tasks

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks/rubygem-webyast-rake-tasks.changes
2012-12-28 22:49:07.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new/rubygem-webyast-rake-tasks.changes
   2013-06-10 17:10:37.0 +0200
@@ -1,0 +2,5 @@
+Fri Jun  7 11:44:55 UTC 2013 - lsle...@suse.cz
+
+- use bundle exec for running rake tasks
+
+---



Other differences:
--
++ rubygem-webyast-rake-tasks.spec ++
--- /var/tmp/diff_new_pack.KRERL0/_old  2013-06-10 17:10:37.0 +0200
+++ /var/tmp/diff_new_pack.KRERL0/_new  2013-06-10 17:10:37.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-webyast-rake-tasks
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ macros.webyast ++
--- /var/tmp/diff_new_pack.KRERL0/_old  2013-06-10 17:10:37.0 +0200
+++ /var/tmp/diff_new_pack.KRERL0/_new  2013-06-10 17:10:37.0 +0200
@@ -42,7 +42,7 @@
 export RAILS_PARENT=%{webyast_dir} \
 cp %{webyast_dir}/Gemfile Gemfile.restility \
 echo 'gem restility'  Gemfile.restility \
-LC_ALL=en_US.UTF-8 BUNDLE_GEMFILE=Gemfile.restility rake restdoc \
+LC_ALL=en_US.UTF-8 BUNDLE_GEMFILE=Gemfile.restility bundle exec rake 
restdoc \
 rm -f Gemfile.restility Gemfile.restility.lock \
 rm -rf restdoc \
 cd -
@@ -75,10 +75,10 @@
 rm -rf $TEST_DB_PATH \
 cd $RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name} \
 cp %{webyast_dir}/Gemfile.test Gemfile.test \
-BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test rake db:create \
-BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test rake db:schema:load \
+BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test bundle exec rake db:create \
+BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test bundle exec rake db:schema:load 
\
 echo 'gem %{mod_name}, :path = .'  Gemfile.test \
-BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test ADD_BUILD_PATH=1 rake test \
+BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test ADD_BUILD_PATH=1 bundle exec 
rake test \
 rm -rf $TEST_DB_PATH Gemfile.test Gemfile.test.lock log \
 cd -
 
@@ -86,7 +86,8 @@
 %webyast_build_plugin_assets \
 export RAILS_PARENT=%{webyast_dir} \
 cd $RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name} \
-BUNDLE_GEMFILE=Gemfile.assets rake assets:precompile \
+cp /srv/www/webyast/Gemfile.assets . \
+BUNDLE_GEMFILE=Gemfile.assets bundle exec rake assets:precompile \
 rm -f Gemfile.assets Gemfile.assets.lock \
 rm -rf tmp \
 mkdir -p $RPM_BUILD_ROOT/srv/www/webyast/public/assets \


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-rake-tasks for openSUSE:Factory

2012-12-28 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-rake-tasks for 
openSUSE:Factory checked in at 2012-12-28 22:49:03

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new (New)


Package is rubygem-webyast-rake-tasks, Maintainer is sch...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks/rubygem-webyast-rake-tasks.changes
2012-09-25 10:51:54.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new/rubygem-webyast-rake-tasks.changes
   2012-12-28 22:49:07.0 +0100
@@ -1,0 +2,14 @@
+Wed Dec 19 08:35:16 UTC 2012 - lsle...@suse.cz
+
+- make the update script symlinks relative so they are valid also
+  in installation chroot (/mnt) (bnc#795045)
+- 0.3.6
+
+---
+Mon Dec  3 10:19:30 UTC 2012 - lsle...@suse.cz
+
+- added %restart_webyast, %restart_script_name and %create_restart_script
+  RPM macros for restarting Webyast using an update script
+- 0.3.5
+
+---

Old:

  webyast-rake-tasks-0.3.4.gem

New:

  webyast-rake-tasks-0.3.6.gem



Other differences:
--
++ rubygem-webyast-rake-tasks.spec ++
--- /var/tmp/diff_new_pack.FWJxV8/_old  2012-12-28 22:49:13.0 +0100
+++ /var/tmp/diff_new_pack.FWJxV8/_new  2012-12-28 22:49:13.0 +0100
@@ -1,5 +1,5 @@
 #
-# spec file for package rubygem-webyast-rake-tasks (Version 0.3.4)
+# spec file for package rubygem-webyast-rake-tasks
 #
 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -15,19 +15,18 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   rubygem-webyast-rake-tasks
-Version:0.3.4
+Version:0.3.6
+Release:0
 Provides:   rubygem-yast2-webservice-tasks = %{version}
 Obsoletes:  rubygem-yast2-webservice-tasks  %{version}
-Release:0
 
 # Nope, doesn't work. Gems are installed below /usr/lib{64}
 # BuildArch:  noarch
 
 %define mod_name webyast-rake-tasks
 #
-Group:  Development/Languages/Ruby
-License:LGPL-2.1
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
@@ -42,8 +41,10 @@
 Source2:   macros.webyast-PolicyKit
 Source3:   macros.webyast-polkit1
 
-
 Summary:Rake tasks shared by all WebYaST packages
+License:LGPL-2.1
+Group:  Development/Languages/Ruby
+
 %description
 The original task package is renamed to package-local.
 The new task package includes the tasks git_check and syntax_check.

++ macros.webyast ++
--- /var/tmp/diff_new_pack.FWJxV8/_old  2012-12-28 22:49:13.0 +0100
+++ /var/tmp/diff_new_pack.FWJxV8/_new  2012-12-28 22:49:13.0 +0100
@@ -49,16 +49,7 @@
 
 # update manifest.yml file
 # use assets.rake file directly (faster loading)
-%webyast_update_assets \
-cd %{webyast_dir} \
-rake -f lib/tasks/assets.rake assets:join_manifests \
-if test -f Gemfile ; then \
-  bundle update \
-fi
-cd -
-
-# update manifest.yml file
-# use assets.rake file directly (faster loading)
+# (Usually not needed, replaced by update script functionality)
 %webyast_update_assets \
 cd %{webyast_dir} \
 rake -f lib/tasks/assets.rake assets:join_manifests \
@@ -84,10 +75,9 @@
 rm -rf $TEST_DB_PATH \
 cd $RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name} \
 cp %{webyast_dir}/Gemfile.test Gemfile.test \
-echo 'gem %{mod_name}, :path = .'  Gemfile.test \
-BUNDLE_GEMFILE=Gemfile.test bundle update \
 BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test rake db:create \
 BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test rake db:schema:load \
+echo 'gem %{mod_name}, :path = .'  Gemfile.test \
 BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test ADD_BUILD_PATH=1 rake test \
 rm -rf $TEST_DB_PATH Gemfile.test Gemfile.test.lock log \
 cd -
@@ -96,7 +86,8 @@
 %webyast_build_plugin_assets \
 export RAILS_PARENT=%{webyast_dir} \
 cd $RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name} \
-rake assets:precompile \
+BUNDLE_GEMFILE=Gemfile.assets rake assets:precompile \
+rm -f Gemfile.assets Gemfile.assets.lock \
 rm -rf tmp \
 mkdir -p $RPM_BUILD_ROOT/srv/www/webyast/public/assets \
 mv public/assets/* $RPM_BUILD_ROOT/srv/www/webyast/public/assets \
@@ -105,6 +96,20 @@
 rm -rf log \
 cd -
 
+# set the flag to restart webyast at the end of libzypp transaction via update 
script
+%restart_webyast \
+touch /var/lib/webyast/restart
+
+# restart file name for files section

commit rubygem-webyast-rake-tasks for openSUSE:Factory

2012-09-25 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-rake-tasks for 
openSUSE:Factory checked in at 2012-09-25 10:51:52

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new (New)


Package is rubygem-webyast-rake-tasks, Maintainer is sch...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks/rubygem-webyast-rake-tasks.changes
2012-04-18 16:30:45.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new/rubygem-webyast-rake-tasks.changes
   2012-09-25 10:51:54.0 +0200
@@ -1,0 +2,21 @@
+Fri Sep  7 12:41:40 UTC 2012 - lsle...@suse.cz
+
+- macros.webyast - use Gemfile.test earlier (when creating test DB),
+  the created Gemfile.test.lock fixes segfault during build on IA64
+  (yes, a strange solution for the crash...)
+- 0.3.4
+
+---
+Fri Aug 17 13:00:06 UTC 2012 - lsle...@suse.cz
+
+- fixed restdoc task to correctly select the longest path
+- 0.3.3
+
+---
+Thu Aug 16 10:44:29 UTC 2012 - lsle...@suse.cz
+
+- restdoc fixes - changed path, serve XML examples from public/
+  by ::ActionDispatch::Static
+- 0.3.2
+
+---

Old:

  webyast-rake-tasks-0.3.1.gem

New:

  webyast-rake-tasks-0.3.4.gem



Other differences:
--
++ rubygem-webyast-rake-tasks.spec ++
--- /var/tmp/diff_new_pack.WM9Yv7/_old  2012-09-25 10:51:55.0 +0200
+++ /var/tmp/diff_new_pack.WM9Yv7/_new  2012-09-25 10:51:55.0 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package rubygem-webyast-rake-tasks (Version 0.3.1)
+# spec file for package rubygem-webyast-rake-tasks (Version 0.3.4)
 #
 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -16,9 +16,9 @@
 #
 
 Name:   rubygem-webyast-rake-tasks
-Provides:   rubygem-yast2-webservice-tasks = 0.3.1
-Obsoletes:  rubygem-yast2-webservice-tasks  0.3.1
-Version:0.3.1
+Version:0.3.4
+Provides:   rubygem-yast2-webservice-tasks = %{version}
+Obsoletes:  rubygem-yast2-webservice-tasks  %{version}
 Release:0
 
 # Nope, doesn't work. Gems are installed below /usr/lib{64}

++ macros.webyast ++
--- /var/tmp/diff_new_pack.WM9Yv7/_old  2012-09-25 10:51:55.0 +0200
+++ /var/tmp/diff_new_pack.WM9Yv7/_new  2012-09-25 10:51:55.0 +0200
@@ -39,16 +39,10 @@
 # example: %webyast_build_restdoc public/my_module/restdoc
 %webyast_build_restdoc() \
 cd $RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name} \
-mkdir -p %1 \
 export RAILS_PARENT=%{webyast_dir} \
 cp %{webyast_dir}/Gemfile Gemfile.restility \
 echo 'gem restility'  Gemfile.restility \
-BUNDLE_GEMFILE=Gemfile.restility rake restdoc \
-mv restdoc/*.xml %1 \
-mkdir -p $RPM_BUILD_ROOT/srv/www/webyast/%1 \
-cp %1/* $RPM_BUILD_ROOT/srv/www/webyast/%1 \
-gzip %1/* \
-mv %1/* $RPM_BUILD_ROOT/srv/www/webyast/%1 \
+LC_ALL=en_US.UTF-8 BUNDLE_GEMFILE=Gemfile.restility rake restdoc \
 rm -f Gemfile.restility Gemfile.restility.lock \
 rm -rf restdoc \
 cd -
@@ -89,12 +83,14 @@
 export RAILS_PARENT=%{webyast_dir} \
 rm -rf $TEST_DB_PATH \
 cd $RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name} \
-RAILS_ENV=test rake db:create \
-RAILS_ENV=test rake db:schema:load \
 cp %{webyast_dir}/Gemfile.test Gemfile.test \
 echo 'gem %{mod_name}, :path = .'  Gemfile.test \
+BUNDLE_GEMFILE=Gemfile.test bundle update \
+BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test rake db:create \
+BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test rake db:schema:load \
 BUNDLE_GEMFILE=Gemfile.test RAILS_ENV=test ADD_BUILD_PATH=1 rake test \
-rm -rf $TEST_DB_PATH Gemfile.test Gemfile.test.lock log
+rm -rf $TEST_DB_PATH Gemfile.test Gemfile.test.lock log \
+cd -
 
 # build (precompile) plugin assets (in %install section)
 %webyast_build_plugin_assets \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-rake-tasks for openSUSE:Factory

2012-04-18 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-rake-tasks for 
openSUSE:Factory checked in at 2012-04-18 16:30:22

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new (New)


Package is rubygem-webyast-rake-tasks, Maintainer is sch...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks/rubygem-webyast-rake-tasks.changes
2012-01-27 15:24:01.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new/rubygem-webyast-rake-tasks.changes
   2012-04-18 16:30:45.0 +0200
@@ -1,0 +2,9 @@
+Tue Feb 14 16:11:37 UTC 2012 - lsle...@suse.cz
+
+- removed override_test_db_path.rake (use ERB preprocessing
+  in database.yml instead)
+- webservice_tasks.rb renamed to webyast_tasks.rb
+- improved ignoring files in package-local task
+- 0.3.1
+
+---

Old:

  webyast-rake-tasks-0.3.0.gem

New:

  macros.webyast-PolicyKit
  macros.webyast-polkit1
  webyast-rake-tasks-0.3.1.gem



Other differences:
--
++ rubygem-webyast-rake-tasks.spec ++
--- /var/tmp/diff_new_pack.v0PP4A/_old  2012-04-18 16:30:46.0 +0200
+++ /var/tmp/diff_new_pack.v0PP4A/_new  2012-04-18 16:30:46.0 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package rubygem-webyast-rake-tasks
+# spec file for package rubygem-webyast-rake-tasks (Version 0.3.1)
 #
 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -15,11 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 Name:   rubygem-webyast-rake-tasks
-Provides:   rubygem-yast2-webservice-tasks = 0.3.0
-Obsoletes:  rubygem-yast2-webservice-tasks  0.3.0
-Version:0.3.0
+Provides:   rubygem-yast2-webservice-tasks = 0.3.1
+Obsoletes:  rubygem-yast2-webservice-tasks  0.3.1
+Version:0.3.1
 Release:0
 
 # Nope, doesn't work. Gems are installed below /usr/lib{64}
@@ -27,6 +26,8 @@
 
 %define mod_name webyast-rake-tasks
 #
+Group:  Development/Languages/Ruby
+License:LGPL-2.1
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
@@ -38,11 +39,11 @@
 Url:http://en.opensuse.org/YaST
 Source: %{mod_name}-%{version}.gem
 Source1:macros.webyast
+Source2:   macros.webyast-PolicyKit
+Source3:   macros.webyast-polkit1
 
-Summary:Rake tasks shared by all WebYaST packages
-License:LGPL-2.1
-Group:  Development/Languages/Ruby
 
+Summary:Rake tasks shared by all WebYaST packages
 %description
 The original task package is renamed to package-local.
 The new task package includes the tasks git_check and syntax_check.
@@ -54,6 +55,12 @@
 mkdir -p $RPM_BUILD_ROOT/etc/rpm
 install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/etc/rpm
 
+%if 0%{?suse_version} == 0 || %suse_version  1110
+install -m 0644 %SOURCE3 $RPM_BUILD_ROOT/etc/rpm
+%else
+install -m 0644 %SOURCE2 $RPM_BUILD_ROOT/etc/rpm
+%endif
+
 %clean
 %{__rm} -rf %{buildroot}
 
@@ -63,6 +70,6 @@
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
 %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
 %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
-/etc/rpm/macros.webyast
+/etc/rpm/macros.webyast*
 
 %changelog

++ macros.webyast ++
--- /var/tmp/diff_new_pack.v0PP4A/_old  2012-04-18 16:30:46.0 +0200
+++ /var/tmp/diff_new_pack.v0PP4A/_new  2012-04-18 16:30:46.0 +0200
@@ -1,7 +1,7 @@
 #--
 # Webyast framework
 #
-# Copyright (C) 2009, 2010 Novell, Inc. 
+# Copyright (C) 2009, 2012 Novell, Inc. 
 #   This library is free software; you can redistribute it and/or modify
 # it only under the terms of version 2.1 of the GNU Lesser General Public
 # License as published by the Free Software Foundation. 
@@ -19,8 +19,7 @@
 #
 # common RPM macro definitions used by WebYaST
 #
-# macros %webyast_ are generic for both webservice and client
-#
+
 
 # target directories
 %webyast_dir /srv/www/webyast
@@ -34,17 +33,86 @@
 # service names (init script names in /etc/init.d)
 %webyast_service webyast
 
-# run the testsuite
-%webyast_check \
+# build REST documentation, move it to public/ in webyast-base, pre-gzip it 
(for nginx)
+# and remove the sources
+# usage: use in %install section, add target directory parameter
+# example: %webyast_build_restdoc public/my_module/restdoc
+%webyast_build_restdoc() \
+cd $RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name} \
+mkdir -p %1 \
 export RAILS_PARENT=%{webyast_dir} \
+cp %{webyast_dir}/Gemfile Gemfile.restility \
+echo 'gem 

commit rubygem-webyast-rake-tasks for openSUSE:Factory

2012-01-27 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-rake-tasks for 
openSUSE:Factory checked in at 2012-01-27 15:23:59

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new (New)


Package is rubygem-webyast-rake-tasks, Maintainer is sch...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks/rubygem-webyast-rake-tasks.changes
2011-10-18 14:39:01.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new/rubygem-webyast-rake-tasks.changes
   2012-01-27 15:24:01.0 +0100
@@ -1,0 +2,6 @@
+Mon Oct 24 14:22:06 UTC 2011 - sch...@suse.com
+
+- Merging client and service
+- 0.3.0 
+
+---

Old:

  webyast-rake-tasks-0.1.11.gem

New:

  webyast-rake-tasks-0.3.0.gem



Other differences:
--
++ rubygem-webyast-rake-tasks.spec ++
--- /var/tmp/diff_new_pack.1637p5/_old  2012-01-27 15:24:02.0 +0100
+++ /var/tmp/diff_new_pack.1637p5/_new  2012-01-27 15:24:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-webyast-rake-tasks
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,13 +15,11 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   rubygem-webyast-rake-tasks
-Provides:   rubygem-yast2-webservice-tasks = 0.1.11
-Obsoletes:  rubygem-yast2-webservice-tasks  0.1.11
-Version:0.1.11
+Provides:   rubygem-yast2-webservice-tasks = 0.3.0
+Obsoletes:  rubygem-yast2-webservice-tasks  0.3.0
+Version:0.3.0
 Release:0
 
 # Nope, doesn't work. Gems are installed below /usr/lib{64}
@@ -29,8 +27,6 @@
 
 %define mod_name webyast-rake-tasks
 #
-Group:  Development/Languages/Ruby
-License:LGPL-2.1
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
@@ -43,16 +39,16 @@
 Source: %{mod_name}-%{version}.gem
 Source1:macros.webyast
 
-Summary:Rake tasks shared by all YaST webservice packages
+Summary:Rake tasks shared by all WebYaST packages
+License:LGPL-2.1
+Group:  Development/Languages/Ruby
 
 %description
 The original task package is renamed to package-local.
 The new task package includes the tasks git_check and syntax_check.
 
 %prep
-
 %build
-
 %install
 %gem_install %{S:0}
 mkdir -p $RPM_BUILD_ROOT/etc/rpm

++ macros.webyast ++
--- /var/tmp/diff_new_pack.1637p5/_old  2012-01-27 15:24:03.0 +0100
+++ /var/tmp/diff_new_pack.1637p5/_new  2012-01-27 15:24:03.0 +0100
@@ -1,5 +1,5 @@
 #--
-# Webyast Webservice framework
+# Webyast framework
 #
 # Copyright (C) 2009, 2010 Novell, Inc. 
 #   This library is free software; you can redistribute it and/or modify
@@ -19,44 +19,32 @@
 #
 # common RPM macro definitions used by WebYaST
 #
-# macros %webyast_ws_* are for webyast-*-ws packages,
-# macros %webyast_ui_* are for webyast-*-ui packages,
 # macros %webyast_ are generic for both webservice and client
 #
 
 # target directories
-%webyast_ws_dir /srv/www/yastws
-%webyast_ui_dir /srv/www/yast
+%webyast_dir /srv/www/webyast
 
 # variable directories
-%webyast_ws_vardir /var/lib/yastws/
+%webyast_vardir /var/lib/webyast
 
 # users who run the services
-%webyast_ws_user yastws
-%webyast_ui_user nginx
+%webyast_user webyast
 
 # service names (init script names in /etc/init.d)
-%webyast_ws_service yastws
-%webyast_ui_service yastwc
+%webyast_service webyast
 
 # run the testsuite
 %webyast_check \
+export RAILS_PARENT=%{webyast_dir} \
 export TEST_DB_PATH=/tmp/webyast_test.sqlite3 \
 rm -rf $TEST_DB_PATH \
 RAILS_ENV=test rake db:create \
 RAILS_ENV=test rake db:schema:load \
 RAILS_ENV=test ADD_BUILD_PATH=1 rake test
 
-%webyast_ws_check \
-export RAILS_PARENT=%{webyast_ws_dir} \
-%webyast_check
-
-%webyast_ui_check \
-export RAILS_PARENT=%{webyast_ui_dir} \
-%webyast_check
-
 # build REST documentation
-%webyast_ws_restdoc \
-export RAILS_PARENT=%{webyast_ws_dir} \
+%webyast_restdoc \
+export RAILS_PARENT=%{webyast_dir} \
 env LANG=en rake restdoc
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-rake-tasks for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-rake-tasks for 
openSUSE:Factory checked in at 2011-12-06 19:01:24

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-rake-tasks (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-rake-tasks.new (New)


Package is rubygem-webyast-rake-tasks, Maintainer is sch...@suse.com

Changes:




Other differences:
--
++ rubygem-webyast-rake-tasks.spec ++
--- /var/tmp/diff_new_pack.GOhWy9/_old  2011-12-06 19:33:58.0 +0100
+++ /var/tmp/diff_new_pack.GOhWy9/_new  2011-12-06 19:33:58.0 +0100
@@ -30,7 +30,7 @@
 %define mod_name webyast-rake-tasks
 #
 Group:  Development/Languages/Ruby
-License:LGPLv2.1
+License:LGPL-2.1
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-rake-tasks for openSUSE:Factory

2011-10-18 Thread h_root

Hello community,

here is the log from the commit of package rubygem-webyast-rake-tasks for 
openSUSE:Factory
checked in at Tue Oct 18 14:29:28 CEST 2011.




--- 
openSUSE:Factory/rubygem-webyast-rake-tasks/rubygem-webyast-rake-tasks.changes  
2011-09-23 12:45:06.0 +0200
+++ 
/mounts/work_src_done/STABLE/rubygem-webyast-rake-tasks/rubygem-webyast-rake-tasks.changes
  2011-04-12 09:13:51.0 +0200
@@ -1,0 +2,5 @@
+Tue Apr 12 07:10:21 UTC 2011 - sch...@novell.com
+
+- 0.1.11 
+
+---

calling whatdependson for head-i586


Old:

  webyast-rake-tasks-0.1.10.gem

New:

  webyast-rake-tasks-0.1.11.gem



Other differences:
--
++ rubygem-webyast-rake-tasks.spec ++
--- /var/tmp/diff_new_pack.1ZxtKU/_old  2011-10-18 14:29:22.0 +0200
+++ /var/tmp/diff_new_pack.1ZxtKU/_new  2011-10-18 14:29:22.0 +0200
@@ -19,10 +19,10 @@
 
 
 Name:   rubygem-webyast-rake-tasks
-Provides:   rubygem-yast2-webservice-tasks = 0.1.10
-Obsoletes:  rubygem-yast2-webservice-tasks  0.1.10
-Version:0.1.10
-Release:1
+Provides:   rubygem-yast2-webservice-tasks = 0.1.11
+Obsoletes:  rubygem-yast2-webservice-tasks  0.1.11
+Version:0.1.11
+Release:0
 
 # Nope, doesn't work. Gems are installed below /usr/lib{64}
 # BuildArch:  noarch

continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org