On 2019-12-10 17:03, Dario Lesca wrote: > I must rebuild samba.src on my Fedora 31 (to convert experimental MIT Kerberos to Heimdal Kerberos). > > Into my samba.spec I change only mit/heimdal flag and set +1 the package version. > > Then I rebuild and deploy new package on my personal repository, configure my ADDC server to use it (mysamba.repo) and install this new working package via "dnf install". > > I know how to do all these jobs, and all for now work fine. > > But if Fedora release a new version (main stream version o package version) of samba and I do a "dnf update", new samba-mit Fedora version is update on my samba-Heimdal version, until I rebuild again the new version on my repository server > > What is the best way to protect this issue? > > I must set some flag in "samba.spec" file, or into "mysamba.repo", or into "dnf update" command line? > > Many thanks If I understand correctly, you should be able to edit the /etc/yum.repos.d/fedora-updates.repo and add exclude=samba In the [updates] section. (Possibly samba* would be better?) Then, when you update the updates from the fedora repo won't be referenced. -- The key to getting good answers is to ask good questions. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx