#231 Zuul runs rpmlint on recursively found spec files
Closed 3 years ago by fbo. Opened 3 years ago by churchyard.

In this PR: https://src.fedoraproject.org/rpms/python-rpm-generators/pull-request/38#comment-71071

This job: https://fedora.softwarefactory-project.io/zuul/build/486e876ce7934b09a9ae6f7b8f1d3731

Includes:

/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/isort.spec:28: E: hardcoded-library-path in %{_prefix}/lib/python%{python3_version}
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/isort.spec:29: E: hardcoded-library-path in %{_prefix}/lib/python%{python3_test_version}
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/isort.spec:30: E: hardcoded-library-path in %{_prefix}/lib/python%{python3_test_version}/site-packages/%{name}-%{version}-py%{python3_version}.egg-info
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/isort.spec:31: E: hardcoded-library-path in %{_prefix}/lib/python%{python3_test_version}/site-packages/%{name}-%{version}-py%{python3_test_version}.egg-info
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/isort.spec:36: E: hardcoded-library-path in %{_prefix}/lib/python%{python3_test_version}/site-packages/%{name}*
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/pythonabi.spec: W: no-%prep-section
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/pythonabi.spec: W: no-%build-section
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/pythondist.spec:41: E: hardcoded-library-path in %{buildroot}/usr/lib/python3.7/site-packages
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/pythondist.spec:43: E: hardcoded-library-path in %{buildroot}/usr/lib/python3.7/site-packages/zope.component-%{version}-py3.7.egg-info
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/pythondist.spec:45: E: hardcoded-library-path in %{buildroot}/usr/lib/python3.10/site-packages
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/pythondist.spec:47: E: hardcoded-library-path in %{buildroot}/usr/lib/python3.10/site-packages/zope.component-%{version}-py3.10.egg-info
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/pythondist.spec:55: E: hardcoded-library-path in /usr/lib/python3.7/site-packages/zope.component-%{version}-py3.7.egg-info/
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/pythondist.spec:59: E: hardcoded-library-path in /usr/lib/python3.10/site-packages/zope.component-%{version}-py3.10.egg-info/
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/pythonname.spec: W: no-%prep-section
/root/src/src.fedoraproject.org/rpms/python-rpm-generators/tests/pythonname.spec: W: no-%build-section

Those spec files are test data. They are not perfect-lint wise and they do bad things. Please, only lint the spec files located in the git root directory.

Thanks


Metadata Update from @fbo:
- Issue assigned to fbo
- Issue tagged with: Zuul CI

3 years ago

This patch is landing and should fix the issue: https://pagure.io/zuul-distro-jobs/pull-request/100

Please re-open if you see any issues.

Metadata Update from @fbo:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata