Hello community,
here is the log from the commit of package rubygem-text-hyphen for openSUSE:Factory checked in at 2015-08-31 22:59:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-text-hyphen (Old)
and /work/SRC/openSUSE:Factory/.rubygem-text-hyphen.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-text-hyphen"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-text-hyphen/rubygem-text-hyphen.changes 2013-07-02 07:44:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-text-hyphen.new/rubygem-text-hyphen.changes 2015-08-31 22:59:13.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Aug 28 19:06:48 UTC 2015 - jmassaguerpla(a)suse.com
+
+- update to new packaging scheme
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-text-hyphen.spec ++++++
--- /var/tmp/diff_new_pack.JP7OJV/_old 2015-08-31 22:59:14.000000000 +0200
+++ /var/tmp/diff_new_pack.JP7OJV/_new 2015-08-31 22:59:14.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-text-hyphen
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -21,14 +21,17 @@
Release: 0
%define mod_name text-hyphen
%define mod_full_name %{mod_name}-%{version}
-
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: ruby-macros >= 1
-BuildRequires: rubygem(rdoc) > 3.10
-Source: %{mod_full_name}.gem
+BuildRequires: %{rubygem gem2rpm}
+BuildRequires: %{rubygem rdoc > 3.10}
+BuildRequires: %{ruby}
+BuildRequires: ruby-macros >= 5
+BuildRequires: update-alternatives
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
Summary: Text::Hyphen is a Ruby library to hyphenate words in various
License: GPL-2.0+
Group: Development/Languages/Ruby
+PreReq: update-alternatives
%description
Text::Hyphen is a Ruby library to hyphenate words in various languages using
@@ -49,48 +52,16 @@
1.8 support is deprecated and I will not be providing any bug fixes related to
Ruby 1.8. New features will be developed and tested against Ruby 1.9 only.
-%package doc
-Summary: RDoc documentation for %{mod_name}
-Group: Development/Languages/Ruby
-Requires: %{name} = %{version}
-
-%description doc
-Documentation generated at gem installation time.
-Usually in RDoc and RI formats.
-
-%package testsuite
-Summary: Test suite for %{mod_name}
-Group: Development/Languages/Ruby
-Requires: %{name} = %{version}
-
-%description testsuite
-Test::Unit or RSpec files, useful for developers.
-
%prep
-%gem_unpack
-# Drop hyphen data due to insufficent licensing terms (bnc#827573):
-cat /dev/null >! lib/text/hyphen/language/{1.8,1.9}/{en_us,es,pt,hu1}.rb
-%gem_build
%build
%install
-%gem_install -f
+%gem_install \
+ --symlink-binaries \
+ --doc-files="History.rdoc License.rdoc README.rdoc" \
+ -f
-%files
-%defattr(-,root,root,-)
-%{_bindir}/ruby-hyphen
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
-
-%files testsuite
-%defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
+%gem_packages
%changelog
Hello community,
here is the log from the commit of package salt for openSUSE:Factory checked in at 2015-08-31 22:59:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/salt (Old)
and /work/SRC/openSUSE:Factory/.salt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "salt"
Changes:
--------
--- /work/SRC/openSUSE:Factory/salt/salt.changes 2015-08-05 06:50:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.salt.new/salt.changes 2015-08-31 22:59:07.000000000 +0200
@@ -1,0 +2,14 @@
+Tue Aug 18 06:58:18 UTC 2015 - aboe76(a)gmail.com
+
+- Updated to Bugfix release 2015.5
+
+ for more details:
+ https://github.com/saltstack/salt/blob/develop/doc/topics/releases/2015.5.5…
+
+- Add prereq, for user creation.
+- Add creation of salt user in preparation of running the salt-master daemon
+ as non-root user salt.
+ https://bugzilla.opensuse.org/show_bug.cgi?id=939831
+- Add README.SUSE with explanation and how to.
+
+-------------------------------------------------------------------
Old:
----
salt-2015.5.3.tar.gz
New:
----
README.SUSE
salt-2015.5.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ salt.spec ++++++
--- /var/tmp/diff_new_pack.x6aHKW/_old 2015-08-31 22:59:08.000000000 +0200
+++ /var/tmp/diff_new_pack.x6aHKW/_new 2015-08-31 22:59:08.000000000 +0200
@@ -17,14 +17,14 @@
Name: salt
-Version: 2015.5.3
+Version: 2015.5.5
Release: 0
Summary: A parallel remote execution system
License: Apache-2.0
Group: System/Monitoring
Url: http://saltstack.org/
Source0: http://pypi.python.org/packages/source/s/%{name}/%{name}-%{version}.tar.gz
-
+Source1: README.SUSE
# PATCH-FIX-OPENSUSE use-forking-daemon.patch tserong(a)suse.com -- We don't have python-systemd, so notify can't work
Patch1: use-forking-daemon.patch
@@ -77,6 +77,9 @@
Requires: python-yaml
Requires: python-zypp
Requires(pre): %fillup_prereq
+Requires(pre): %{_sbindir}/groupadd
+Requires(pre): %{_sbindir}/useradd
+Requires(pre): pwdutils
%if 0%{?suse_version} < 1210
Requires(pre): %insserv_prereq
%endif
@@ -239,6 +242,7 @@
%prep
%setup -q
+cp %{S:1} .
%patch1 -p1
%build
@@ -355,6 +359,8 @@
%endif
%pre master
+getent group salt >/dev/null || %{_sbindir}/groupadd -r salt
+getent passwd salt >/dev/null || %{_sbindir}/useradd -r -g salt -d /srv/salt -s /bin/false -c "salt-master daemon" salt
%if 0%{?_unitdir:1}
%service_add_pre salt-master.service
%endif
@@ -521,7 +527,7 @@
%config(noreplace) %{_sysconfdir}/logrotate.d/salt
%attr(755,root,root)%{python_sitelib}/salt/cloud/deploy/*.sh
%{python_sitelib}/*
-%doc LICENSE AUTHORS README.rst HACKING.rst
+%doc LICENSE AUTHORS README.rst HACKING.rst README.SUSE
%if %with_bashcomp
++++++ README.SUSE ++++++
Salt-master as non-root user
============================
With the latest version of the salt-master package a new user has been added.
The user salt be used in later versions as the default user for the salt-master daemon.
For now the default user for the salt-master daemon will be root.
Why an extra user
=================
While the current setup runs the master as root user, this is considered a security issue
and not in line with the other configuration management tools (eg. puppet) which runs as a
dedicated user.
How can I make the change
=========================
If you would like to make the change before you can do the following steps manually:
1. uncomment the user parameter in the master configuration
user: salt
2. update the file permissions:
as root: chown -R salt /etc/salt /var/cache/salt /var/log/salt /var/run/salt
3. restart the salt-master daemon:
as root: rcsalt-master restart or systemctl restart salt-master
NOTE
====
Running the salt-master daemon as a non-root user has some consequences, some salt operations
cannot be executed correctly when the master is not running as root, specifically the pam external
auth system, as this system needs root access to check authentication.
For more information:
http://docs.saltstack.com/en/latest/ref/configuration/nonroot.html++++++ salt-2015.5.3.tar.gz -> salt-2015.5.5.tar.gz ++++++
++++ 33744 lines of diff (skipped)