Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 8: nothing provides python-PyYAML, nothing provides python-dateutil, nothing provides python-lxml, nothing provides python >= 2.6 #374

Open
olegantonyan opened this issue Oct 9, 2020 · 1 comment

Comments

@olegantonyan
Copy link

olegantonyan commented Oct 9, 2020

Cannot build for CentOS 8: nothing provides python-PyYAML, nothing provides python-dateutil, nothing provides python-lxml, nothing provides python >= 2.6

  Substitute: python python3
  Substitute: python-PyYAML python3-PyYAML
  Substitute: python-dateutil python3-dateutil
  Substitute: python-lxml python3-lxml

in project config doesn't help

@olegantonyan
Copy link
Author

Made a small progress

%if 0%{?centos_version} >= 800
Macros:
%_with_python3 1
:Macros
%endif

this leads to a new error: nothing provides python3-base
Ignore doesn't work once again.

To fix this I had to edit spec file: https://build.opensuse.org/package/rdiff/home:oleg_antonyan/obs-service-tar_scm?opackage=obs-service-tar_scm&oproject=openSUSE%3ATools&rev=2
Basically this line https://github.com/openSUSE/obs-service-tar_scm/blob/master/dist/obs-service-tar_scm.spec#L151 should be removed for CentOS 8

olegantonyan added a commit to olegantonyan/obs-service-tar_scm that referenced this issue Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant