Skip installation perl and python scripts
This commit is contained in:
parent
572e7950e5
commit
5a2560c0b1
11
ant.spec
11
ant.spec
@ -36,7 +36,7 @@
|
||||
|
||||
Name: ant
|
||||
Version: 1.9.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Epoch: 0
|
||||
Summary: Build tool for java
|
||||
Summary(it): Tool per la compilazione di programmi java
|
||||
@ -60,8 +60,6 @@ BuildRequires: xml-commons-apis
|
||||
|
||||
Requires: jpackage-utils >= 0:1.7.5
|
||||
Requires: java-devel >= 0:1.5.0
|
||||
Requires: perl
|
||||
Requires: python
|
||||
Requires: xerces-j2
|
||||
Requires: xml-commons-apis
|
||||
|
||||
@ -409,7 +407,7 @@ cp -p src/etc/*.xsl $RPM_BUILD_ROOT%{ant_home}/etc
|
||||
|
||||
# install everything else
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
cp -p src/script/* $RPM_BUILD_ROOT%{_bindir}
|
||||
cp -p src/script/{ant,antRun} $RPM_BUILD_ROOT%{_bindir}
|
||||
ln -sf %{_bindir}/ant $RPM_BUILD_ROOT%{ant_home}/bin/
|
||||
ln -sf %{_bindir}/antRun $RPM_BUILD_ROOT%{ant_home}/bin/
|
||||
|
||||
@ -460,8 +458,6 @@ cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%attr(0755,root,root) %{_bindir}/ant
|
||||
%attr(0755,root,root) %{_bindir}/antRun
|
||||
%attr(0755,root,root) %{_bindir}/*.pl
|
||||
%attr(0755,root,root) %{_bindir}/*.py*
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_javadir}/%{name}-launcher.jar
|
||||
%{_javadir}/%{name}-bootstrap.jar
|
||||
@ -584,6 +580,9 @@ cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
%changelog
|
||||
* Fri Feb 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.9.3-2
|
||||
- Skip installation perl and python scripts
|
||||
|
||||
* Thu Jan 2 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.9.3-1
|
||||
- Update to upstream version 1.9.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user