forked from pool/python-pyglet
Accepting request 659588 from devel:languages:python
Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/request/show/659588 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyglet?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 4 12:52:16 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Remove superfluous devel dependency for noarch package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 14 13:35:30 UTC 2018 - toddrme2178@gmail.com
|
Thu Jun 14 13:35:30 UTC 2018 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@@ -23,13 +23,12 @@ Release: 0
|
|||||||
Summary: Windowing and multimedia library
|
Summary: Windowing and multimedia library
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://bitbucket.org/pyglet/pyglet
|
URL: https://bitbucket.org/pyglet/pyglet
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pyglet/pyglet-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/pyglet/pyglet-%{version}.tar.gz
|
||||||
Source1: %{name}-rpmlintrc
|
Source1: %{name}-rpmlintrc
|
||||||
# PATCH-FIX-OPENSUSE pyglet-1.2.4-fix-image-import.patch -- fix "import Image"
|
# PATCH-FIX-OPENSUSE pyglet-1.2.4-fix-image-import.patch -- fix "import Image"
|
||||||
Patch0: pyglet-1.2.4-fix-image-import.patch
|
Patch0: pyglet-1.2.4-fix-image-import.patch
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow}
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
@@ -38,6 +37,7 @@ BuildRequires: fontconfig-devel
|
|||||||
BuildRequires: freetype2-devel
|
BuildRequires: freetype2-devel
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: gtk2-devel
|
||||||
BuildRequires: openal-soft-devel
|
BuildRequires: openal-soft-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: pkgconfig(gl)
|
BuildRequires: pkgconfig(gl)
|
||||||
BuildRequires: pkgconfig(glu)
|
BuildRequires: pkgconfig(glu)
|
||||||
@@ -53,7 +53,6 @@ Requires: pkgconfig(gl)
|
|||||||
Requires: pkgconfig(glu)
|
Requires: pkgconfig(glu)
|
||||||
Requires: pkgconfig(x11)
|
Requires: pkgconfig(x11)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -76,15 +75,15 @@ find -name "*.py" -exec dos2unix "{}" "+"
|
|||||||
%python_install
|
%python_install
|
||||||
|
|
||||||
%{python_expand cp -Lr examples examples_%{$python_bin_suffix}
|
%{python_expand cp -Lr examples examples_%{$python_bin_suffix}
|
||||||
find examples_%{$python_bin_suffix} -name "*.py" -exec sed -i "s|^#!/usr/bin/python$|#!%{__$python}|" {} \;
|
find examples_%{$python_bin_suffix} -name "*.py" -exec sed -i "s|^#!%{_bindir}/python$|#!%{__$python}|" {} \;
|
||||||
find examples_%{$python_bin_suffix} -name "*.py" -exec sed -i "s|^#!/usr/bin/env python$|#!%{__$python}|" {} \;
|
find examples_%{$python_bin_suffix} -name "*.py" -exec sed -i "s|^#!%{_bindir}/env python$|#!%{__$python}|" {} \;
|
||||||
%fdupes examples_%{$python_bin_suffix}
|
%fdupes examples_%{$python_bin_suffix}
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
}
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc LICENSE NOTICE README RELEASE_NOTES
|
%doc NOTICE README RELEASE_NOTES
|
||||||
%doc examples_%{python_bin_suffix}
|
%doc examples_%{python_bin_suffix}
|
||||||
%{python_sitelib}/pyglet
|
%{python_sitelib}/pyglet
|
||||||
%{python_sitelib}/pyglet-%{version}-py*.egg-info
|
%{python_sitelib}/pyglet-%{version}-py*.egg-info
|
||||||
|
Reference in New Issue
Block a user