Skip to content

Commit

Permalink
clippy: test
Browse files Browse the repository at this point in the history
  • Loading branch information
pmatouse committed May 19, 2024
1 parent f9f22cc commit b029d58
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions make-srpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,7 @@ BuildRequires: help2man
%if 0%{?rhel} == 7
%global python3_pkgversion 36
# needed for /usr/share/csmock/scripts/convert-clippy.py because byte-compilation
# on el7 was failing as el7 rpmbuild defaults to Python 2.7 for Python scripts in
# unversioned directories
%global _python_bytecompile_errors_terminate_build 0
%global __python %{python3}
%endif
BuildRequires: python%{python3_pkgversion}-GitPython
Expand Down Expand Up @@ -327,7 +323,10 @@ This package contains the unicontrol plug-in for csmock.
%{python3_sitelib}/csmock/plugins/__pycache__/clang.*
%files -n csmock-plugin-clippy
%{_datadir}/csmock/scripts/convert-clippy.py
%{_datadir}/csmock/scripts/convert-clippy.py*
%if 0%{?rhel} == 7
%{_datadir}/csmock/scripts/__pycache__/convert-clippy.*
%endif
%{_datadir}/csmock/scripts/inject-clippy.sh
%{python3_sitelib}/csmock/plugins/clippy.py*
%{python3_sitelib}/csmock/plugins/__pycache__/clippy.*
Expand All @@ -346,6 +345,9 @@ This package contains the unicontrol plug-in for csmock.
%files -n csmock-plugin-infer
%{_datadir}/csmock/scripts/filter-infer.py*
%if 0%{?rhel} == 7
%{_datadir}/csmock/scripts/__pycache__/filter-infer.*
%endif
%{_datadir}/csmock/scripts/install-infer.sh
%{python3_sitelib}/csmock/plugins/infer.py*
%{python3_sitelib}/csmock/plugins/__pycache__/infer.*
Expand Down Expand Up @@ -386,6 +388,9 @@ This package contains the unicontrol plug-in for csmock.
%files -n csmock-plugin-unicontrol
%{_datadir}/csmock/scripts/find-unicode-control.py*
%if 0%{?rhel} == 7
%{_datadir}/csmock/scripts/__pycache__/find-unicode-control.*
%endif
%{python3_sitelib}/csmock/plugins/unicontrol.py*
%{python3_sitelib}/csmock/plugins/__pycache__/unicontrol.*
EOF
Expand Down

0 comments on commit b029d58

Please sign in to comment.