Update spec for maven 3.5.0

This commit is contained in:
Michael Simacek 2017-04-19 15:35:00 +02:00
parent af69445270
commit b657e313cb

View File

@ -10,7 +10,7 @@
Name: xmvn Name: xmvn
Version: 2.5.0 Version: 2.5.0
Release: 22%{?dist} Release: 23%{?dist}
Summary: Local Extensions for Apache Maven Summary: Local Extensions for Apache Maven
License: ASL 2.0 License: ASL 2.0
URL: https://fedora-java.github.io/xmvn/ URL: https://fedora-java.github.io/xmvn/
@ -59,19 +59,20 @@ Requires: maven-lib >= 3.4.0
Requires: xmvn-api = %{version}-%{release} Requires: xmvn-api = %{version}-%{release}
Requires: xmvn-connector-aether = %{version}-%{release} Requires: xmvn-connector-aether = %{version}-%{release}
Requires: xmvn-core = %{version}-%{release} Requires: xmvn-core = %{version}-%{release}
Requires: aether-api
Requires: aether-impl
Requires: aether-spi
Requires: aether-util
Requires: apache-commons-cli Requires: apache-commons-cli
Requires: apache-commons-lang3 Requires: apache-commons-lang3
Requires: atinject Requires: atinject
Requires: google-guice Requires: google-guice
Requires: guava Requires: guava
Requires: maven-lib Requires: maven-resolver-api
Requires: maven-resolver-impl
Requires: maven-resolver-spi
Requires: maven-resolver-util
Requires: maven-shared-utils
Requires: maven-wagon-provider-api Requires: maven-wagon-provider-api
Requires: objectweb-asm
Requires: plexus-cipher Requires: plexus-cipher
Requires: plexus-classworlds
Requires: plexus-containers-component-annotations Requires: plexus-containers-component-annotations
Requires: plexus-interpolation Requires: plexus-interpolation
Requires: plexus-sec-dispatcher Requires: plexus-sec-dispatcher
@ -79,7 +80,6 @@ Requires: plexus-utils
Requires: sisu-inject Requires: sisu-inject
Requires: sisu-plexus Requires: sisu-plexus
Requires: slf4j Requires: slf4j
Requires: maven-shared-utils
%description minimal %description minimal
This package provides minimal version of XMvn, incapable of using This package provides minimal version of XMvn, incapable of using
@ -262,10 +262,6 @@ done
# copy over maven lib directory # copy over maven lib directory
cp -r %{_datadir}/maven/lib/* %{buildroot}%{_datadir}/%{name}/lib/ cp -r %{_datadir}/maven/lib/* %{buildroot}%{_datadir}/%{name}/lib/
# XXX temporary
build-jar-repository %{buildroot}%{_datadir}/%{name}/lib/ maven-shared-utils
ln -s %{_javadir}/maven/maven-resolver-provider.jar %{buildroot}%{_datadir}/%{name}/lib/maven-resolver-provider.jar
# possibly recreate symlinks that can be automated with xmvn-subst # possibly recreate symlinks that can be automated with xmvn-subst
%{name}-subst -s -R %{buildroot} %{buildroot}%{_datadir}/%{name}/ %{name}-subst -s -R %{buildroot} %{buildroot}%{_datadir}/%{name}/
@ -289,6 +285,7 @@ cp -P %{_datadir}/maven/bin/m2.conf %{buildroot}%{_datadir}/%{name}/bin/
%dir %{_datadir}/%{name}/lib %dir %{_datadir}/%{name}/lib
%{_datadir}/%{name}/lib/*.jar %{_datadir}/%{name}/lib/*.jar
%{_datadir}/%{name}/lib/ext %{_datadir}/%{name}/lib/ext
%{_datadir}/%{name}/lib/jansi-native
%{_datadir}/%{name}/bin/m2.conf %{_datadir}/%{name}/bin/m2.conf
%{_datadir}/%{name}/bin/mvn %{_datadir}/%{name}/bin/mvn
%{_datadir}/%{name}/bin/mvnDebug %{_datadir}/%{name}/bin/mvnDebug
@ -357,6 +354,9 @@ cp -P %{_datadir}/maven/bin/m2.conf %{buildroot}%{_datadir}/%{name}/bin/
%doc LICENSE NOTICE %doc LICENSE NOTICE
%changelog %changelog
* Wed Apr 19 2017 Michael Simacek <msimacek@redhat.com> - 2.5.0-23
- Update spec for maven 3.5.0
* Wed Apr 19 2017 Michael Simacek <msimacek@redhat.com> - 2.5.0-22 * Wed Apr 19 2017 Michael Simacek <msimacek@redhat.com> - 2.5.0-22
- Temporary changes for maven upgrade - Temporary changes for maven upgrade