Hi, On Tuesday, October 11, 2005 at 06:14:04, houghi wrote:
I am looking into the building of a repository. At least for some scripts I have written. The results can be looked at at http://www.houghi.org/suse/10.0/ and RPMS being the repo. Best don't use it as a fixed point, because it will probably be moving a lot.
Only three programs till now that I have made into RPMs thusfar. makeSUSEdvd (obviously), mx is another script I wrote and grepm, something I did not write myself. At this moment I am concentrating on the making of an RPM and placing all correctly. So I take just scripts and not something that needs compiling. One step at a time.
To do all this, I wrote a script. It would not be me if I would not do something with a script. :-) This is how I (together with the script) work. I copy Development/skeleton/Latest to Development/script/Latest and change the files inside Development/script/Latest to whatever I like. No yet all very sofisticated, but the basis of how I think I should work is there.
You should think about using svn/cvs/whatever if you work on a checkout base anyway.
Now my question. Could somebody look at it and tell me wether this is the good direction or if I amaking an arse of myself. I rather have it told to me when I am at the beginning, then when I am at the end. Changing things now is easy.
Ive just had a quick glance at the specs. They are very basic anyway beeing noarch and dealing only with scripts. Ive just noticed one small thing your spec contributor or you should read man install You often do mkdir -p $RPM_BUILD_ROOT/%{_bindir} install -m 755 %{name} $RPM_BUILD_ROOT/%{_bindir} You could do install -D -m 755 %{name} $RPM_BUILD_ROOT/%{_bindir}/%{name} Like i said, everything else is too basic to see the direction youre heading... Henne -- Henne Vogelsang, http://hennevogel.de "To die. In the rain. Alone" Ernest Hemingway