Avoid subshell for build-jar-repository
This commit is contained in:
parent
57f382fdb1
commit
a3dcc063b2
13
maven.spec
13
maven.spec
@ -3,7 +3,7 @@
|
|||||||
Name: maven
|
Name: maven
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.3.9
|
Version: 3.3.9
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Java project management and project comprehension tool
|
Summary: Java project management and project comprehension tool
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://maven.apache.org/
|
URL: http://maven.apache.org/
|
||||||
@ -219,8 +219,8 @@ cp -a $M2_HOME/bin/* %{buildroot}%{_datadir}/%{name}/bin
|
|||||||
ln -sf $(build-classpath plexus/classworlds) \
|
ln -sf $(build-classpath plexus/classworlds) \
|
||||||
%{buildroot}%{_datadir}/%{name}/boot/plexus-classworlds.jar
|
%{buildroot}%{_datadir}/%{name}/boot/plexus-classworlds.jar
|
||||||
|
|
||||||
(cd %{buildroot}%{_datadir}/%{name}/lib
|
pushd %{buildroot}%{_datadir}/%{name}/lib
|
||||||
build-jar-repository -s -p . \
|
build-jar-repository -s -p . \
|
||||||
aether/aether-api \
|
aether/aether-api \
|
||||||
aether/aether-connector-basic \
|
aether/aether-connector-basic \
|
||||||
aether/aether-impl \
|
aether/aether-impl \
|
||||||
@ -256,8 +256,8 @@ ln -sf $(build-classpath plexus/classworlds) \
|
|||||||
httpcomponents/httpcore \
|
httpcomponents/httpcore \
|
||||||
commons-logging \
|
commons-logging \
|
||||||
commons-codec \
|
commons-codec \
|
||||||
objectweb-asm/asm \
|
objectweb-asm/asm
|
||||||
)
|
popd
|
||||||
|
|
||||||
|
|
||||||
%files lib -f .mfiles
|
%files lib -f .mfiles
|
||||||
@ -280,6 +280,9 @@ ln -sf $(build-classpath plexus/classworlds) \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 01 2017 Michael Simacek <msimacek@redhat.com> - 1:3.3.9-8
|
||||||
|
- Avoid subshell for build-jar-repository
|
||||||
|
|
||||||
* Thu Feb 16 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.3.9-7
|
* Thu Feb 16 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.3.9-7
|
||||||
- Conditionalize weak dependencies
|
- Conditionalize weak dependencies
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user