diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 04:50:56 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 04:50:56 +0000 |
commit | 9767263584cd885c5d021eac47bd230a5b6389fd (patch) | |
tree | 09459fa1a821f3523bfb6e12db634305ed86c742 | |
parent | 72c744f1b837dcc5daf0c6e668fbcd24e25ba485 (diff) |
automatic import of python3-colcon-test-resultopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-colcon-test-result.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/colcon-test-result-0.3.8.tar.gz diff --git a/python-colcon-test-result.spec b/python-colcon-test-result.spec new file mode 100644 index 0000000..bba0ba7 --- /dev/null +++ b/python-colcon-test-result.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-colcon-test-result +Version: 0.3.8 +Release: 1 +Summary: Extension for colcon to provide information about the test results. +License: Apache License, Version 2.0 +URL: https://colcon.readthedocs.io +Source0: https://files.pythonhosted.org/packages/7c/e5/690583c1bbb2c9958287e64a59014e69766644d900c4c10f4ed855bbc2d6/colcon-test-result-0.3.8.tar.gz +BuildArch: noarch + +Requires: python3-colcon-core + +%description +An extension for `colcon-core <https://github.com/colcon/colcon-core>`_ to provide information about the test results. + +%package -n python3-colcon-test-result +Summary: Extension for colcon to provide information about the test results. +Provides: python-colcon-test-result +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-colcon-test-result +An extension for `colcon-core <https://github.com/colcon/colcon-core>`_ to provide information about the test results. + +%package help +Summary: Development documents and examples for colcon-test-result +Provides: python3-colcon-test-result-doc +%description help +An extension for `colcon-core <https://github.com/colcon/colcon-core>`_ to provide information about the test results. + +%prep +%autosetup -n colcon-test-result-0.3.8 + +%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-colcon-test-result -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Feb 24 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.8-1 +- Package Spec generated @@ -0,0 +1 @@ +8f0d1a5ec919f11e98d52aa745763357 colcon-test-result-0.3.8.tar.gz |