[Bug 1250223] Review Request: lucene4 - compat package for lucene in version 4 to keep elasticsearch alive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1250223



--- Comment #15 from gil cattaneo <puntogil@xxxxxxxxx> ---
(In reply to Zbigniew Jędrzejewski-Szmek from comment #13)
> (In reply to gil cattaneo from comment #11)
> > if you use XMvn for build this package you should not replace the manifest
> > files with others. Are already generated by
> > org.apache.felix:maven-bundle-plugin
> Ack. Looks like the reason given in comment ("add missing OSGi metadata to
> manifests") is not needed anymore.
> 

> (In reply to gil cattaneo from comment #10)
> > this is no a compact package, you must use:
> > %mvn_compat_version 'org.apache.lucene:*' %{version} %{majorversion}
> > where majorversion is equal to 4
> Hm, how do I do that?

know you that there is a guide called "Java Packages guideline"?
I facilitate you
https://fedoraproject.org/wiki/Packaging:Java#Compatibility_packages
https://fedorahosted.org/released/javapackages/doc/#compat_packages

> I tried adding:
> %mvn_compat_version 'org.apache.lucene:*' %{version} 4
> at the end of %prep, but then the build fails, because the provides between
> different poms are not satisfied anymore:
> 
> -[INFO maven.req] java-headless >= 1:1.7, jpackage-utils
> -Provides: lucene4 = 0:4.10.4-1.fc24 lucene4-core = 0:4.10.4-1.fc24
> mvn(org.apache.lucene:lucene-core) = 4.10
> .4 mvn(org.apache.lucene:lucene-core-aggregator:pom:) = 4.10.4
> mvn(org.apache.lucene:lucene-core:pom:) = 4.10
> .4 osgi(org.apache.lucene.core) = 4.10.4
> +[INFO maven.req] jpackage-utils, java-headless >= 1:1.7
> +Provides: lucene4 = 0:4.10.4-1.fc24 lucene4-core = 0:4.10.4-1.fc24
> mvn(org.apache.lucene:lucene-core-aggrega
> tor:pom:4) = 4.10.4 mvn(org.apache.lucene:lucene-core-aggregator:pom:4.10.4)
> = 4.10.4 mvn(org.apache.lucene:l
> ucene-core:4) = 4.10.4 mvn(org.apache.lucene:lucene-core:4.10.4) = 4.10.4
> mvn(org.apache.lucene:lucene-core:p
> om:4) = 4.10.4 mvn(org.apache.lucene:lucene-core:pom:4.10.4) = 4.10.4
> osgi(org.apache.lucene.core) = 4.10.4
> 
> +[INFO maven.req] from POM(s): 
> +Traceback (most recent call last):
> +  File "/usr/lib/rpm/maven.req", line 394, in <module>
> +    builder = TagBuilder()
> +  File "/usr/lib/rpm/maven.req", line 77, in __init__
> +    self.print_pom_requires(metadata)
> +  File "/usr/lib/rpm/maven.req", line 164, in print_pom_requires
> +    .format(reqs=", ".join([x.get_mvn_str() for x in unresolvable])))
> +Exception: Unable to generate requires on unresolvable artifacts:
> org.apache.lucene:lucene-solr-grandparent:
maybe you should manage in other ways

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]