Build from SVN source?

Total newbie so please be kind

Does anybody have a tutorial on importing from SVN?

I can’t seem to find any info on this. I have a project that I have checked out via svn to a local directory. I do not have source rpm’s. Everything thing I have found simply states to upload each file with a description. That will take forever.

So is it possible to turn the source files from an SVN project into a osc project?

Hi
You just have to tar/bz2 the directory and upload that and in your spec
file as Source: for example;


svn co <blah-de-blah>/trunk <blah-1.2.3>
tar cvf blah-1.2.3.tar blah-1.2.3/*
bzip2 blah-1.2.3.tar

Then upload blah-1.2.3.tar.bz2 to your project.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 (i586) Kernel 2.6.31.12-0.1-desktop
up 2:19, 2 users, load average: 0.20, 0.16, 0.10
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

You just have to tar/bz2 the directory and upload that and in your spec
file as Source: for example;

Is there any need (or benefit) to delete those .svn hidden directories before tarring the source?

Hi
You need to keep all the svn files as downloaded and remove as part of
the setup process. It means source can be inspected and I guess part of
netiquette when providing a src rpm. The only thing I do is bz2 the
file, but in the spec file show the source download (or method)


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 (i586) Kernel 2.6.31.12-0.2-desktop
up 1 day 2:48, 2 users, load average: 0.22, 0.17, 0.18
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME