Tip: building packages with different base names in one spec file

As you may know,

%package devel
%files devel

will build a package, named as %{name}-devel, while sometime, you want to name it with a different basename, then you could do this,

%package -n foobar
%files -n foobar

Leave a Reply

Your email address will not be published. Required fields are marked *

To submit your comment, click the image below where it asks you to...
Clickcha - The One-Click Captcha