[opensuse-packaging] Global SRPM Centos compatibility: _docdir issues
I'm attempting to build an RPM for a more recent version of the global tag suite than currently available for Centos 6.x, using SRPMs from https://build.opensuse.org/package/show?package=global&project=openSUSE%3AFactory OBS Global Project . Several minor issues related to the _docdir macro generate build/rpmlint errors. It wouldn't be difficult to hack the spec/config info allowing the build to complete. This my first venture in to RPM development/troubleshooting. I'd rather make a small contribution toward "draining the swamp" than snuff a few alligator hatch-lings. The issues are: * Makefile.am (top directory of source tree) has: gtagsdir = ${datadir}/doc/packages/global * global.spec assumes %{_docdir} = %{_datadir}/doc/packages * CentOS does not appear to define %{_docdir}, dispite a few references to it in other macros * %{_docdir} is listed in OpenSuse Packaging Guidelines, but not in guidelines any other Distro Builds fail in %install, because the %{_docdir} is empty or substituting %{_datadir} file source/destination paths are not symmetric relative to the build/buildroot. Comments/suggestions about reporting/correcting cross-distro discrepancies would be appreciated. If difference can be mapped through macros it might be useful to collect and distribute them. david -- View this message in context: http://old.nabble.com/Global-SRPM-Centos-compatibility%3A-_docdir-issues-tp3... Sent from the opensuse-packaging mailing list archive at Nabble.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (1)
-
H. David Ross