|
|
b9e9bf |
Name: dlm
|
|
|
184132 |
Version: 4.1.1
|
|
|
184132 |
Release: 1%{?dist}
|
|
|
b9e9bf |
License: GPLv2 and GPLv2+ and LGPLv2+
|
|
|
b9e9bf |
# For a breakdown of the licensing, see README.license
|
|
|
184132 |
Summary: dlm control daemon and tool
|
|
|
184132 |
URL: https://pagure.io/dlm
|
|
|
b9e9bf |
BuildRequires: gcc
|
|
|
b9e9bf |
BuildRequires: glibc-kernheaders
|
|
|
184132 |
BuildRequires: corosynclib-devel >= 3.1.0
|
|
|
b9e9bf |
BuildRequires: pacemaker-libs-devel >= 1.1.7
|
|
|
b9e9bf |
BuildRequires: libxml2-devel
|
|
|
b9e9bf |
BuildRequires: systemd-units
|
|
|
b9e9bf |
BuildRequires: systemd-devel
|
|
|
b9e9bf |
BuildRequires: make
|
|
|
b9e9bf |
Source0: https://releases.pagure.org/dlm/%{name}-%{version}.tar.gz
|
|
|
b9e9bf |
|
|
|
184132 |
# Patch0: 0001-foo.patch
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
b9e9bf |
ExclusiveArch: i686 x86_64
|
|
|
b9e9bf |
%endif
|
|
|
b9e9bf |
|
|
|
b9e9bf |
Requires: %{name}-lib = %{version}-%{release}
|
|
|
184132 |
Requires: corosync >= 3.1.0
|
|
|
b9e9bf |
%{?fedora:Requires: kernel-modules-extra}
|
|
|
b9e9bf |
Requires(post): systemd-units
|
|
|
b9e9bf |
Requires(preun): systemd-units
|
|
|
b9e9bf |
Requires(postun): systemd-units
|
|
|
b9e9bf |
Conflicts: cman
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%description
|
|
|
b9e9bf |
The kernel dlm requires a user daemon to control membership.
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%prep
|
|
|
b9e9bf |
%setup -q
|
|
|
184132 |
# %patch0 -p1 -b .0001-foo.patch
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%build
|
|
|
b9e9bf |
# upstream does not require configure
|
|
|
b9e9bf |
# upstream does not support _smp_mflags
|
|
|
b9e9bf |
CFLAGS=$RPM_OPT_FLAGS make
|
|
|
b9e9bf |
CFLAGS=$RPM_OPT_FLAGS make -C fence
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%install
|
|
|
b9e9bf |
rm -rf $RPM_BUILD_ROOT
|
|
|
b9e9bf |
make install LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
|
|
|
b9e9bf |
make -C fence install LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
|
|
|
b9e9bf |
|
|
|
b9e9bf |
install -Dm 0644 init/dlm.service %{buildroot}%{_unitdir}/dlm.service
|
|
|
b9e9bf |
install -Dm 0644 init/dlm.sysconfig %{buildroot}/etc/sysconfig/dlm
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%post
|
|
|
b9e9bf |
%systemd_post dlm.service
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%preun
|
|
|
b9e9bf |
%systemd_preun dlm.service
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%postun
|
|
|
b9e9bf |
%systemd_postun_with_restart dlm.service
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%files
|
|
|
b9e9bf |
%doc README.license
|
|
|
b9e9bf |
%{_unitdir}/dlm.service
|
|
|
b9e9bf |
%{_sbindir}/dlm_controld
|
|
|
b9e9bf |
%{_sbindir}/dlm_tool
|
|
|
b9e9bf |
%{_sbindir}/dlm_stonith
|
|
|
b9e9bf |
%{_mandir}/man8/dlm*
|
|
|
b9e9bf |
%{_mandir}/man5/dlm*
|
|
|
b9e9bf |
%{_mandir}/man3/*dlm*
|
|
|
b9e9bf |
%config(noreplace) %{_sysconfdir}/sysconfig/dlm
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%package lib
|
|
|
b9e9bf |
Summary: Library for %{name}
|
|
|
b9e9bf |
Conflicts: clusterlib
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%description lib
|
|
|
b9e9bf |
The %{name}-lib package contains the libraries needed to use the dlm
|
|
|
b9e9bf |
from userland applications.
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%ldconfig_scriptlets lib
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%files lib
|
|
|
b9e9bf |
/usr/lib/udev/rules.d/*-dlm.rules
|
|
|
b9e9bf |
%{_libdir}/libdlm*.so.*
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%package devel
|
|
|
b9e9bf |
Summary: Development files for %{name}
|
|
|
b9e9bf |
Requires: %{name}-lib = %{version}-%{release}
|
|
|
b9e9bf |
Conflicts: clusterlib-devel
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%description devel
|
|
|
b9e9bf |
The %{name}-devel package contains libraries and header files for
|
|
|
b9e9bf |
developing applications that use %{name}.
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%files devel
|
|
|
b9e9bf |
%{_libdir}/libdlm*.so
|
|
|
b9e9bf |
%{_includedir}/libdlm*.h
|
|
|
b9e9bf |
%{_libdir}/pkgconfig/*.pc
|
|
|
b9e9bf |
|
|
|
b9e9bf |
%changelog
|
|
|
184132 |
* Mon Nov 15 2021 David Teigland <teigland@redhat.com> - 4.1.1-1
|
|
|
184132 |
- new upstream version
|
|
|
184132 |
|
|
|
b9e9bf |
* Wed Aug 25 2021 David Teigland <teigland@redhat.com> - 4.0.9-7
|
|
|
b9e9bf |
- fix pacemaker header
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.0.9-6
|
|
|
b9e9bf |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
b9e9bf |
Related: rhbz#1991688
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 4.0.9-5
|
|
|
b9e9bf |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.9-4
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.9-3
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.9-2
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Jul 31 2019 David Teigland <teigland@redhat.com> - 4.0.9-1
|
|
|
b9e9bf |
- New upstream realease
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.6-11
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.6-10
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.6-9
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Sat Mar 24 2018 Richard W.M. Jones <rjones@redhat.com> - 4.0.6-8
|
|
|
b9e9bf |
- Fixes for glibc 2.27, required for riscv64.
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.6-7
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Tue Oct 10 2017 Troy Dawson <tdawson@redhat.com> - 4.0.6-5
|
|
|
b9e9bf |
- Cleanup spec file conditionals
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.6-5
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.6-4
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.6-3
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Fri Jun 10 2016 David Teigland <teigland@redhat.com> - 4.0.6-2
|
|
|
b9e9bf |
- try fixing broken libsystemd
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Fri Jun 10 2016 David Teigland <teigland@redhat.com> - 4.0.6-1
|
|
|
b9e9bf |
- New upstream release
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Tue Apr 26 2016 David Teigland <teigland@redhat.com> - 4.0.5-1
|
|
|
b9e9bf |
- New upstream release
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Mon Feb 22 2016 David Teigland <teigland@redhat.com> - 4.0.4-1
|
|
|
b9e9bf |
- New upstream release dlm-4.0.4
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-6
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-5
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-4
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-3
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-2
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Mar 06 2013 David Teigland <teigland@redhat.com> - 4.0.1-1
|
|
|
b9e9bf |
- New usptream release, fencing fixes
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-8
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Tue Nov 06 2012 David Teigland <teigland@redhat.com> - 4.0.0-1
|
|
|
b9e9bf |
- New upstream release, systemd fixes
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Sep 05 2012 Václav Pavlín <vpavlin@redhat.com> - 3.99.5-7
|
|
|
b9e9bf |
- Scriptlets replaced with new systemd macros (#850093)
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Tue Aug 28 2012 David Teigland <teigland@redhat.com> - 3.99.5-6
|
|
|
b9e9bf |
- only fedora requires kernel-modules-extra
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Thu Aug 16 2012 David Teigland <teigland@redhat.com> - 3.99.5-5
|
|
|
b9e9bf |
- dlm_controld: remove fence_all from cli
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Thu Aug 16 2012 David Teigland <teigland@redhat.com> - 3.99.5-4
|
|
|
b9e9bf |
- dlm_stonith: include errno.h
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Thu Aug 16 2012 David Teigland <teigland@redhat.com> - 3.99.5-3
|
|
|
b9e9bf |
- dlm_controld: fix uninitialized mem for fence_all config
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.99.5-2
|
|
|
b9e9bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Thu Jun 21 2012 David Teigland <teigland@redhat.com> - 3.99.5-1
|
|
|
b9e9bf |
- New upstream release
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed May 30 2012 David Teigland <teigland@redhat.com> - 3.99.4-2
|
|
|
b9e9bf |
- Limit rhel arches
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Mon May 21 2012 David Teigland <teigland@redhat.com> - 3.99.4-1
|
|
|
b9e9bf |
- New upstream release
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Mon May 14 2012 David Teigland <teigland@redhat.com> - 3.99.3-1
|
|
|
b9e9bf |
- New upstream release
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Apr 11 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.2-1
|
|
|
b9e9bf |
- New upstream release
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Thu Mar 29 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.1-4
|
|
|
b9e9bf |
- Merge back from F17
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Mar 21 2012 David Teigland <teigland@redhat.com> - 3.99.1-3
|
|
|
b9e9bf |
- Fix dlm_stonith linking
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Mar 21 2012 David Teigland <teigland@redhat.com> - 3.99.1-2
|
|
|
b9e9bf |
- Require pacemaker-libs-devel to build dlm_stonith
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Wed Mar 21 2012 David Teigland <teigland@redhat.com> - 3.99.1-1
|
|
|
b9e9bf |
- Update to 3.99.1
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Fri Mar 16 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-8
|
|
|
b9e9bf |
- Rebuild against new corosync (soname change).
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Thu Feb 16 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-7
|
|
|
b9e9bf |
- Update to upstream HEAD 2ad89c869git.
|
|
|
b9e9bf |
- Bump BuildRequires and Requires to new corosync
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Mon Feb 13 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-6
|
|
|
b9e9bf |
- Fix init/systemd service to use /etc/sysconfig/dlm
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Mon Feb 6 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-5
|
|
|
b9e9bf |
- Fix systemd service to recognize /etc/sysconfig/dlm_controld
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Fri Feb 3 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-4
|
|
|
b9e9bf |
- Fix systemd service to modprobe dlm
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Fri Feb 3 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-3
|
|
|
b9e9bf |
- Add patch to fix udev rules and make sure dlm_controld can find
|
|
|
b9e9bf |
its devices
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Thu Feb 2 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-2
|
|
|
b9e9bf |
- Add Conflicts with clusterlib/cman as necessary
|
|
|
b9e9bf |
|
|
|
b9e9bf |
* Tue Jan 24 2012 David Teigland <teigland@redhat.com> - 3.99.0-1
|
|
|
b9e9bf |
- initial package
|
|
|
b9e9bf |
|