David,
In this case, the best case process would have been:
Search build.opensuse.org for wordnet.
You would see it was in factory, so go to that package:
https://build.opensuse.org/package/show/openSUSE:Factory/wordnet
If you have an OBS account (and you do since you use bugzilla), log
into OBS and click "Branch Project" directly below the description.
Then use osc on the command line to create a local copy on your box.
In my case I have ~gaf/obs as a folder I maintain, so I would:
cd ~/obs
osc co home:gregfreemyer:branches:Education/wordnet
(It is automatically branched from Education because that is the
official devel project for wordnet).
You can then edit the specfile / *changes file / etc. to your hearts
content. Use "osc build" to do local test builds and make sure your
edits are fine.
Once you are happy, use "osc commit" to push your local edits back to
OBS. I then wait a few minutes/hours for the package to rebuild on
all of the distros I care about. I check that status back on the
WebUI.
Once you are even happier, use "osc submit" to send the edits to the
package maintainer for review.
If he likes them, he will hopefully accept them and forward them to
factory for inclusion in 13.2 (or whatever is next).
At that point you have officially become a packaging contributor.
Greg
--
Greg Freemyer
On Mon, Feb 17, 2014 at 3:04 PM, David C. Rankin
On 02/17/2014 01:50 PM, Greg Freemyer wrote:
David,
Is there something wrong with the way it is currently done in the Education project for the wordnet package?
https://build.opensuse.org/package/view_file/Education/wordnet/wordnet.spec?...
From the %install section:
# Remove duplicate copies of docs installed by make install rm -rf %{buildroot}%{_datadir}/%{name}-%{version}/doc # Remove useless Makefiles installed by %%doc rm -rf doc/{html,ps,pdf}/Makefile*
From the %files section:
%doc AUTHORS COPYING INSTALL ChangeLog README doc/{html,ps,pdf}
Greg
No, nothing, just me being too dumb to stumble across it before recreating the Wheel. <lightbulb-on> The key with the %doc line seems to be no leading '/'. I see their use of doc/{html,ps,pdf} and that would have made life easier :)
The only other difference (other than me not having the patches) is I am overlaying the wn3.1.dict.tar.gz database extensions on top of the WordNet-3.0 release.
Source: %{name}-%{version}.tar.bz2 Source1: wn3.1.dict.tar.gz <snip> %prep %setup -q %setup -T -D -a 1
Basically, I got into this project packaging WordNet for the koffice/kthesaurus WordNet extension for TDE on Arch. It worked so well and added a new "in sentence context" to the thesaurus, I thought I would get a package together for Ilya to include as an option for openSuSE/KDE3 (seems I'm a bit late :)
Thanks again for the help and the link!
-- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org