diff --git a/cocotb-1.6.2.tar.gz b/cocotb-1.6.2.tar.gz deleted file mode 100644 index 484f863fb6a86dfa49174b41e6d5eb1efd7f5fb3..0000000000000000000000000000000000000000 Binary files a/cocotb-1.6.2.tar.gz and /dev/null differ diff --git a/cocotb-1.7.2.tar.gz b/cocotb-1.7.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..dc2a1d593380fa4af466ad9a6cee84db223eb811 Binary files /dev/null and b/cocotb-1.7.2.tar.gz differ diff --git a/python-cocotb.spec b/python-cocotb.spec index 26f046c565ff37c7f2d277fde856deda7e6ace49..7e158519ad6ef7b6ee58cdbcfe9c8873b2eb3ea2 100644 --- a/python-cocotb.spec +++ b/python-cocotb.spec @@ -1,19 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-cocotb -Version: 1.6.2 +Version: 1.7.2 Release: 1 Summary: cocotb is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python. License: BSD -URL: https://docs.cocotb.org -Source0: https://files.pythonhosted.org/packages/14/be/8d10d7204e8f02ae45bd37a65b5ba0450806c1e1937b4cb6272567499dd0/cocotb-1.6.2.tar.gz - -BuildRequires: python3-devel -BuildRequires: python3dist(setuptools) -BuildRequires: python3dist(setuptools-scm) -BuildRequires: python3dist(pytest) -BuildRequires: gcc, gcc-c++, make - -ExcludeArch: s390x +URL: https://www.cocotb.org +Source0: https://files.pythonhosted.org/packages/55/d5/bc9081157720375d81977d4f69df94a4b4ff81163513b4bb57e28b232439/cocotb-1.7.2.tar.gz +BuildArch: noarch %description @@ -21,13 +14,17 @@ cocotb is a coroutine based cosimulation library for writing VHDL and Verilog te %package -n python3-cocotb Summary: cocotb is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python. -Provides: python-cocotb +Provides: python-cocotb = %{version}-%{release} +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(setuptools-scm) +BuildRequires: python3dist(pytest) +BuildRequires: gcc, gcc-c++, make BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-cocotb cocotb is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python. - %package help Summary: Development documents and examples for cocotb Provides: python3-cocotb-doc @@ -35,7 +32,7 @@ Provides: python3-cocotb-doc cocotb is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python. %prep -%autosetup -n cocotb-1.6.2 +%autosetup -n cocotb-%{version} %build %py3_build @@ -49,7 +46,7 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + 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 @@ -69,10 +66,14 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-cocotb -f filelist.lst +%dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog +* Mon Jan 09 2023 jiangxinyu - 1.7.2-1 +- Update package to version 1.7.2 + * Wed Jul 13 2022 wanglianguo - 1.6.2-1 - Package Spec generated