diff --git a/apache-ivy.spec b/apache-ivy.spec index 4d694b6..88a4bdd 100644 --- a/apache-ivy.spec +++ b/apache-ivy.spec @@ -102,7 +102,7 @@ cp -rp build/doc/reports/api/. %{buildroot}%{_javadocdir}/%{name} # Command line script MAIN_CLASS=`sed -rn 's/^Main-Class: (.*)$/\1/gp' META-INF/MANIFEST.MF | tr -d '\r'` -%{jpackage_script} "${MAIN_CLASS}" "" "" ant:ant/ant-nodeps:ivy:oro:jsch:commons-httpclient ivy +%jpackage_script "${MAIN_CLASS}" "" "" ant:ant/ant-nodeps:ivy:oro:jsch:commons-httpclient ivy mkdir -p %{buildroot}%{_sysconfdir}/ant.d echo "ivy" > %{buildroot}%{_sysconfdir}/ant.d/%{name}