Compare commits

..

No commits in common. 'c8-stream-201801' and 'c9' have entirely different histories.

2
.gitignore vendored

@ -1 +1 @@
SOURCES/wagon-3.1.0-source-release.zip
SOURCES/wagon-3.4.2-source-release.zip

@ -1 +1 @@
7151f615380936e853836fd20ad6941e145d0d8e SOURCES/wagon-3.1.0-source-release.zip
fa3513b24d76a55bf5f7a49e58fd05074acceb04 SOURCES/wagon-3.4.2-source-release.zip

@ -1,42 +1,43 @@
%bcond_without scm
%bcond_without ssh
%bcond_with bootstrap
Name: maven-wagon
Epoch: 0
Version: 3.1.0
Release: 1%{?dist}
Version: 3.4.2
Release: 8%{?dist}
Summary: Tools to manage artifacts and deployment
License: ASL 2.0
URL: http://maven.apache.org/wagon
URL: https://maven.apache.org/wagon
BuildArch: noarch
Source0: http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/%{version}/wagon-%{version}-source-release.zip
Source0: https://repo1.maven.org/maven2/org/apache/maven/wagon/wagon/%{version}/wagon-%{version}-source-release.zip
BuildRequires: maven-local
%if %{with ssh}
BuildRequires: mvn(com.jcraft:jsch)
BuildRequires: mvn(com.jcraft:jsch.agentproxy.connector-factory)
BuildRequires: mvn(com.jcraft:jsch.agentproxy.jsch)
%endif
BuildRequires: maven-local-openjdk8
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(commons-io:commons-io)
BuildRequires: mvn(commons-net:commons-net)
BuildRequires: mvn(org.apache.httpcomponents:httpclient)
BuildRequires: mvn(org.apache.httpcomponents:httpcore)
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin)
%if %{with scm}
BuildRequires: mvn(org.apache.maven.scm:maven-scm-api)
BuildRequires: mvn(org.apache.maven.scm:maven-scm-manager-plexus)
%endif
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
BuildRequires: mvn(org.codehaus.plexus:plexus-interactivity-api)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
BuildRequires: mvn(org.jsoup:jsoup)
BuildRequires: mvn(org.slf4j:jcl-over-slf4j)
BuildRequires: mvn(org.slf4j:slf4j-api)
%endif
Obsoletes: %{name}-manual < %{epoch}:%{version}-%{release}
Obsoletes: %{name}-provider-test < %{epoch}:%{version}-%{release}
Provides: maven-wagon-file = %{version}-%{release}
Provides: maven-wagon-http = %{version}-%{release}
Provides: maven-wagon-http-shared = %{version}-%{release}
Provides: maven-wagon-provider-api = %{version}-%{release}
Provides: maven-wagon-providers = %{version}-%{release}
Obsoletes: maven-wagon-file < 3.4.2-2
Obsoletes: maven-wagon-http < 3.4.2-2
Obsoletes: maven-wagon-http-shared < 3.4.2-2
Obsoletes: maven-wagon-provider-api < 3.4.2-2
Obsoletes: maven-wagon-providers < 3.4.2-2
Obsoletes: maven-wagon-ftp < 3.4.2-2
Obsoletes: maven-wagon-http-lightweight < 3.4.2-2
%description
Maven Wagon is a transport abstraction that is used in Maven's
@ -49,148 +50,145 @@ following providers:
* WebDAV
* SCM (in progress)
%package provider-api
Summary: provider-api module for %{name}
Obsoletes: %{name} < 2.6-4
Obsoletes: %{name}-webdav-jackrabbit < 2.9-2
%{?javadoc_package}
%description provider-api
provider-api module for %{name}.
%prep
%setup -q -n wagon-%{version}
%package providers
Summary: providers module for %{name}
%pom_remove_plugin :animal-sniffer-maven-plugin
%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_dep :wagon-tck-http wagon-providers/wagon-http
%description providers
providers module for %{name}
# disable tests, missing dependencies
%pom_disable_module wagon-tcks
%pom_disable_module wagon-ssh-common-test wagon-providers
%pom_disable_module wagon-provider-test
%pom_remove_dep :wagon-provider-test
%pom_remove_dep :wagon-provider-test wagon-providers
%package file
Summary: file module for %{name}
# missing dependencies
%pom_disable_module wagon-ftp wagon-providers
%pom_disable_module wagon-http-lightweight wagon-providers
%pom_disable_module wagon-scm wagon-providers
%pom_disable_module wagon-ssh wagon-providers
%pom_disable_module wagon-ssh-common wagon-providers
%pom_disable_module wagon-ssh-external wagon-providers
%pom_disable_module wagon-webdav-jackrabbit wagon-providers
%description file
file module for %{name}.
%pom_remove_plugin :maven-shade-plugin wagon-providers/wagon-http
%package ftp
Summary: ftp module for %{name}
%mvn_file ":wagon-{*}" %{name}/@1
%mvn_package ":wagon"
%description ftp
ftp module for %{name}.
%build
# tests are disabled because of missing dependencies
%mvn_build -f
%package http
Summary: http module for %{name}
# Maven requires Wagon HTTP with classifier "shaded"
%mvn_alias :wagon-http :::shaded:
%description http
http module for %{name}.
%install
%mvn_install
%package http-shared
Summary: http-shared module for %{name}
%files -f .mfiles
%license LICENSE NOTICE
%doc DEPENDENCIES
%description http-shared
http-shared module for %{name}.
%changelog
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 3.4.2-8
- Rebuild with regenerated Requires on Java
%package http-lightweight
Summary: http-lightweight module for %{name}
* Mon Jan 30 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4.2-7
- Rebuild to regenerate auto-requires
%description http-lightweight
http-lightweight module for %{name}.
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.4.2-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
%if %{with scm}
%package scm
Summary: scm module for %{name}
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4.2-5
- Rebuild to workaround DistroBaker issue
%description scm
scm module for %{name}.
%endif
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4.2-4
- Bootstrap Maven for CentOS Stream 9
%if %{with ssh}
%package ssh-external
Summary: ssh-external module for %{name}
* Tue Jun 01 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4.2-3
- Obsolete removed subpackages
%description ssh-external
ssh-external module for %{name}.
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4.2-2
- Bootstrap build
- Non-bootstrap build
%package ssh-common
Summary: ssh-common module for %{name}
* Tue Feb 02 2021 Fabio Valentini <decathorpe@gmail.com> - 0:3.4.2-1
- Update to version 3.4.2.
%description ssh-common
ssh-common module for %{name}.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0:3.4.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
%package ssh
Summary: ssh module for %{name}
* Fri Dec 4 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.4.2-1
- Update to upstream version 3.4.2
%description ssh
ssh module for %{name}.
%endif
* Fri Sep 11 2020 Marian Koncek <mkoncek@redhat.com> - 3.4.1-1
- Update to upstream version 3.4.1
%package javadoc
Summary: Javadoc for %{name}
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:3.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
%description javadoc
Javadoc for %{name}.
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 0:3.4.1-2
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
%prep
%setup -q -n wagon-%{version}
* Mon Jun 08 2020 Fabio Valentini <decathorpe@gmail.com> - 0:3.4.1-1
- Update to version 3.4.1.
%pom_remove_plugin :animal-sniffer-maven-plugin
%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_dep :wagon-tck-http wagon-providers/wagon-http
* Sat May 09 2020 Fabio Valentini <decathorpe@gmail.com> - 0:3.4.0-1
- Update to version 3.4.0.
# disable tests, missing dependencies
%pom_disable_module wagon-tcks
%pom_disable_module wagon-ssh-common-test wagon-providers/pom.xml
%pom_disable_module wagon-provider-test
%pom_remove_dep :wagon-provider-test
%pom_remove_dep :wagon-provider-test wagon-providers
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:3.3.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
# missing dependencies
%pom_disable_module wagon-webdav-jackrabbit wagon-providers
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.4-2
- Build with OpenJDK 8
%if %{without scm}
%pom_disable_module wagon-scm wagon-providers
%endif
%if %{without ssh}
%pom_disable_module wagon-ssh wagon-providers
%pom_disable_module wagon-ssh-common wagon-providers
%pom_disable_module wagon-ssh-external wagon-providers
%endif
* Thu Nov 21 2019 Marian Koncek <mkoncek@redhat.com> - 3.3.4-1
- Update to upstream version 3.3.4
%build
%mvn_file ":wagon-{*}" %{name}/@1
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.3-2
- Mass rebuild for javapackages-tools 201902
%mvn_package ":wagon"
* Sat Sep 14 2019 Miro Hrončok <mhroncok@redhat.com> - 0:3.3.3-4
- Obsolete maven-wagon-ssh properly (#1752165)
# tests are disabled because of missing dependencies
%mvn_build -f -s
* Thu Aug 29 2019 Fabio Valentini <decathorpe@gmail.com> - 0:3.3.3-3
- Disable SSH functionality.
# Maven requires Wagon HTTP with classifier "shaded"
%mvn_alias :wagon-http :::shaded:
* Fri Jul 12 2019 Fabio Valentini <decathorpe@gmail.com> - 0:3.3.3-2
- Disable SCM leaf subpackage to fix FTBFS on 32bit architectures.
* Wed Jul 10 2019 Marian Koncek <mkoncek@redhat.com> - 3.3.3-1
- Update to upstream version 3.3.3
- Remove dependency on maven-shade-plugin
%install
%mvn_install
* Fri Jun 28 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.2-3
- Disable ftp and http-lightweight providers
%files -f .mfiles
%doc LICENSE NOTICE DEPENDENCIES
%files provider-api -f .mfiles-wagon-provider-api
%dir %{_javadir}/%{name}
%files providers -f .mfiles-wagon-providers
%files file -f .mfiles-wagon-file
%files ftp -f .mfiles-wagon-ftp
%files http -f .mfiles-wagon-http
%files http-shared -f .mfiles-wagon-http-shared
%files http-lightweight -f .mfiles-wagon-http-lightweight
%if %{with scm}
%files scm -f .mfiles-wagon-scm
%endif
%if %{with ssh}
%files ssh-external -f .mfiles-wagon-ssh-external
%files ssh-common -f .mfiles-wagon-ssh-common
%files ssh -f .mfiles-wagon-ssh
%endif
* Thu Jun 27 2019 Fabio Valentini <decathorpe@gmail.com> - 0:3.3.3-1
- Update to version 3.3.3.
%files javadoc -f .mfiles-javadoc
%doc LICENSE NOTICE DEPENDENCIES
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.2-2
- Mass rebuild for javapackages-tools 201901
* Wed Feb 27 2019 Marian Koncek <mkoncek@redhat.com> - 0:3.3.2-1
- Update to upstream version 3.3.2
- Fixes: RHBZ #1674068
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:3.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Oct 8 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:3.2.0-1
- Update to upstream version 3.2.0
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:3.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
%changelog
* Wed Jun 27 2018 Michael Simacek <msimacek@redhat.com> - 0:3.1.0-1
- Update to upstream version 3.1.0

Loading…
Cancel
Save