Mailinglist Archive: opensuse-buildservice (245 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Building packages using the tar_scm source service
- From: Marcus Hüwe <suse-tux@xxxxxx>
- Date: Mon, 18 Oct 2010 12:36:36 +0200
- Message-id: <20101018103636.GA4195@linux>
On 2010-10-18 11:02:41 +0200, Johannes Weberhofer wrote:
tar_scm service the filename doesn't change otherwise the filename
is changed. In order to update your spec file version with the current
filename version you can use the "set_version" service (this may only
work with a trivial spec file).
file.
The best is to have a look at some existing _service files, for
instance openSUSE:Tools:Unstable/osc/_service.
Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
I have created a package which automatically checks out it's sources usingIf you specified a version parameter in the _service file for the
svn. It creates a tar-ball.
I have two questions:
* When the revision number changes, I guess, the file-name changes, too; is
there a way to automatically detect the current number?
tar_scm service the filename doesn't change otherwise the filename
is changed. In order to update your spec file version with the current
filename version you can use the "set_version" service (this may only
work with a trivial spec file).
* RPMLINT tells me "Files bigger than 100k should be bzip2'ed in order toYou can use the "recompress" service to bzip2 etc. the checked out
save space."; is there a way to compress the tar automatically?
file.
The best is to have a look at some existing _service files, for
instance openSUSE:Tools:Unstable/osc/_service.
Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |