forked from pool/python-enzyme
Accepting request 477095 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/477095 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-enzyme?expand=0&rev=6
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
# remove warnings about modules not being executable
|
||||
addFilter("non-executable-script")
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 1 11:29:33 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Converted to single spec.
|
||||
- Dropped python-enzyme-rpmlintrc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 15 13:06:51 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-enzyme
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 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
|
||||
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-enzyme
|
||||
Version: 0.4.1
|
||||
Release: 0
|
||||
@@ -24,14 +25,13 @@ License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/Diaoul/enzyme
|
||||
Source0: https://pypi.python.org/packages/source/e/enzyme/enzyme-%{version}.tar.gz
|
||||
Source99: %{name}-rpmlintrc
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Enzyme is a Python module to parse video metadata.
|
||||
@@ -40,14 +40,16 @@ Enzyme is a Python module to parse video metadata.
|
||||
%setup -q -n enzyme-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root %{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc HISTORY.rst LICENSE README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/enzyme
|
||||
%{python_sitelib}/enzyme-%{version}-py%{py_ver}.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user