Hello community, here is the log from the commit of package openstack-macros for openSUSE:Factory checked in at 2013-01-12 07:48:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openstack-macros (Old) and /work/SRC/openSUSE:Factory/.openstack-macros.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openstack-macros", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2013-01-09 19:40:42.352580873 +0100 +++ /work/SRC/openSUSE:Factory/.openstack-macros.new/openstack-macros.changes 2013-01-12 07:48:56.000000000 +0100 @@ -0,0 +1,99 @@ +------------------------------------------------------------------- +Wed Dec 19 14:48:33 UTC 2012 - sasc...@suse.de + +- Add macro %openstack_sphinx_build_manpages_only to be used instead + of "setup.py build_sphinx", which is slow because OpenStack uses + sphinx.ext.autodoc to parse all docstrings. + +------------------------------------------------------------------- +Wed Dec 19 11:35:44 UTC 2012 - sasc...@suse.de + +- Drop setuptools-git build dependency everywhere, we now use + obs-service-git_tarballs and we don't need it anymore +- Bump version to 0.1.2, we collected enough changes + +------------------------------------------------------------------- +Tue Dec 4 16:09:37 UTC 2012 - sasc...@suse.de + +- Install README.rst for test packages. Some setup.py files read this + for the description and the setup.py file is read when unittests + are run with tox. +- Append "sitepackages = True" to the [testenv] section of the tox.ini + file to make sure the testsuite run uses system-installed packages + instead of downloading/creating everything in a virtual environment + +------------------------------------------------------------------- +Mon Nov 26 15:03:11 UTC 2012 - sasc...@suse.de + +- Don't fail if there's no doc/source/conf.py + +------------------------------------------------------------------- +Thu Nov 22 08:48:18 UTC 2012 - sasc...@suse.de + +- Install setup.cfg and setup.py in openstack_test_package_install: + + tox needs them to run + +------------------------------------------------------------------- +Wed Nov 21 12:57:40 UTC 2012 - sasc...@suse.de + +- Find test/ directory, the openstack-swift testsuite stores their + tests their (and not in 'tests') + +------------------------------------------------------------------- +Mon Nov 19 15:52:56 UTC 2012 - sasc...@suse.de + +- Find examples/ directory, the openstack-keystone testsuite loads + SSL certificates from there + +------------------------------------------------------------------- +Mon Nov 19 15:41:02 UTC 2012 - iartar...@suse.com + +- fix openstack_cleanup_prep shebang regexp to only match at start of + line + +------------------------------------------------------------------- +Mon Nov 19 09:06:57 UTC 2012 - sasc...@suse.de + +- Find tools/ directory in openstack_test_package_install, needed + for setting up virtual environments +- Find bin/ directory, some testsuites uses it (glance) + +------------------------------------------------------------------- +Fri Nov 16 09:10:08 UTC 2012 - sasc...@suse.de + +- Also find ./run_tests.py in openstack_test_package_install + +------------------------------------------------------------------- +Thu Nov 15 15:02:31 UTC 2012 - sasc...@suse.de + +- Add some swift specfic files to openstack_test_package_install + +------------------------------------------------------------------- +Thu Nov 15 14:42:28 UTC 2012 - sasc...@suse.de + +- Remove all she-bang lines in %{component}, not just Python ones +- Add a remark about the usefulness of openstack_apache_ssl_cert_requires +- Use seperate find calls in openstack_cleanup_prep the ", " syntax + doesn't really seem to work (contrary to the manpage) + +------------------------------------------------------------------- +Thu Nov 15 13:25:27 UTC 2012 - sasc...@suse.de + +- Fix quotation issue in openstack_cleanup_prep + +------------------------------------------------------------------- +Thu Nov 15 09:03:17 UTC 2012 - sasc...@suse.de + +- Added openstack_cleanup_prep macro +- BuildArch: noarch +- rpmlintrc for non-conffile-in-etc (false positive) + +------------------------------------------------------------------- +Mon Oct 22 15:34:20 UTC 2012 - sasc...@suse.de + +- Initial version, currently providing the following macros: + + openstack_test_package_install + + openstack_apache_ssl_cert_requires + + openstack_apache_ssl_cert_install + + openstack_apache_ssl_cert_post + + openstack_apache_ssl_cert_files New: ---- macros.openstack openstack-macros.changes openstack-macros.spec rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openstack-macros.spec ++++++ # # spec file for package openstack-macros # # 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 # 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-macros Version: 0.1.2 Release: 0 License: Apache-2.0 Summary: OpenStack macros for RPM Url: https://www.suse.com/products/suse-cloud/ Group: Development/Libraries/Python Source: macros.openstack BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description This package provides OpenStack RPM macros. You need it to build OpenStack packages. %prep cp %{SOURCE0} . %build %install install -D -m644 macros.openstack %{buildroot}%{_sysconfdir}/rpm/macros.openstack %files %defattr(-,root,root) %{_sysconfdir}/rpm/macros.openstack %changelog ++++++ macros.openstack ++++++ # Macros for building OpenStack RPMs. # # 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): %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 \ %nil # If you only want to build man-pages, this macro is better than # 'setup.py build_sphinx': it's slow and will generate errors. Instead, # directly call sphinx-build on a copy of the man pages sources (to # avoid having other docs to build) %openstack_sphinx_build_manpages_only() \ mkdir doc/source-man \ cp -a doc/source/{conf.py,man} doc/source-man/ \ sphinx-build -b man doc/source-man/ doc/build/man/ \ rm -r doc/source-man doc/build/man/.doctrees \ %nil # Installing a test package is always done the same way: %openstack_test_package_install() \ install -d -m 755 %{buildroot}%{_localstatedir}/lib/%{name}-test \ # Some packages differ here, try to install as much as possible: \ cp -av README.rst .*tests bin etc examples run_tests.* setup.cfg setup.py smoketests test tests tools tox.ini %{buildroot}%{_localstatedir}/lib/%{name}-test || : \ rm -rf %{buildroot}%{_localstatedir}/lib/%{name}-test/%{component} \ ln -s %{python_sitelib}/%{component} %{buildroot}%{_localstatedir}/lib/%{name}-test/%{component} \ %nil # To generate self-signed certificates to be used in (demo) setups # with Apache2, you can use the following set of macros: #NOTE: This one can't really be used in practice, the "build" script doesn't know this # macro, it would have to be put into the PrjConf, which doesn't seem worth it: %openstack_apache_ssl_cert_requires() \ Requires(post): apache2-utils \ Requires(post): openssl \ Requires(post): sysconfig \ %nil %openstack_apache_ssl_cert_install() \ install -d %{buildroot}%{_sysconfdir}/apache2/ssl.{crt,csr,key} \ install -d %{buildroot}/srv/www/htdocs \ touch %{buildroot}%{_sysconfdir}/apache2/ssl.key/%{name}-{ca,server}.key \ touch %{buildroot}%{_sysconfdir}/apache2/ssl.csr/%{name}-server.csr \ touch %{buildroot}%{_sysconfdir}/apache2/ssl.crt/%{name}-{ca,server}.crt \ %nil #TODO: Parameterize so that one can set a custom domain, etc. %openstack_apache_ssl_cert_post() \ if [ ! -s %{_sysconfdir}/apache2/ssl.csr/%{name}-server.csr ] ; then \ (umask 377 ; /usr/bin/gensslcert -C %{name} -n %{name}.example.com) \ fi \ %nil %openstack_apache_ssl_cert_files() \ %ghost %{_sysconfdir}/apache2/ssl.key/%{name}-*.key \ %ghost %{_sysconfdir}/apache2/ssl.csr/%{name}-server.csr \ %ghost %{_sysconfdir}/apache2/ssl.crt/%{name}-*.crt \ %nil ++++++ rpmlintrc ++++++ # RPM macro files are not configurable: addFilter("non-conffile-in-etc /etc/rpm/macros.openstack") -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org