Compare commits

...
Sign in to create a new pull request.

11 commits

Author SHA1 Message Date
Fedora Release Engineering
38ddfd155d Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:48:05 +00:00
Jiri Vanek
8401bdae1c Rebuilt for java-25-openjdk as preffered jdk
https://fedoraproject.org/wiki/Changes/Java25AndNoMoreSystemJdk
Note, that since f43, you should be always explicit on what jdk to use.
This commit should do exactly that.
2025-07-29 19:39:18 +02:00
Fedora Release Engineering
1c3cd26c38 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:06:51 +00:00
Fedora Release Engineering
15e35bd029 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 11:17:59 +00:00
Jerry James
344f3f825a Move configuration steps to %conf 2025-01-13 09:35:33 -07:00
Jerry James
b4f3c4c39c Avoid unexpanded macro in package %description 2024-11-20 10:49:31 -07:00
Fedora Release Engineering
2ec99d8b1a Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 17:13:00 +00:00
Jerry James
f344e56046 Minor spec file simplifications 2024-07-16 11:29:24 -06:00
Jiri Vanek
5c44cace7a Rebuilt for java-21-openjdk as system jdk
https://fedoraproject.org/wiki/Changes/Java21
2024-02-27 14:50:04 +01:00
Fedora Release Engineering
beeaa680c6 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 23:15:27 +00:00
Fedora Release Engineering
57a7c7de06 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 13:16:58 +00:00

View file

@ -1,7 +1,7 @@
%bcond_with cifs
%bcond_with ftp
%bcond_with hadoop
%bcond_with mina
%bcond cifs 0
%bcond ftp 0
%bcond hadoop 0
%bcond mina 0
Name: apache-commons-vfs
Version: 2.9.0
@ -12,16 +12,17 @@ BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
URL: https://commons.apache.org/proper/commons-vfs/
VCS: git:https://github.com/apache/commons-vfs.git
Source0: https://archive.apache.org/dist/commons/vfs/source/commons-vfs-%{version}-src.tar.gz
Source1: https://archive.apache.org/dist/commons/vfs/source/commons-vfs-%{version}-src.tar.gz.asc
Source2: https://downloads.apache.org/commons/KEYS
# Migrate from the old commons-httpclient, which is no longer available in
# Fedora, to the newer httpcomponents httpclient.
Patch0: %{name}-httpclient.patch
Patch: %{name}-httpclient.patch
BuildRequires: gnupg2
BuildRequires: maven-local
BuildRequires: maven-local-openjdk25
BuildRequires: mvn(com.jcraft:jsch)
BuildRequires: mvn(com.sun.mail:jakarta.mail)
BuildRequires: mvn(commons-codec:commons-codec)
@ -85,7 +86,7 @@ Some of the features of Commons VFS are:
%package ant
Summary: Development files for Commons VFS
Requires: %{name} = %{version}-%{release}
Requires: ant
Requires: ant-openjdk25
%description ant
This package enables support for the Commons VFS ant tasks.
@ -103,12 +104,13 @@ Summary: Commons VFS Parent POM
%description project
Commons VFS Parent POM.
%javadoc_package
%{?javadoc_package}
%prep
%{gpgverify} --data=%{SOURCE0} --signature=%{SOURCE1} --keyring=%{SOURCE2}
%autosetup -n commons-vfs-%{version} -p1
%conf
# Not needed for RPM builds
%pom_xpath_remove //pom:reporting
%pom_remove_plugin :apache-rat-plugin