Re: An rpmbuild spec question

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



On Thu, Dec 28, 2017 at 07:49:12AM -0500, mark wrote:
> I understood that... but I don't *want* a release number. Unless you're
> suggesting that I *must* do something like change my package name and
> directory to 1.27-0.

Every package has a name, version and release (as well as other
metadata like epoch and arch which are used to determine version
ordering).  You must define them or you get that blank release like
you saw.

The definition of a release should not define where your executables
go.  That's for your %install section.  You could put them in
/foo/bar/baz/ if you wanted, as long as the %install section created
$RPM_BUILD_ROOT/foo/bar/baz and populated it with files, and you
listed /foo/bar/baz in your %files section.

-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux