On 24/04/2019 09: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] ?
Obsoletes: python2-mlt < 6.12.0-8
See:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages
Tom
--
Tom Hughes (t...@compton.nu)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org