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 [email protected] http://lists.alioth.debian.org/mailman/listinfo/vcs-pkg-discuss
