- Add profile.d scripts to set ANT_HOME
- Add profile.d scripts to set ANT_HOME OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=76
This commit is contained in:
parent
9d6a8ad696
commit
5338d67552
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 13 15:54:30 UTC 2017 - guoyunhebrave@gmail.com
|
||||
|
||||
- Add profile.d scripts to set ANT_HOME
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 15 22:01:37 UTC 2016 - opensuse@dstoecker.de
|
||||
|
||||
|
@ -47,6 +47,8 @@ Source1: apache-ant-1.8.ant.conf
|
||||
Source1000: pre_checkin.sh
|
||||
Source1001: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2.asc
|
||||
Source1002: ant.keyring
|
||||
Source2: ant.csh
|
||||
Source3: ant.sh
|
||||
Patch0: apache-ant-no-test-jar.patch
|
||||
Patch1: apache-ant-class-path-in-manifest.patch
|
||||
#PATCH-FIX-SLE: fix building with old gcj by working around bugs
|
||||
@ -568,6 +570,11 @@ mkdir -p %{buildroot}%{_sysconfdir}/ant.d
|
||||
mkdir -p %{buildroot}%{_sysconfdir}
|
||||
cp -p %{SOURCE1} %{buildroot}%{_sysconfdir}/ant.conf
|
||||
|
||||
# ANT_HOME environment variable
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
|
||||
cp -p %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
|
||||
cp -p %{SOURCE3} %{buildroot}%{_sysconfdir}/profile.d
|
||||
|
||||
# OPT_JAR_LIST fragments
|
||||
echo "ant/ant-jmf" > %{buildroot}%{_sysconfdir}/%{name}.d/jmf
|
||||
echo "ant/ant-swing" > %{buildroot}%{_sysconfdir}/%{name}.d/swing
|
||||
@ -628,6 +635,8 @@ find %{buildroot}%{_datadir}/ant/etc -type f -name "*.xsl" \
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc KEYS LICENSE NOTICE README WHATSNEW
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%{_sysconfdir}/profile.d/ant.csh
|
||||
%{_sysconfdir}/profile.d/ant.sh
|
||||
%attr(0755,root,root) %{_bindir}/ant
|
||||
%attr(0755,root,root) %{_bindir}/antRun
|
||||
%{_javadir}/%{name}.jar
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 13 15:54:30 UTC 2017 - guoyunhebrave@gmail.com
|
||||
|
||||
- Add profile.d scripts to set ANT_HOME
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 15 22:01:37 UTC 2016 - opensuse@dstoecker.de
|
||||
|
||||
|
@ -47,6 +47,8 @@ Source1: apache-ant-1.8.ant.conf
|
||||
Source1000: pre_checkin.sh
|
||||
Source1001: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2.asc
|
||||
Source1002: ant.keyring
|
||||
Source2: ant.csh
|
||||
Source3: ant.sh
|
||||
Patch0: apache-ant-no-test-jar.patch
|
||||
Patch1: apache-ant-class-path-in-manifest.patch
|
||||
#PATCH-FIX-SLE: fix building with old gcj by working around bugs
|
||||
@ -568,6 +570,11 @@ mkdir -p %{buildroot}%{_sysconfdir}/ant.d
|
||||
mkdir -p %{buildroot}%{_sysconfdir}
|
||||
cp -p %{SOURCE1} %{buildroot}%{_sysconfdir}/ant.conf
|
||||
|
||||
# ANT_HOME environment variable
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
|
||||
cp -p %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
|
||||
cp -p %{SOURCE3} %{buildroot}%{_sysconfdir}/profile.d
|
||||
|
||||
# OPT_JAR_LIST fragments
|
||||
echo "ant/ant-jmf" > %{buildroot}%{_sysconfdir}/%{name}.d/jmf
|
||||
echo "ant/ant-swing" > %{buildroot}%{_sysconfdir}/%{name}.d/swing
|
||||
@ -628,6 +635,8 @@ find %{buildroot}%{_datadir}/ant/etc -type f -name "*.xsl" \
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc KEYS LICENSE NOTICE README WHATSNEW
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%{_sysconfdir}/profile.d/ant.csh
|
||||
%{_sysconfdir}/profile.d/ant.sh
|
||||
%attr(0755,root,root) %{_bindir}/ant
|
||||
%attr(0755,root,root) %{_bindir}/antRun
|
||||
%{_javadir}/%{name}.jar
|
||||
|
Loading…
x
Reference in New Issue
Block a user