<div dir="ltr">Hi,<div><br></div><div>I am working on getting ported packages to OBS and facing few problems, as probably most of the beginners do. Maybe someone here can help me out?</div><div><br></div><div>Problem 1: I have a bunch of packages that have external source and rpm spec written in a small separate project. Let's take rrdtool as an example with my github repo <a href="https://github.com/rinigus/pkg-rrdtool">https://github.com/rinigus/pkg-rrdtool</a> . Its spec contains source as a full URL. Now, I would like to download it from that URL by OBS either during building or as a part of its _service. Unfortunately, unlike in several other CI servers, network seems to be disabled. So, the snippet in RPM as </div><div><br></div><div><div><font face="monospace, monospace">%setup -q -n %{name}-%{version}</font></div><div><span style="font-family:monospace,monospace">curl -O %{REMSOURCE0}</span><br></div><div><font face="monospace, monospace">tar zxvf rrdtool-1.5.6.tar.gz --strip-components=1</font></div></div><div><br></div><div>doesn't work (ifconfig returns only loopback device). We also don't have <font face="monospace, monospace">download_files</font> among allowed _service APIs, as returned by <font face="monospace, monospace">osc api /service</font>. Maybe this can be enabled on OBS? As far as I understand, it should download all sources specified in the spec file. Personally, I find it rather disturbing putting .tar.gz into github project and would prefer getting the upstream package from the upstream source.</div><div><br></div><div>Problem 2: When creating package from github source (like for proj.4 in my case), I get as a version of packaged RPM the version that I specified together with (what looks like) git's latest commit signature together with the corresponding branch name leading to package names like  proj-4.9.3+sailfish.20170726042718.6.ge9a0f09-10.20.1.jolla.armv7hl.rpm . How can I make it shorter to proj-4.9.3.armv7hl.rpm ?</div><div><br></div><div>Best wishes,</div><div><br></div><div>Rinigus</div></div>