how to specify distribution (f37, say, not fc37) in a spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am writing a spec file for SliM, the Simple Login Manager for Fedora 37. I was thiniking of changing the default login image to the Fedora one. It appears that that is stored in the RPM: f37-backgrounds-base and the file is /usr/share/backgrounds/f37/default/f37-01-day.png  

So, my question is: how do I include both the rpm as well as the file that depends on the distribution version.

Now, from  https://docs.fedoraproject.org/en-US/packaging-guidelines/DistTag/ 

I get that %{dist} or %{?dist} will give me fc37, but this is different, i need f37, etc so that an updated spec file is not needed everytime we have an  upgrade. 

Thanks very much for any suggestions/advice!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux