rpmbuild: handle naming differences of packages in different distributions
2
votes
1
answer
149
views
I'm writing a RPM spec file for building my software. The software depends on [Crypto++](http://cryptopp.com) . Crypto++ is named differently on different distributions, for example, on OpenSUSE, I should write
BuildRequires: libcryptopp-devel
But on Fedora, it should be
BuildRequires: cryptopp-devel
Now, how can I unify the two in a single spec file?
Asked by Siyuan Ren
(1451 rep)
Aug 5, 2023, 06:00 AM
Last activity: Aug 5, 2023, 07:18 AM
Last activity: Aug 5, 2023, 07:18 AM