Skip to content

Commit

Permalink
[RPM] Update compat version in spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
amadio committed Jun 5, 2023
1 parent 67a83e3 commit 66d7514
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packaging/rhel/xrootd.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,17 @@ Group: System Environment/Daemons
License: LGPLv3+
URL: http://xrootd.org/

%define compat_version 4.12.3
%define compat_version 4.12.9

# git clone http://xrootd.org/repo/xrootd.git xrootd
# cd xrootd
# git-archive master | gzip -9 > ~/rpmbuild/SOURCES/xrootd.tgz
Source0: xrootd.tar.gz

# Need to keep in sync with the compat_version above
# Cannot use variable, as makesrpm.sh cannot expand it
%if 0%{?_with_compat}
Source1: xrootd-%{compat_version}.tar.gz
Source1: xrootd-4.12.9.tar.gz
%endif

BuildRoot: %{_tmppath}/%{name}-root
Expand Down

0 comments on commit 66d7514

Please sign in to comment.