2012-02-01 07:13:13 +00:00
|
|
|
Name: dlm
|
2013-03-06 19:41:33 +00:00
|
|
|
Version: 4.0.1
|
2014-06-07 07:35:56 +00:00
|
|
|
Release: 3%{?dist}
|
2012-02-01 07:13:13 +00:00
|
|
|
License: GPLv2 and GPLv2+ and LGPLv2+
|
|
|
|
# For a breakdown of the licensing, see README.license
|
|
|
|
Group: System Environment/Kernel
|
2013-03-06 19:41:33 +00:00
|
|
|
Summary: dlm control daemon and tool
|
2012-02-01 07:13:13 +00:00
|
|
|
URL: https://fedorahosted.org/cluster
|
|
|
|
BuildRequires: glibc-kernheaders
|
2012-03-29 04:48:06 +00:00
|
|
|
BuildRequires: corosynclib-devel >= 1.99.9
|
2012-03-21 20:53:13 +00:00
|
|
|
BuildRequires: pacemaker-libs-devel >= 1.1.7
|
2012-02-01 07:20:40 +00:00
|
|
|
BuildRequires: libxml2-devel
|
2012-02-01 07:13:13 +00:00
|
|
|
BuildRequires: systemd-units
|
2012-11-06 19:51:43 +00:00
|
|
|
BuildRequires: systemd-devel
|
2012-02-01 07:13:13 +00:00
|
|
|
Source0: http://people.redhat.com/teigland/%{name}-%{version}.tar.gz
|
|
|
|
|
2012-11-06 19:51:43 +00:00
|
|
|
#Patch0: 0001-foo.patch
|
2012-08-16 17:33:49 +00:00
|
|
|
|
2012-05-30 20:58:03 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
ExclusiveArch: i686 x86_64
|
|
|
|
%endif
|
|
|
|
|
2012-02-16 11:38:24 +00:00
|
|
|
Requires: %{name}-lib = %{version}-%{release}
|
2012-03-29 04:48:06 +00:00
|
|
|
Requires: corosync >= 1.99.9
|
2012-08-28 18:10:45 +00:00
|
|
|
%{?fedora:Requires: kernel-modules-extra}
|
2012-02-01 07:13:13 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
2012-02-02 10:21:01 +00:00
|
|
|
Conflicts: cman
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
%description
|
2013-03-06 19:41:33 +00:00
|
|
|
The kernel dlm requires a user daemon to control membership.
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-11-06 19:51:43 +00:00
|
|
|
#%patch0 -p1 -b .0001-foo.patch
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
# upstream does not require configure
|
|
|
|
# upstream does not support _smp_mflags
|
|
|
|
CFLAGS=$RPM_OPT_FLAGS make
|
2012-03-21 20:33:42 +00:00
|
|
|
CFLAGS=$RPM_OPT_FLAGS make -C fence
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
|
2012-03-21 20:33:42 +00:00
|
|
|
make -C fence install LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
install -Dm 0644 init/dlm.service %{buildroot}%{_unitdir}/dlm.service
|
2012-06-21 21:59:20 +00:00
|
|
|
install -Dm 0644 init/dlm.sysconfig %{buildroot}/etc/sysconfig/dlm
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
%post
|
2012-09-05 13:54:12 +00:00
|
|
|
%systemd_post dlm.service
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
%preun
|
2012-09-05 13:54:12 +00:00
|
|
|
%systemd_preun dlm.service
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
%postun
|
2012-09-05 13:54:12 +00:00
|
|
|
%systemd_postun_with_restart dlm.service
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README.license
|
|
|
|
%{_unitdir}/dlm.service
|
|
|
|
%{_sbindir}/dlm_controld
|
|
|
|
%{_sbindir}/dlm_tool
|
2012-03-21 20:33:42 +00:00
|
|
|
%{_sbindir}/dlm_stonith
|
2012-02-01 07:13:13 +00:00
|
|
|
%{_mandir}/man8/dlm*
|
2012-04-11 04:01:07 +00:00
|
|
|
%{_mandir}/man5/dlm*
|
2012-02-01 07:13:13 +00:00
|
|
|
%{_mandir}/man3/*dlm*
|
2012-06-21 21:59:20 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/dlm
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
%package lib
|
|
|
|
Summary: Library for %{name}
|
|
|
|
Group: System Environment/Libraries
|
2012-02-02 10:21:01 +00:00
|
|
|
Conflicts: clusterlib
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
%description lib
|
|
|
|
The %{name}-lib package contains the libraries needed to use the dlm
|
|
|
|
from userland applications.
|
|
|
|
|
|
|
|
%post lib -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun lib -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files lib
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
/lib/udev/rules.d/*-dlm.rules
|
|
|
|
%{_libdir}/libdlm*.so.*
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-lib = %{version}-%{release}
|
2012-02-02 10:21:01 +00:00
|
|
|
Conflicts: clusterlib-devel
|
2012-02-01 07:13:13 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libdlm*.so
|
|
|
|
%{_includedir}/libdlm*.h
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|
2014-06-07 07:35:56 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 07:26:21 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-03-06 19:41:33 +00:00
|
|
|
* Wed Mar 06 2013 David Teigland <teigland@redhat.com> - 4.0.1-1
|
|
|
|
- New usptream release, fencing fixes
|
|
|
|
|
2013-02-13 19:49:43 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-06 19:51:43 +00:00
|
|
|
* Tue Nov 06 2012 David Teigland <teigland@redhat.com> - 4.0.0-1
|
|
|
|
- New upstream release, systemd fixes
|
|
|
|
|
2012-09-05 13:54:12 +00:00
|
|
|
* Wed Sep 05 2012 Václav Pavlín <vpavlin@redhat.com> - 3.99.5-7
|
|
|
|
- Scriptlets replaced with new systemd macros (#850093)
|
|
|
|
|
2012-08-28 18:10:45 +00:00
|
|
|
* Tue Aug 28 2012 David Teigland <teigland@redhat.com> - 3.99.5-6
|
|
|
|
- only fedora requires kernel-modules-extra
|
|
|
|
|
2012-08-16 21:32:55 +00:00
|
|
|
* Thu Aug 16 2012 David Teigland <teigland@redhat.com> - 3.99.5-5
|
|
|
|
- dlm_controld: remove fence_all from cli
|
|
|
|
|
2012-08-16 18:22:38 +00:00
|
|
|
* Thu Aug 16 2012 David Teigland <teigland@redhat.com> - 3.99.5-4
|
|
|
|
- dlm_stonith: include errno.h
|
|
|
|
|
2012-08-16 17:33:49 +00:00
|
|
|
* Thu Aug 16 2012 David Teigland <teigland@redhat.com> - 3.99.5-3
|
|
|
|
- dlm_controld: fix uninitialized mem for fence_all config
|
|
|
|
|
2012-07-18 20:56:04 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.99.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-21 21:59:20 +00:00
|
|
|
* Thu Jun 21 2012 David Teigland <teigland@redhat.com> - 3.99.5-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-05-30 20:58:03 +00:00
|
|
|
* Wed May 30 2012 David Teigland <teigland@redhat.com> - 3.99.4-2
|
|
|
|
- Limit rhel arches
|
|
|
|
|
2012-05-21 18:11:44 +00:00
|
|
|
* Mon May 21 2012 David Teigland <teigland@redhat.com> - 3.99.4-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-05-14 19:04:11 +00:00
|
|
|
* Mon May 14 2012 David Teigland <teigland@redhat.com> - 3.99.3-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-04-11 04:01:48 +00:00
|
|
|
* Wed Apr 11 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.2-1
|
2012-04-11 04:01:07 +00:00
|
|
|
- New upstream release
|
|
|
|
|
2012-03-29 04:48:06 +00:00
|
|
|
* Thu Mar 29 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.1-4
|
|
|
|
- Merge back from F17
|
|
|
|
|
2012-03-21 21:12:53 +00:00
|
|
|
* Wed Mar 21 2012 David Teigland <teigland@redhat.com> - 3.99.1-3
|
|
|
|
- Fix dlm_stonith linking
|
|
|
|
|
2012-03-21 20:53:13 +00:00
|
|
|
* Wed Mar 21 2012 David Teigland <teigland@redhat.com> - 3.99.1-2
|
|
|
|
- Require pacemaker-libs-devel to build dlm_stonith
|
|
|
|
|
2012-03-21 20:33:42 +00:00
|
|
|
* Wed Mar 21 2012 David Teigland <teigland@redhat.com> - 3.99.1-1
|
|
|
|
- Update to 3.99.1
|
|
|
|
|
2012-03-16 10:16:38 +00:00
|
|
|
* Fri Mar 16 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-8
|
|
|
|
- Rebuild against new corosync (soname change).
|
|
|
|
|
2012-02-16 11:38:24 +00:00
|
|
|
* Thu Feb 16 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-7
|
|
|
|
- Update to upstream HEAD 2ad89c869git.
|
|
|
|
- Bump BuildRequires and Requires to new corosync
|
|
|
|
|
2012-02-13 05:19:35 +00:00
|
|
|
* Mon Feb 13 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-6
|
|
|
|
- Fix init/systemd service to use /etc/sysconfig/dlm
|
|
|
|
|
2012-02-06 12:32:46 +00:00
|
|
|
* Mon Feb 6 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-5
|
|
|
|
- Fix systemd service to recognize /etc/sysconfig/dlm_controld
|
|
|
|
|
2012-02-03 15:42:50 +00:00
|
|
|
* Fri Feb 3 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-4
|
|
|
|
- Fix systemd service to modprobe dlm
|
|
|
|
|
2012-02-03 14:27:12 +00:00
|
|
|
* Fri Feb 3 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-3
|
|
|
|
- Add patch to fix udev rules and make sure dlm_controld can find
|
|
|
|
its devices
|
|
|
|
|
2012-02-02 10:21:01 +00:00
|
|
|
* Thu Feb 2 2012 Fabio M. Di Nitto <fdinitto@redhat.com> - 3.99.0-2
|
|
|
|
- Add Conflicts with clusterlib/cman as necessary
|
|
|
|
|
2012-02-01 07:13:13 +00:00
|
|
|
* Tue Jan 24 2012 David Teigland <teigland@redhat.com> - 3.99.0-1
|
|
|
|
- initial package
|
|
|
|
|