diff --git a/pkgconfig-1.5.1-gh.tar.gz b/pkgconfig-1.5.1-gh.tar.gz new file mode 100644 index 0000000..b7d5a52 --- /dev/null +++ b/pkgconfig-1.5.1-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88d9ef0c4fee5f760b9ab500d94ef363644340e09f66481e36eb9275fce7a2f9 +size 7000 diff --git a/pkgconfig-1.5.1.tar.gz b/pkgconfig-1.5.1.tar.gz index b7d5a52..8df65d8 100644 --- a/pkgconfig-1.5.1.tar.gz +++ b/pkgconfig-1.5.1.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:88d9ef0c4fee5f760b9ab500d94ef363644340e09f66481e36eb9275fce7a2f9 -size 7000 +oid sha256:97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f +size 5611 diff --git a/python-pkgconfig.changes b/python-pkgconfig.changes index b891836..c4de7c7 100644 --- a/python-pkgconfig.changes +++ b/python-pkgconfig.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 27 11:48:14 UTC 2020 - Benjamin Greiner + +- Kill dephell dependency by using released sdist setup.py but + get testfile and data from Github + ------------------------------------------------------------------- Sun Aug 16 02:31:58 UTC 2020 - John Vandenberg diff --git a/python-pkgconfig.spec b/python-pkgconfig.spec index 2749a9b..01ac97e 100644 --- a/python-pkgconfig.spec +++ b/python-pkgconfig.spec @@ -24,13 +24,15 @@ Summary: Interface Python with pkg-config License: MIT Group: Development/Languages/Python URL: https://github.com/matze/pkgconfig -Source: https://github.com/matze/pkgconfig/archive/v%{version}.tar.gz#/pkgconfig-%{version}.tar.gz +# PyPI sdist has generated setup.py .. +Source0: https://files.pythonhosted.org/packages/source/p/pkgconfig/pkgconfig-%{version}.tar.gz +# .. get the tests from github +Source1: https://github.com/matze/pkgconfig/archive/v%{version}.tar.gz#/pkgconfig-%{version}-gh.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: openssl-devel BuildRequires: pkgconfig -BuildRequires: python-dephell-rpm-macros BuildRequires: python-rpm-macros Requires: pkgconfig BuildArch: noarch @@ -38,11 +40,11 @@ BuildArch: noarch %description A Python module to interface with the pkg-config -command line tool and supports Python 2.6+. +command line tool %prep %setup -q -n pkgconfig-%{version} -%dephell_gensetup +(cd ..; tar xf %{SOURCE1} pkgconfig-%{version}/{test_pkgconfig.py,data}) %build %python_build @@ -57,6 +59,7 @@ command line tool and supports Python 2.6+. %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/pkgconfig +%{python_sitelib}/pkgconfig-%{version}*-info %changelog