We need to update (file a ticket at [2]) the Eclipse Packaging Guidelines [1] to reflect the move of pdebuild.sh to %{_bindir}/eclipse-pdebuild. While we're at it, should we also mention the centralized definition of eclipse_base, etc.? [1] https://fedoraproject.org/wiki/Packaging:EclipsePlugins [2] https://fedorahosted.org/fpc/newticket
How does it works? Will we be granted some rights to change the wiki or we have to describe what should be changed?
Here is the list of proposed changes: = Section 1.5.1 = is: pdebuild should be: eclipse-pdebuild is: There is a script that makes invoking PDE Build easy: /usr/lib{,64}/eclipse/buildscripts/pdebuild: should be: There is a script that makes invoking PDE Build easy: eclipse-pdebuild: is: usage: /usr/lib{,64}/eclipse/buildscripts/pdebuild [<options>] should be: usage: eclipse-pdebuild [<options>] = Section 1.9 = is: %{_eclipse_base}/buildscripts/pdebuild -f org.eclipse.plugin_feature should be: eclipse-pdebuild -f org.eclipse.plugin_feature is: %{_eclipse_base}/buildscripts/pdebuild -f org.eclipse.plugin.b_feature should be: eclipse-pdebuild -f org.eclipse.plugin.b_feature Additional changes related to eclipse_base = Section 1.6 = is: Architecture-specific plugins/features should go into %{_libdir}/eclipse/dropins/<one word name of this feature or plugin>. JARs should therefore go into %{_libdir}/eclipse/dropins/<name>/plugins and features should go into %{_datadir}/eclipse/dropins/<name>/features. Example: should be: Architecture-specific plugins/features should go into %{_eclipse_base}/dropins/<one word name of this feature or plugin>. JARs should therefore go into %{_eclipse_base}/dropins/<name>/plugins and features should go into %{_eclipse_base}/dropins/<name>/features. Example: = Section 1.7 = is: While many Eclipse plugins will be architecture-independent, there will be some that contain native parts. Plugins without native fragments should be noarch and go into %{_datadir}/eclipse/dropins and plugins with native fragments should be arch-dependent and go into %{_libdir}/eclipse/dropins. should be: While many Eclipse plugins will be architecture-independent, there will be some that contain native parts. Plugins without native fragments should be noarch and go into %{_datadir}/eclipse/dropins and plugins with native fragments should be arch-dependent and go into %{_eclipse_base}/dropins. = New section in Tips and Notes: _libdir and _eclipse_base usage = Some Eclipse packages, while generally being noarch, require architecture specific Eclipse plugins, or need to be installed into architecture specific locations. Unfortunately the %{_libdir} is not correctly resolved during noarch builds, therefore main eclipse package provides %{_eclipse_base} macro, which is resolved into main eclipse arch directory, i.e.: * /usr/lib/eclipse on 32 bit systems * /usr/lib64/eclipse on 64 bit systems
You have to make a separate wiki page with the changes in place and then open a trac ticket with the Fedora Packaging Committee and they will evaluate an approve or ask for changes.
Coudl you pre-review it before I will submit it? Link: https://fedoraproject.org/wiki/EclipsePluginsPackaging_change Diff: https://fedoraproject.org/w/index.php?title=EclipsePluginsPackaging_change&action=historysubmit&diff=283864&oldid=283859
Ticket ready https://fedorahosted.org/fpc/ticket/161
It looks great! The only change I'd suggest is: "used in eclipse packages. New macro," -> "used in eclipse packages. A new macro,"
Done.
Is /usr/bin/eclipse-pdebuild available in F15+? If not you will need to mention that in the guidelines for now.
I have added a note linking to the old version of documentation, although the link is bogus now.