diff --git a/gfal2.spec b/gfal2.spec index fe91bdf..465ac80 100644 --- a/gfal2.spec +++ b/gfal2.spec @@ -3,9 +3,13 @@ %bcond_with tests +%if %{?fedora}%{!?fedora:0} < 35 + %define _with_srm 1 +%endif + Name: gfal2 -Version: 2.18.2 -Release: 2%{?dist} +Version: 2.19.2 +Release: 3%{?dist} Summary: Grid file access library 2.0 License: ASL 2.0 URL: http://dmc.web.cern.ch/projects/gfal-2/home @@ -49,7 +53,9 @@ 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 @@ -136,7 +142,7 @@ 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} @@ -146,7 +152,7 @@ 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} @@ -206,7 +212,9 @@ Requires: %{name}-plugin-rfio%{?_isa} = %{version}-%{release} Requires: %{name}-plugin-lfc%{?_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} @@ -259,6 +267,7 @@ export CXX=/usr/bin/g++44 %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 \ @@ -334,10 +343,12 @@ ctest3 -V %{_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* @@ -374,6 +385,21 @@ ctest3 -V %changelog +* Tue Aug 31 2021 Michal Simon - 2.19.2-2 +- Do not build SRM plug-in on Fedora platforms + +* Tue Aug 31 2021 Michal Simon - 2.19.2-1 +- Upgrade to upstream release 2.19.2 + +* Thu Jul 22 2021 Fedora Release Engineering - 2.18.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat Jul 10 2021 Björn Esser - 2.18.2-9 +- Rebuild for versioned symbols in json-c + +* Tue Jan 26 2021 Fedora Release Engineering - 2.18.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Dec 15 2020 Michal Simon - 2.18.2-1 - Upgrade to upstream release 2.18.2 diff --git a/sources b/sources index 1e36c0e..6e801c7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gfal2-2.18.2.tar.gz) = 5e69ebeae199cd099011c06811cfebc52e1e0b31140bb7c8f6b90ecc13e22c60601ac50338e6ec3130d5429367875c778069a4da74e53469051e1a000f9c89e2 +SHA512 (gfal2-2.19.2.tar.gz) = b5f1a988880ef3d07f2223ab9547fd75861aa4af5c4f3d632ae5512a301677281fd4dad0fa6ccc81b3d4c4ef72a98cfadfece90d64c1746a49da58a9685cac06