Hello community, here is the log from the commit of package python-pygame for openSUSE:Factory checked in at 2014-10-20 07:27:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pygame (Old) and /work/SRC/openSUSE:Factory/.python-pygame.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pygame" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pygame/python-pygame.changes 2011-09-23 12:43:09.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-pygame.new/python-pygame.changes 2014-10-20 07:27:18.000000000 +0200 @@ -1,0 +2,12 @@ +Sun Oct 12 09:49:51 UTC 2014 - mailaender@opensuse.org + +- fixed rpmlint error devel-file-in-non-devel-package +- patch1 could need a tag +- fixed rpmlint warning self-obsoletion pygame-doc +- ignore missing executable flags in the -docs package +- added missing build requires for portmidi +- fixed rpmlint warning files-duplicate with fdupes +- added rpmlintrc to whitelist the warnings about sample code +- avoid redundancy in the %description + +------------------------------------------------------------------- New: ---- python-pygame.rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pygame.spec ++++++ --- /var/tmp/diff_new_pack.XwWD37/_old 2014-10-20 07:27:18.000000000 +0200 +++ /var/tmp/diff_new_pack.XwWD37/_new 2014-10-20 07:27:18.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pygame # -# Copyright (c) 2011 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 @@ -16,12 +16,13 @@ # - Name: python-pygame Version: 1.9.1 -Release: 5 +Release: 0 Source: http://pygame.org/ftp/pygame-%{version}release.tar.gz Source1: README.SUSE +Source2: python-pygame.rpmlintrc +# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: pygame-v4l-2.6.38.patch Summary: A Python Module for Interfacing with the SDL Multimedia Library License: LGPL-2.1+ @@ -33,6 +34,7 @@ BuildRequires: SDL_image-devel BuildRequires: SDL_mixer-devel BuildRequires: SDL_ttf-devel +BuildRequires: fdupes BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: python-devel @@ -45,6 +47,9 @@ %if 0%{?suse_version} >= 1210 BuildRequires: libv4l-devel >= 0.8.4 %endif +%if 0%{?suse_version} >= 1320 +BuildRequires: portmidi-devel +%endif %{py_requires} %description @@ -56,20 +61,22 @@ wrapper project, written by Mark Baker. %package doc -License: LGPL-2.1+ Summary: Pygame documentation and example programs Group: Development/Libraries/Python -Provides: pygame-doc -Obsoletes: pygame-doc +Provides: pygame-doc > 1.5.5 +Obsoletes: pygame-doc <= 1.5.5 Requires: python-pygame = %{version} %description doc -Pygame is a Python wrapper module for the SDL multimedia library. It -contains python functions and classes that will allow you to use SDL's -support for playing cdroms, audio and video output, and keyboard, mouse -and joystick input. pygame also includes support for the Numerical -Python extension. pygame is the successor to the pySDL wrapper project, -written by Mark Baker. +This package contains documentation and example programs for Pygame. + +%package devel +Summary: Pygame development package +Group: Development/Libraries/Python +Requires: python-pygame = %{version} + +%description devel +This package contains the header files for developers of Pygame. %prep %setup -q -n pygame-%{version}release @@ -83,25 +90,29 @@ python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} #install doc -install -d $RPM_BUILD_ROOT%{_docdir}/python-pygame -install -m 644 WHATSNEW README.txt %{SOURCE1} $RPM_BUILD_ROOT%{_docdir}/python-pygame -cp -r docs/ examples/ $RPM_BUILD_ROOT%{_docdir}/python-pygame +install -d %{buildroot}%{_docdir}/python-pygame +install -m 644 WHATSNEW README.txt %{SOURCE1} %{buildroot}%{_docdir}/python-pygame +cp -r docs/ examples/ %{buildroot}%{_docdir}/python-pygame -%clean -rm -rf $RPM_BUILD_ROOT +%fdupes -s %{buildroot}%{_prefix} -%files -f INSTALLED_FILES +%files %defattr(644,root,root,755) %doc %dir %{_docdir}/python-pygame %doc %{_docdir}/python-pygame/WHATSNEW %doc %{_docdir}/python-pygame/README.txt %doc %{_docdir}/python-pygame/README.SUSE +%{python_sitearch}/* %files doc %defattr(644,root,root,755) %doc %{_docdir}/python-pygame/docs %doc %{_docdir}/python-pygame/examples +%files devel +%defattr(644,root,root,755) +%{py_incdir}/pygame/ + %changelog ++++++ python-pygame.rpmlintrc ++++++ addFilter("/site-packages/pygame/examples/") addFilter("/site-packages/pygame/tests/")-- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org