On 7/12/2009 8:26 AM, Egbert Eich wrote:
On Sun, Dec 06, 2009 at 07:54:49PM +0100, Stefan Seyfried wrote:
On Sat, 5 Dec 2009 11:47:43 +0100 Peter Pömlpoeml@cmdline.net wrote:
Which brings up the question: couldn't the source RPM be assembled on the fly as soon as somebody wants to download it? There is (crappy ;) version control in OBS, and you "only" need to record which revision built the binary RPM. Then if someone wants the source RPM for this revision, you just pack it up and send it to him.
Should be an interesting Project to implement ;)
This brings back the question why we need the source RPM at all. The only reason I could think of is that people using other distros can easily download out sources. If openSUSE users would either resourt to OSC or to the software installation tools shipped by openSUSE (zypper, YaST, ...) we didn't even need SRPMS at all. Those tools could be modified to use OSC to download the sources from the build system. This would just require meta information about the location of the packages in the build system and an anonymous read only access. Implementing this would be a more worthwhile project than tools that would generate SPRMS from the build system. Additionally the sources could be installed in saner places than /usr/src/packages/SOURCES where they are currently installed by default. Which - as Peter already stated - is a dangerous palce when installing sources for more than one package.
My understanding, from (very) earlier version of SuSe Linux when I started using it, it was to comply with the Linux GPL.
Not sure if it's still now though.