15
0
forked from pool/python-cogapp

Accepting request 653978 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/653978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cogapp?expand=0&rev=2
This commit is contained in:
2018-12-13 18:41:27 +00:00
committed by Git OBS Bridge
2 changed files with 14 additions and 12 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:46:44 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Fri Apr 14 22:54:18 UTC 2017 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cogapp
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@@ -12,7 +12,7 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,19 +24,16 @@ Release: 0
Summary: A code generator for executing Python snippets in source files
License: MIT
Group: Development/Languages/Python
Url: http://nedbatchelder.com/code/cog
URL: http://nedbatchelder.com/code/cog
Source: https://files.pythonhosted.org/packages/source/c/cogapp/cogapp-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(preun): update-alternatives
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module nose}
%endif
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires(post): update-alternatives
Requires(preun): update-alternatives
%python_subpackages
%description
@@ -67,8 +64,8 @@ mv %{buildroot}%{_bindir}/cog.py %{buildroot}%{_bindir}/cog
%python_uninstall_alternative cog
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.txt
%license LICENSE.txt
%doc README.txt
%python_alternative %{_bindir}/cog
%{python_sitelib}/*