From f344e5604647890e91c189bb494f0bc61fd658a4 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 16 Jul 2024 11:29:24 -0600 Subject: [PATCH] Minor spec file simplifications --- apache-commons-vfs.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/apache-commons-vfs.spec b/apache-commons-vfs.spec index 8c12321..04987d6 100644 --- a/apache-commons-vfs.spec +++ b/apache-commons-vfs.spec @@ -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