On 24. 04. 19 10:25, Martin Gansser wrote:
Hi, I'm trying to create a package for mlt-6.14.0, but during installation I get the following error: # rpm -Uvh /home/martin/rpmbuild/RPMS/x86_64/mlt-6.14.0-1.fc30.x86_64.rpm /home/martin/rpmbuild/RPMS/x86_64/python3-mlt-6.14.0-1.fc30.x86_64.rpm /home/martin/rpmbuild/RPMS/x86_64/mlt-devel-6.14.0-1.fc30.x86_64.rpm error: Failed dependencies: mlt(x86-64) = 6.12.0-7.fc30 is needed by (installed) python2-mlt-6.12.0-7.fc30.x86_64 the following old version is installed: # rpm -qa |grep mlt mlt-6.12.0-7.fc30.x86_64 mlt-devel-6.12.0-7.fc30.x86_64 python2-mlt-6.12.0-7.fc30.x86_64 how can i solve this in the rpm spec file [1] ?
Add to the main package: Obsoletes: python2-mlt < 6.14.0-1 Obsoletes: mlt-python < 6.14.0-1 (Keep the version-release hardcoded, don't use macros). -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx