diff --git a/gfal2.spec b/gfal2.spec index b77f036..ba0b82c 100644 --- a/gfal2.spec +++ b/gfal2.spec @@ -4,10 +4,6 @@ # Require --with=tests in order to build functional tests %bcond_with tests -%if %{?fedora}%{!?fedora:0} < 35 - %define _with_srm 1 -%endif - Name: gfal2 Version: 2.20.4 Release: 1%{?dist} @@ -41,9 +37,7 @@ BuildRequires: lfc-devel BuildRequires: dpm-devel %endif #srm plugin dependencies -%if %{?_with_srm:1}%{?!_with_srm:0} BuildRequires: srm-ifce-devel >= 1.23.1 -%endif #dcap plugin dependencies BuildRequires: dcap-devel #gridftp plugin dependencies @@ -128,7 +122,6 @@ Provides the dcap support (gsidcap://, dcap://) for %{name}. The dcap plugin provides the POSIX operations for the dcap \ URLs, the dcap protocol is used on the DCACHE storage system -%if %{?_with_srm:1}%{?!_with_srm:0} %package plugin-srm Summary: Provides the srm access for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} @@ -138,7 +131,6 @@ Requires: srm-ifce >= 1.23.1 Provides the srm support (srm://) for %{name}. The srm plugin provides the POSIX operations and the third party transfer support on the SRM URLs. -%endif %package plugin-gridftp Summary: Provides the gridftp support for %{name} @@ -198,9 +190,7 @@ Requires: %{name}-plugin-lfc%{?_isa} = %{version}-%{release} Requires: %{name}-plugin-rfio%{?_isa} = %{version}-%{release} %endif Requires: %{name}-plugin-dcap%{?_isa} = %{version}-%{release} -%if %{?_with_srm:1}%{?!_with_srm:0} Requires: %{name}-plugin-srm%{?_isa} = %{version}-%{release} -%endif Requires: %{name}-plugin-gridftp%{?_isa} = %{version}-%{release} Requires: %{name}-plugin-http%{?_isa} = %{version}-%{release} Requires: %{name}-plugin-xrootd%{?_isa} = %{version}-%{release} @@ -245,7 +235,6 @@ fi %cmake3 \ -DDOC_INSTALL_DIR=%{_pkgdocdir} \ -DUNIT_TESTS=TRUE \ - -DPLUGIN_SRM=%{?_with_srm:TRUE}%{?!_with_srm:FALSE} \ -DPLUGIN_MOCK=TRUE \ -DPLUGIN_LFC=FALSE \ -DPLUGIN_RFIO=FALSE \ @@ -310,12 +299,10 @@ fi %{_pkgdocdir}/README_PLUGIN_DCAP %config(noreplace) %{_sysconfdir}/%{name}.d/dcap_plugin.conf -%if %{?_with_srm:1}%{?!_with_srm:0} %files plugin-srm %{_libdir}/%{name}-plugins/libgfal_plugin_srm.so* %{_pkgdocdir}/README_PLUGIN_SRM %config(noreplace) %{_sysconfdir}/%{name}.d/srm_plugin.conf -%endif %files plugin-gridftp %{_libdir}/%{name}-plugins/libgfal_plugin_gridftp.so*