Quoting enarkri (2012-03-16 09:27:12) >Hi, >I am creating an RPM package using rpm-maven-plugin. >During the generation of the SPEC file, I would want to have the >"BUILDREQUIRES" tag also to be printed in the SPEC file. Is it >possible? If so how?
>From maven-rpm-plugin docs: In particular, source RPMs can not be generated and the spec files which are used do not do any build process (the plugin collects the files and "installs" them for packaging). This would suggest that resulting spec files are not suitable for rebuilding the package "from scratch" and therefore BuildRequires tag is pointless in them. I assume you have a specific use-case, but it doesn't seem valid from the information you provided. Why do you want to rebuild the rpm after the maven-rpm-plugin is done with it? -- Stanislav Ochotnicky <[email protected]> Software Engineer - Base Operating Systems Brno PGP: 7B087241 Red Hat Inc. http://cz.redhat.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
