%global _empty_manifest_terminate_build 0 Name: python-mozregression Version: 5.3.2 Release: 1 Summary: Regression range finder for Mozilla nightly builds License: MPL 2.0 URL: http://github.com/mozilla/mozregression Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bd/1b/dcb81fe64e6d728323493b993c0ed088a75238f99239cfeed9309927ff76/mozregression-5.3.2.tar.gz BuildArch: noarch Requires: python3-glean-sdk Requires: python3-beautifulsoup4 Requires: python3-colorama Requires: python3-configobj Requires: python3-mozdevice Requires: python3-mozfile Requires: python3-mozinfo Requires: python3-mozinstall Requires: python3-mozlog Requires: python3-mozprocess Requires: python3-mozprofile Requires: python3-mozrunner Requires: python3-mozversion Requires: python3-redo Requires: python3-requests Requires: python3-taskcluster %description Regression range finder for Mozilla nightly builds. For more information see the mozregression website: http://mozilla.github.io/mozregression/ %package -n python3-mozregression Summary: Regression range finder for Mozilla nightly builds Provides: python-mozregression BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-mozregression Regression range finder for Mozilla nightly builds. For more information see the mozregression website: http://mozilla.github.io/mozregression/ %package help Summary: Development documents and examples for mozregression Provides: python3-mozregression-doc %description help Regression range finder for Mozilla nightly builds. For more information see the mozregression website: http://mozilla.github.io/mozregression/ %prep %autosetup -n mozregression-5.3.2 %build %py3_build %install %py3_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 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 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 if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-mozregression -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 5.3.2-1 - Package Spec generated