Minor spec file simplifications

This commit is contained in:
Jerry James 2024-07-16 11:29:24 -06:00
commit f344e56046

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,13 +12,14 @@ 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