forked from pool/python-fastimport
- Switch to singlespec
- Version update to 0.9.8: * Support py3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fastimport?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
f27eb3fa0a
commit
fb92d5ec55
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 23 09:48:00 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Switch to singlespec
|
||||
- Version update to 0.9.8:
|
||||
* Support py3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 5 08:59:16 UTC 2015 - benoit.monin@gmx.fr
|
||||
|
||||
|
||||
+23
-18
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-fastimport
|
||||
#
|
||||
# Copyright (c) 2015 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
|
||||
@@ -16,22 +16,20 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-fastimport
|
||||
Version: 0.9.4
|
||||
Version: 0.9.8
|
||||
Release: 0
|
||||
Summary: Fastimport parser in Python
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Libraries/Python
|
||||
Url: http://launchpad.net/python-fastimport
|
||||
Source: https://pypi.python.org/packages/source/f/fastimport/fastimport-%version.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%py_requires
|
||||
%else
|
||||
URL: https://github.com/jelmer/python-fastimport
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fastimport/fastimport-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This is the Python parser that was originally developed for
|
||||
@@ -44,14 +42,21 @@ git-remote-hg use a slightly modified version of it.
|
||||
%setup -q -n fastimport-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build;
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix="%_prefix" --root="%buildroot";
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%python_sitelib/fastimport
|
||||
%python_sitelib/fastimport*egg-info
|
||||
%check
|
||||
%python_exec -m unittest fastimport.tests.test_suite
|
||||
|
||||
%files %{python_files}
|
||||
%doc NEWS README.md
|
||||
%license COPYING
|
||||
%{python_sitelib}/fastimport*
|
||||
%python3_only %{_bindir}/fast-import-filter
|
||||
%python3_only %{_bindir}/fast-import-info
|
||||
%python3_only %{_bindir}/fast-import-query
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ad0804025ed67bde2e1250299af645197cc3a8785baf4d02cba95f2f4a391d4d
|
||||
size 24553
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b2f2e8eb97000256e1aab83d2a0a053fc7b93c3aa4f7e9b971a5703dfc5963b9
|
||||
size 39512
|
||||
Reference in New Issue
Block a user