On Wed, 19 Jul 2017 13:27:54 -0400 (EDT), John Ellson wrote: > Jaroslav Škarvada requested that i move the discussion from: > > https://bugzilla.redhat.com/show_bug.cgi?id=1410366 > > about unifying the graphviz .spec file with upstream, to this list. > > > Perhaps the unification objective is not attainable because of different requirements? > > > Upstream, we have single a distro-agnostic (RH and non-RH) graphviz.tar.gz portable sources: > > http://graphviz.org/Download_source.php > > and then for RH, all distros, we have a single graphviz.src.rpm containing a universal graphviz.spec. > > http://graphviz.org/Download_linux_fedora.php > > > This works well for me, upstream, for building and testing across all distributions, but perhaps the .spec file is less optimal when you separately maintain versions for each distribution? > Doubtful. It's a maintenance nightmare. Tons of defines and conditionals, which toggle almost everything (BR, features and subpkgs) using highly cryptic macro names, sections that don't adhere to the packaging guidelines, dangerous violations of the guidelines, workarounds for RHEL 7. You may be familiar with the spec file, or you may believe you are, but in my point of view, the spec file is filled with pitfalls. That will backfire eventually. Not even the %changelog has been maintained since 2009. And probably the biggest mistake related to conditional subpackage builds is that you cannot simply flip a #define and disable a subpackage build without inserting an Obsoletes/Provides pair. So, what may be of some limited use while testing builds, is of no use in packages released into a public distribution. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx