[prev in list] [next in list] [prev in thread] [next in thread]
List: vcs-pkg
Subject: Re: Building src.rpm from git/svn
From: "Sam Liddicott" <sam () liddicott ! com>
Date: 2009-06-09 15:31:57
Message-ID: 4A2E806D.7010602 () liddicott ! com
[Download RAW message or body]
I ought to have given an example; with samba4 I build talloc and tdb as
seperate sub packages; in my talloc.spec I have some extra lines:
#makesrpm-RELEASE: HEAD
#makesrpm-ORIGIN_PATTERN: release-4*alpha*
#makesrpm-SOURCE_PATHS: lib/talloc lib/replace
%define dirname %makesrpm_tarprefix
and the generate spec file (partly based on the invocation of make-srpm
from the samba makefile) looks like this:
%define version_info 2df18b4 1244465917 2df18b4437e7df2050f806339133db141ff4f4ec Mon \
Jun 8 13:58:37 2009 +0100
%define tarball_name %makesrpm_tarprefix
%define main_release 5
%define alpha_version 8-GIT-2df18b4
%define samba_version 4.0.0alpha8-GIT-2df18b4
%define makesrpm_tarname libtalloc-release-4-0-0alpha7.tar.gz
%define makesrpm_tarprefix libtalloc-release-4-0-0alpha7
#makesrpm-RELEASE: HEAD
#makesrpm-ORIGIN_PATTERN: release-4*alpha*
#makesrpm-SOURCE_PATHS: lib/talloc lib/replace
%define dirname %makesrpm_tarprefix
the makefile invocation of make-srpm is something actually quite
horrible as it has to link in with samba4's version generating scripts.
Sam
_______________________________________________
vcs-pkg-discuss mailing list
vcs-pkg-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/vcs-pkg-discuss
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic