[email protected] escreveu:

>   Apparently this is a rpm4 feature. But I would like to
> have it working in cooker, that is, to generate some
> provides/requires automatically. For example:
>
> $ cat /usr/lib/rpm/fileattrs/maven.attr
> %__maven_provides       %{_rpmconfigdir}/maven.prov
> %__maven_requires       %{_rpmconfigdir}/maven.req
> %__maven_path   ^%{_mavendepmapfragdir}/.*
>
> $ cat /usr/lib/rpm/maven.prov
> #!/usr/bin/python
> .....
>                print "mvn({gid}:{aid}) = {version}".format(gid=groupId,
> .....

  Kind of replying to myself, I thought using

%define _use_internal_dependency_generator 0

could work; I know as of some time ago rpmlint would
generate a fatal error, but an rpmlintrc could prevent
it...

but that does not work, just to start, because it
fails to generate a package due to missing

/usr/lib/rpm/find-provides

Paulo


Reply via email to