diff --git a/bitcoinlib-0.6.9.tar.gz b/0.6.15.tar.gz similarity index 36% rename from bitcoinlib-0.6.9.tar.gz rename to 0.6.15.tar.gz index cc4bb881e7d1336a94c0b6e5dee699c6fe22a19c..432d464b5c2d4a7356cb998e943e50de00fc7cd4 100644 Binary files a/bitcoinlib-0.6.9.tar.gz and b/0.6.15.tar.gz differ diff --git a/python-bitcoinlib.spec b/python-bitcoinlib.spec index 93ab24a1baa5ffd8e7ec30818da3212b1fec1c0e..6d3bfbe34834dd9ebed2d7121ed035d7d3360649 100644 --- a/python-bitcoinlib.spec +++ b/python-bitcoinlib.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-bitcoinlib -Version: 0.6.9 +Version: 0.6.15 Release: 1 Summary: Bitcoin and Other cryptocurrency Library License: GPL-3.0-only URL: http://github.com/1200wd/bitcoinlib -Source0: https://files.pythonhosted.org/packages/bb/dd/ab543eedf5d0c30da5eb7bacb16f4416b33a180d347552fe5cb548914205/bitcoinlib-0.6.9.tar.gz +Source0: https://github.com/1200wd/bitcoinlib/archive/refs/tags/0.6.15.tar.gz BuildArch: noarch %description @@ -21,6 +21,7 @@ Summary: Bitcoin and Other cryptocurrency Library Provides: python-bitcoinlib = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip Requires: python3-sqlalchemy Requires: python3-pycryptodome Requires: python3-requests @@ -51,10 +52,10 @@ blockchain information. It does currently not parse the blockchain itself. %autosetup -n bitcoinlib-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -64,12 +65,6 @@ if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi @@ -85,12 +80,18 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-bitcoinlib -f filelist.lst -%dir %{python3_sitelib}/* +%{python3_sitelib}/* -%files help -f doclist.lst +%files help -f filelist.lst %{_docdir}/* %changelog +* Tue Jul 30 2024 dongqi - 0.6.15-1 +- Update package to version 0.6.15 + Use python 3.9 for windows unittests + Use witness version 8 for Litecoin addresses + Change setup to use old numpy version for python <3.9 + * Thu Mar 16 2023 wubijie - 0.6.9-1 - Update package to version 0.6.9