From 833a64199b76ebac24a6af2549ac7c4c27860ed0 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Fri, 2 Nov 2012 11:45:39 +0100 Subject: [PATCH] Dependencies updated, adapterized --- corosync.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/corosync.spec b/corosync.spec index 7c77f04..e040086 100644 --- a/corosync.spec +++ b/corosync.spec @@ -16,7 +16,7 @@ Version: 2.1.0 Release: 4 License: BSD Group: Base -Source0: https://github.com/downloads/corosync/corosync/corosync-2.1.0.tar.gz +Source0: https://github.com/downloads/corosync/corosync/%{name}-%{version}.tar.gz # Source0-md5: dc5152e6dfdb4638ab544e587884483a Source1: %{name}.init Source2: %{name}-notifyd.init @@ -33,13 +33,17 @@ BuildRequires: libqb-devel %{?with_monitoring:BuildRequires: libstatgrab-devel} %if %{with rdma} BuildRequires: libibverbs-devel -BuildRequires: libtool BuildRequires: librdmacm-devel +BuildRequires: libtool %endif %{?with_xmlconf:BuildRequires: libxslt} %{?with_snmp:BuildRequires: net-snmp-devel} BuildRequires: nss-devel BuildRequires: pkgconfig +BuildRequires: rpmbuild(macros) +Requires: rc-scripts +Requires: systemd-units >= 38 +Requires(post,preun): /sbin/chkconfig Requires: %{name}-libs = %{version}-%{release} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -- 2.43.0