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,
.....

Thanks,
Paulo


Reply via email to