commit openstack-suse for openSUSE:Factory

2015-08-27 Thread h_root
Hello community,

here is the log from the commit of package openstack-suse for openSUSE:Factory 
checked in at 2015-08-27 08:55:05

Comparing /work/SRC/openSUSE:Factory/openstack-suse (Old)
 and  /work/SRC/openSUSE:Factory/.openstack-suse.new (New)


Package is openstack-suse

Changes:

--- /work/SRC/openSUSE:Factory/openstack-suse/openstack-suse.changes
2014-04-09 19:09:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.openstack-suse.new/openstack-suse.changes   
2015-08-27 08:55:06.0 +0200
@@ -1,0 +2,38 @@
+Thu Jul 30 09:38:55 UTC 2015 - tbecht...@suse.com
+
+- Add %python2_sitelib and %python2_sitearch macros
+  to me more compatible with other distros
+- Remove removal of requirements.txt . This is not needed for C:O:M
+  because there are no upper caps.
+
+---
+Fri Jul 24 11:02:18 UTC 2015 - seife+...@b1-systems.com
+
+- fix suse_version macro usage
+
+---
+Fri Jun 12 14:44:44 UTC 2015 - dmuel...@suse.com
+
+- add a __python2 macro
+
+---
+Tue Apr 28 20:23:49 UTC 2015 - dmuel...@suse.com
+
+- bump version to 2015.2
+
+---
+Sat Sep 27 15:49:47 UTC 2014 - dmuel...@suse.com
+
+- bump version to 2015.1 
+
+---
+Thu Aug 28 11:06:19 UTC 2014 - dmuel...@suse.com
+
+- make warnings on doc builds non-fatal 
+
+---
+Thu Apr  3 16:58:10 UTC 2014 - dmuel...@suse.com
+
+- bump version to 2014.2 
+
+---



Other differences:
--
++ openstack-suse.spec ++
--- /var/tmp/diff_new_pack.HzrYA6/_old  2015-08-27 08:55:07.0 +0200
+++ /var/tmp/diff_new_pack.HzrYA6/_new  2015-08-27 08:55:07.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package openstack-suse
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   openstack-suse
-Version:2014.1
+Version:2015.2
 Release:0
 Summary:OpenStack SUSE
 License:Apache-2.0
@@ -25,6 +25,7 @@
 Url:https://www.suse.com/products/suse-cloud/
 Source1:macros.openstack
 Source2:openstack-skeleton.init
+Source99:   rpmlintrc
 Requires:   %{name}-sudo = %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
@@ -77,6 +78,14 @@
 install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.openstack
 install -D -m755 %{SOURCE2} %{buildroot}%{_initddir}/openstack-skeleton
 
+# compatibility macros for upstream packaging
+%if 0%{?suse_version}  1330
+cat -  %{buildroot}%{_sysconfdir}/rpm/macros.openstack EOF
+%%__python2 /usr/bin/python2
+%%python2_sitelib  %%python_sitelib
+EOF
+%endif
+
 # Sudo sub-package, SLES sudo doesn't own /etc/sudoers.d, openSUSE-12.2 and 
later does:
 %if 0%{?suse_version}  0%{?suse_version} = 1110
 install -d %{buildroot}%{_sysconfdir}/sudoers.d

++ macros.openstack ++
--- /var/tmp/diff_new_pack.HzrYA6/_old  2015-08-27 08:55:07.0 +0200
+++ /var/tmp/diff_new_pack.HzrYA6/_new  2015-08-27 08:55:07.0 +0200
@@ -2,6 +2,11 @@
 #
 # Copyright: (c) 2012 SUSE Linux Products GmbH
 
+# python specific macros to be compatible with other distros to share OpenStack
+# upstream packaging
+%python2_sitelib %(%{__python2} -c from distutils.sysconfig import 
get_python_lib; print(get_python_lib()))
+%python2_sitearch %(%{__python2} -c from distutils.sysconfig import 
get_python_lib; print(get_python_lib(1)))
+
 # Cleanup unnecessary files, avoid usage of 'git' to generate timestamps and
 # do not use intersphinx module as it requires internet access:
 %openstack_cleanup_prep() \
@@ -10,11 +15,12 @@
 sed -i -e s|html_last_updated_fmt = .*|html_last_updated_fmt = '%{version}'| 
doc/source/conf.py || : \
 sed -i -e s|'sphinx.ext.intersphinx',\\?|| doc/source/conf.py || : \
 sed -i -e /^\\[testenv\\]/ a\\sitepackages = True tox.ini \
+# We don't want the build to fail in man-page builds \
+sed -i -e s|warnerrors = .*|| setup.cfg \
 # We use obs-service-git_tarballs, thus we don't need to depend on 
python-setuptools-git: \
 sed -i -e s|'setuptools[-_]git.*'|| setup.py \
 %nil
 
-
 # If you only want to build man-pages, this macro is better than
 # 'setup.py build_sphinx': it's 

commit openstack-suse for openSUSE:Factory

2014-04-09 Thread h_root
Hello community,

here is the log from the commit of package openstack-suse for openSUSE:Factory 
checked in at 2014-04-09 19:09:34

Comparing /work/SRC/openSUSE:Factory/openstack-suse (Old)
 and  /work/SRC/openSUSE:Factory/.openstack-suse.new (New)


Package is openstack-suse

Changes:

--- /work/SRC/openSUSE:Factory/openstack-suse/openstack-suse.changes
2014-01-23 15:50:45.0 +0100
+++ /work/SRC/openSUSE:Factory/.openstack-suse.new/openstack-suse.changes   
2014-04-09 19:09:35.0 +0200
@@ -1,0 +2,26 @@
+Wed Apr  2 13:22:52 UTC 2014 - dmuel...@suse.com
+
+- remove yet another case of magic sed'ing that breaks OpenStack (bnc#871199) 
+
+---
+Mon Mar 24 10:50:02 UTC 2014 - dmuel...@suse.com
+
+- add optional support for -u, -g and -s in creating openstack users 
+
+---
+Wed Feb 19 16:00:15 UTC 2014 - dmuel...@suse.com
+
+- add macro for creating openstack users (and removing the non-prefixed
+  variants)
+
+---
+Thu Feb  6 16:34:52 UTC 2014 - dmuel...@suse.com
+
+- raise version to 2014.1 
+
+---
+Tue Feb  4 16:28:46 UTC 2014 - speili...@suse.com
+
+- Drop eventlet_backdoor.py and it's sole usage in oslo-incubator code 
(bnc#847189#c9)
+
+---



Other differences:
--
++ openstack-suse.spec ++
--- /var/tmp/diff_new_pack.bANMir/_old  2014-04-09 19:09:36.0 +0200
+++ /var/tmp/diff_new_pack.bANMir/_new  2014-04-09 19:09:36.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   openstack-suse
-Version:2013.2
+Version:2014.1
 Release:0
 Summary:OpenStack SUSE
 License:Apache-2.0

++ macros.openstack ++
--- /var/tmp/diff_new_pack.bANMir/_old  2014-04-09 19:09:36.0 +0200
+++ /var/tmp/diff_new_pack.bANMir/_new  2014-04-09 19:09:36.0 +0200
@@ -3,14 +3,12 @@
 # Copyright: (c) 2012 SUSE Linux Products GmbH
 
 # Cleanup unnecessary files, avoid usage of 'git' to generate timestamps and
-# do not use intersphinx module, it requires internet access and fix 
-# non-executable scripts in Python module paths (sitelib/sitearch):
+# do not use intersphinx module as it requires internet access:
 %openstack_cleanup_prep() \
 find . -name *.placeholder -delete -print \
 find . -name *.git* -delete -print \
 sed -i -e s|html_last_updated_fmt = .*|html_last_updated_fmt = '%{version}'| 
doc/source/conf.py || : \
 sed -i -e s|'sphinx.ext.intersphinx',\\?|| doc/source/conf.py || : \
-find %{component} -type f -exec sed -i s|^#!.*|| {} \\; \
 sed -i -e /^\\[testenv\\]/ a\\sitepackages = True tox.ini \
 # We use obs-service-git_tarballs, thus we don't need to depend on 
python-setuptools-git: \
 sed -i -e s|'setuptools[-_]git.*'|| setup.py \
@@ -28,6 +26,35 @@
 rm -r doc/source-man doc/build/man/.doctrees \
 %nil
 
+# Create given user with given group (to be used as %pre scriptlet for
+# openstack related daemons). Also migrates away from openstack- prefixed
+# users/group if it exists
+# Optional:
+#   -u userid to pick
+#   -g groupid to pick
+#   -s shell to pick
+# Example: openstack_pre_user_group_create keystone keystone
+
+%openstack_pre_user_group_create(u:g:s:) \
+# Migrate away from old openstack- prefix \
+oldu=$(getent passwd openstack-%1 |cut -d: -f3) || : \
+[ -n $oldu ]  { \
+oldu=-o -u $oldu   \
+userdel openstack-%1  \
+} \
+getent group %2 /dev/null || { \
+# Migrate away from old openstack- prefix \
+oldg=$(getent group openstack-%2 |cut -d: -f3) || : \
+[ -n $oldg ]  oldg=-o -g $oldg \
+[ -n $oldg ]  groupdel openstack-%2 || : \
+[ -z $oldg ]  oldg=%{-g:-g %{-g*}} \
+groupadd -r %2 $oldg \
+} \
+[ -z $oldu ]  oldu=%{-u:-u %{-u*}} \
+getent passwd %1 /dev/null || { \
+useradd -r -g %2 $oldu -d %{_localstatedir}/lib/%1 %{-s:-s 
%{-s*}}%{!-s: -s /sbin/nologin} -c OpenStack %1 Daemon %1 \
+} \
+%nil
 
 # Installing init scripts is always done the same way. Arguments:
 #  1) daemon name (lowercase, e.g. 'api' for 'nova-api')
@@ -46,15 +73,21 @@
 ln -s ../..%{_initddir}/openstack-%{component}-%1 
%{buildroot}%{_sbindir}/rcopenstack-%{component}-%1 \
 %nil
 
+
 %openstack_test_package_buildroot_dir 
%{buildroot}%{_localstatedir}/lib/%{name}-test
 
 # Installing a test package is always done the same way:
 %openstack_test_package_install() \
-install -d -m 755 %{buildroot}%{_localstatedir}/lib/%{name}-test \
+install -d -m 755 

commit openstack-suse for openSUSE:Factory

2014-01-23 Thread h_root
Hello community,

here is the log from the commit of package openstack-suse for openSUSE:Factory 
checked in at 2014-01-20 07:52:16

Comparing /work/SRC/openSUSE:Factory/openstack-suse (Old)
 and  /work/SRC/openSUSE:Factory/.openstack-suse.new (New)


Package is openstack-suse

Changes:

--- /work/SRC/openSUSE:Factory/openstack-suse/openstack-suse.changes
2013-07-10 23:25:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.openstack-suse.new/openstack-suse.changes   
2014-01-23 15:50:45.0 +0100
@@ -1,0 +2,5 @@
+Tue Oct 29 16:15:27 GMT 2013 - aspi...@suse.com
+
+- Add %openstack_test_package_buildroot_dir to avoid duplication.
+
+---



Other differences:
--
++ openstack-suse.spec ++
--- /var/tmp/diff_new_pack.1gM7p8/_old  2014-01-23 15:50:46.0 +0100
+++ /var/tmp/diff_new_pack.1gM7p8/_new  2014-01-23 15:50:46.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openstack-suse
 #
-# Copyright (c) 2013 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

++ macros.openstack ++
--- /var/tmp/diff_new_pack.1gM7p8/_old  2014-01-23 15:50:46.0 +0100
+++ /var/tmp/diff_new_pack.1gM7p8/_new  2014-01-23 15:50:46.0 +0100
@@ -46,6 +46,7 @@
 ln -s ../..%{_initddir}/openstack-%{component}-%1 
%{buildroot}%{_sbindir}/rcopenstack-%{component}-%1 \
 %nil
 
+%openstack_test_package_buildroot_dir 
%{buildroot}%{_localstatedir}/lib/%{name}-test
 
 # Installing a test package is always done the same way:
 %openstack_test_package_install() \

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



commit openstack-suse for openSUSE:Factory

2013-07-10 Thread h_root
Hello community,

here is the log from the commit of package openstack-suse for openSUSE:Factory 
checked in at 2013-07-10 23:25:09

Comparing /work/SRC/openSUSE:Factory/openstack-suse (Old)
 and  /work/SRC/openSUSE:Factory/.openstack-suse.new (New)


Package is openstack-suse

Changes:

--- /work/SRC/openSUSE:Factory/openstack-suse/openstack-suse.changes
2013-06-13 17:28:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.openstack-suse.new/openstack-suse.changes   
2013-07-10 23:25:10.0 +0200
@@ -2 +2,6 @@
-Tue Apr 30 17:28:44 UTC 2013 - dmuel...@suse.com
+Wed May 29 11:20:30 UTC 2013 - dmuel...@suse.com
+
+- remove setBadness call from rpmlintrc
+
+---
+Tue Apr 30 17:29:15 UTC 2013 - dmuel...@suse.com



Other differences:
--
++ openstack-suse.spec ++
--- /var/tmp/diff_new_pack.hf96yk/_old  2013-07-10 23:25:11.0 +0200
+++ /var/tmp/diff_new_pack.hf96yk/_new  2013-07-10 23:25:11.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   openstack-suse
-Version:2013.1
+Version:2013.2
 Release:0
 Summary:OpenStack SUSE
 License:Apache-2.0

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



commit openstack-suse for openSUSE:Factory

2013-06-13 Thread h_root
Hello community,

here is the log from the commit of package openstack-suse for openSUSE:Factory 
checked in at 2013-06-13 17:28:01

Comparing /work/SRC/openSUSE:Factory/openstack-suse (Old)
 and  /work/SRC/openSUSE:Factory/.openstack-suse.new (New)


Package is openstack-suse

Changes:

--- /work/SRC/openSUSE:Factory/openstack-suse/openstack-suse.changes
2013-04-29 14:13:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.openstack-suse.new/openstack-suse.changes   
2013-06-13 17:28:02.0 +0200
@@ -1,0 +2,5 @@
+Tue Apr 30 17:28:44 UTC 2013 - dmuel...@suse.com
+
+- fix typo in version number 
+
+---



Other differences:
--
++ openstack-suse.spec ++
--- /var/tmp/diff_new_pack.Yx9lOB/_old  2013-06-13 17:28:03.0 +0200
+++ /var/tmp/diff_new_pack.Yx9lOB/_new  2013-06-13 17:28:03.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   openstack-suse
-Version:2013.11
+Version:2013.1
 Release:0
 Summary:OpenStack SUSE
 License:Apache-2.0

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



commit openstack-suse for openSUSE:Factory

2013-04-29 Thread h_root
Hello community,

here is the log from the commit of package openstack-suse for openSUSE:Factory 
checked in at 2013-04-29 14:13:57

Comparing /work/SRC/openSUSE:Factory/openstack-suse (Old)
 and  /work/SRC/openSUSE:Factory/.openstack-suse.new (New)


Package is openstack-suse, Maintainer is 

Changes:

New Changes file:

--- /dev/null   2013-04-05 00:01:41.916011506 +0200
+++ /work/SRC/openSUSE:Factory/.openstack-suse.new/openstack-suse.changes   
2013-04-29 14:13:58.0 +0200
@@ -0,0 +1,33 @@
+---
+Mon Mar 18 18:35:36 UTC 2013 - dmuel...@suse.com
+
+- copy PKG-INFO as well for nova testsuite 
+
+---
+Mon Feb 25 13:00:25 UTC 2013 - sasc...@suse.de
+
+- Expand openstack_test_package_install macro to include horizon-specific
+  files
+
+---
+Fri Feb 22 10:14:46 UTC 2013 - sasc...@suse.de
+
+- Renamed to openstack-suse to avoid confusion with upstream openstack-common
+
+---
+Fri Jan 25 10:48:00 UTC 2013 - sasc...@suse.de
+
+- (Build)Require sudo in the openstack-commons-sudo package
+- Only create /etc/sudoers.d on SLE_11_SP2
+
+---
+Fri Jan 25 07:45:53 UTC 2013 - sasc...@suse.de
+
+- Install /etc/sudoers.d on SLE
+- Added rpmlintrc
+
+---
+Thu Jan 24 16:41:47 UTC 2013 - sasc...@suse.de
+
+- Initial version
+

New:

  macros.openstack
  openstack-skeleton.init
  openstack-suse.changes
  openstack-suse.spec
  rpmlintrc



Other differences:
--
++ openstack-suse.spec ++
#
# spec file for package openstack-suse
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   openstack-suse
Version:2013.11
Release:0
Summary:OpenStack SUSE
License:Apache-2.0
Group:  Development/Libraries/Python
Url:https://www.suse.com/products/suse-cloud/
Source1:macros.openstack
Source2:openstack-skeleton.init
Requires:   %{name}-sudo = %{version}
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildArch:  noarch
Requires:   openstack-suse-macros = %{version}
Requires:   openstack-suse-sudo = %{version}
#NOTE(saschpe): We don't provide openstack-common here to not
#   collide with upstream, sorry:
#Provides:   openstack-common = %%{version}
#Obsoletes:  openstack-common  %%{version}

%description
This packages pulls in various other utility packages that are mainly useful
for OpenStack packaging. Some are even only used at build-time.

%package macros
Summary:OpenStack SUSE - RPM Macros
Group:  Development/Libraries/Python
Provides:   openstack-macros = %{version}
Obsoletes:  openstack-macros  %{version}
Provides:   openstack-common-macros = %{version}
Obsoletes:  openstack-common-macros  %{version}

%description macros
This package provides OpenStack RPM macros. You need it to build OpenStack
packages.

%package sudo
Summary:OpenStack SUSE - Sudo Support
Group:  Development/Libraries/Python
# For directory ownership:
BuildRequires:  sudo
Requires:   sudo
Provides:   openstack-common-sudo = %{version}
Obsoletes:  openstack-common-sudo  %{version}

%description sudo
OpenStack packages install sudo configuration files for rootwrap binaries
in /etc/sudoers.d. This directory is disabled by default, thus this package
enables it in /etc/sudoers.

%prep

%build

%install
# Make the base package non-empty for now:
echo OpenStack SUSE  README

# Macros sub-package
install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.openstack
install -D -m755 %{SOURCE2} %{buildroot}%{_initddir}/openstack-skeleton

# Sudo sub-package, SLES sudo doesn't own /etc/sudoers.d, openSUSE-12.2 and 
later does:
%if 0%{?suse_version}  0%{?suse_version} = 1110
install -d %{buildroot}%{_sysconfdir}/sudoers.d
%endif