Results 1 to 5 of 5

Thread: download of Source, spectool?

  1. #1

    Default download of Source, spectool?

    Hi,


    I have seen that it is possible to use the download URL for Source in a spec file.
    I find this very useful,
    of course I would like to have the possibility to download the sources form a spec file automatically


    I read that spec tool can do this, so I installed it, from the devel:/tools/ repository
    but it does not work, and it does also not print anything to the command line what is wrong
    Do I do something wrong, how can I download the sources?

    spectool does nothing, no matter which options I apply, only the --help option works

  2. #2
    Join Date
    Jun 2008
    Location
    Düsseldorf/Germany
    Posts
    283

    Default Re: download of Source, spectool?

    you need a corresponding _service file in your project. Content (e.g.)
    Code:
    <services>
      
    <service name="download_files"/></services>

  3. #3

    Default Re: download of Source, spectool?

    Quote Originally Posted by DocB View Post
    you need a corresponding _service file in your project. Content (e.g.)
    Code:
    <services>
      
    <service name="download_files"/></services>
    thanks, did not even know that the service thing exists. now I know that I have something to research, thanks.

    it only works with osc? ,
    it seems that spectool is not the proper tool, at least on openSUSE ,so why is this even in the repo?

    so I will have to setup the osc environment, will do this asap, but currently I am learning writing spec files and use rpmbuild.
    possibly I should reorder my priorities

  4. #4
    Join Date
    Jun 2008
    Location
    Düsseldorf/Germany
    Posts
    283

    Default Re: download of Source, spectool?

    Quote Originally Posted by a4z View Post
    it only works with osc?
    no, it works also from the webinterface
    it seems that spectool is not the proper tool, at least on openSUSE ,so why is this even in the repo?
    not sure which tool you mean with 'spectool'. obs-service-format_spec_file ?
    so I will have to setup the osc environment, will do this asap, but currently I am learning writing spec files and use rpmbuild.
    possibly I should reorder my priorities
    Take a look at OBS - it is full of specfiles to start with :-)

  5. #5

    Default Re: download of Source, spectool?

    Quote Originally Posted by DocB View Post
    not sure which tool you mean with 'spectool'. obs-service-format_spec_file ?
    spectool it mentioned here, it expands macros and does other stuff, also downloading the sources (at least the docu says so)
    https://fedoraproject.org/wiki/Rpmdevtools

    there is also a package in OBS, openSUSE Build Service > Projects > devel:tools , where I thought it might do the same, but this does nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •