[Openswan Users] Creating RPM files from openswan-2.6.19.tar.gz
Paul Wouters
paul at xelerance.com
Fri Dec 19 14:18:11 EST 2008
On Fri, 19 Dec 2008, Mitja wrote:
> RPMS for openswan 2.4.xx can be simply created this way:
> [root at centos:/u/mitja/openswan]$ rpmbuild -ta openswan-2.4.13
>
> But with version 2.6.19 im getting this error?
>
> [root at centos:/u/mitja/openswan]$ rpmbuild -ta openswan-2.6.19.tar.gz
> error: line 31: Dependency tokens must begin with alpha-numeric, '_' or
> '/': PreReq: gmp %insserv_prereq %fillup_prereq perl
Looks like rpmbuild found the Suse spec file as the first one. I never
liked the -t option exactly because of this.
run rpmbuild -ba openswan-2.6.19/packaging/fedora/openswan.spec
Paul
More information about the Users
mailing list