summaryrefslogtreecommitdiff
path: root/python-mozregression.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-17 04:43:27 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-17 04:43:27 +0000
commit0ea5286a5a8676df4f1793068e06ed6c63cc03db (patch)
tree8b7b9e4af20c8283e76594ed5885c61205210959 /python-mozregression.spec
parent2bf4450567a941a466d9adbe52259a5391e99a7a (diff)
automatic import of python-mozregression
Diffstat (limited to 'python-mozregression.spec')
-rw-r--r--python-mozregression.spec97
1 files changed, 97 insertions, 0 deletions
diff --git a/python-mozregression.spec b/python-mozregression.spec
new file mode 100644
index 0000000..76a87b8
--- /dev/null
+++ b/python-mozregression.spec
@@ -0,0 +1,97 @@
+%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
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 5.3.2-1
+- Package Spec generated