forked from pool/python-discid
Accepting request 406620 from home:jengelh:branches:devel:languages:python
- Request libdiscid0 since the code looks for exactly .so.0. - Remove redundant %clean section. OBS-URL: https://build.opensuse.org/request/show/406620 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-discid?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 4 22:03:10 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Request libdiscid0 since the code looks for exactly .so.0.
|
||||
- Remove redundant %clean section.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 27 15:23:00 UTC 2013 - Johannes Dewender <novell@JonnyJD.net>
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#
|
||||
# spec file for package python-discid
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 Johannes Dewender <novell@JonnyJD.net>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -11,25 +12,28 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
%define modname discid
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 1.0.2
|
||||
Release: 0
|
||||
Summary: Python binding of Libdiscid
|
||||
License: LGPL-3.0+
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://python-discid.readthedocs.org/
|
||||
Source: http://pypi.python.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
|
||||
Name: python-%{modname}
|
||||
Version: 1.0.2
|
||||
Release: 0
|
||||
Summary: Python binding of Libdiscid
|
||||
License: LGPL-3.0+
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://python-discid.readthedocs.org/
|
||||
Source: http://pypi.python.org/packages/source/d/%{modname}/%{modname}-%{version}.tar.gz
|
||||
# no automatic requires since libdiscid is not linked
|
||||
Requires: libdiscid >= 0.2.2
|
||||
BuildRequires: libdiscid >= 0.2.2
|
||||
BuildRequires: python-devel >= 2.6
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
Requires: libdiscid0 >= 0.2.2
|
||||
BuildRequires: libdiscid0 >= 0.2.2
|
||||
BuildRequires: python-devel >= 2.6
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Python-discid implements Python bindings for MusicBrainz Libdiscid.
|
||||
@@ -56,9 +60,6 @@ python setup.py build
|
||||
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
||||
chmod a-x examples.py
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitelib}/*
|
||||
|
||||
Reference in New Issue
Block a user