diff --git a/aqute-bnd.spec b/aqute-bnd.spec index 9357832..bae351b 100644 --- a/aqute-bnd.spec +++ b/aqute-bnd.spec @@ -176,15 +176,19 @@ popd %install %mvn_install +%if %{with ant_tasks} install -d -m 755 %{buildroot}%{_sysconfdir}/ant.d echo "aqute-bnd slf4j/api slf4j/simple osgi-annotation osgi-core osgi-compendium" >%{buildroot}%{_sysconfdir}/ant.d/%{name} +%endif %jpackage_script aQute.bnd.main.bnd "" "" aqute-bnd:slf4j/slf4j-api:slf4j/slf4j-simple:osgi-annotation:osgi-core:osgi-compendium bnd 1 %files -f .mfiles %license LICENSE %{_bindir}/bnd +%if %{with ant_tasks} %config(noreplace) %{_sysconfdir}/ant.d/* +%endif %files -n aqute-bndlib -f .mfiles-bndlib %license LICENSE