Single source repo, producing packages for CentOS 6 and 7, how?

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



Guys,

 I have a source code here, that produces RPM packages for CentOS 6, that
includes an Upstart Job and a ugly and minimal Init Script.

 Now, I have it running on CentOS 7, via systemd, looks good!

 However, my RPM package for CentOS 7 still includes the useless Upstart
and Init Scripts...

 So, here is the question:

 How are you guys managing this? I mean, I would like to have 1 single
source and 1 SPEC file for both CentOS 6 and 7, but no need to systemd
service files on 6 / no need to upstart job files on 7.

Cheers!
Thiago
_______________________________________________
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