Просмотр исходного кода

spec: Add explicit gcc build requirement

Also remove %clean macro which is not needed for ages.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Jan Friesse 7 лет назад
Родитель
Сommit
afdc405512
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      corosync.spec.in

+ 1 - 2
corosync.spec.in

@@ -31,6 +31,7 @@ Source0: http://build.clusterlabs.org/corosync/releases/%{name}-%{version}%{?git
 Requires: corosynclib%{?_isa} = %{version}-%{release}
 Requires: corosynclib%{?_isa} = %{version}-%{release}
 
 
 # Build bits
 # Build bits
+BuildRequires: gcc
 
 
 %if 0%{?suse_version}
 %if 0%{?suse_version}
 BuildRequires: groff-full
 BuildRequires: groff-full
@@ -137,8 +138,6 @@ install -m 644 tools/corosync-notifyd.sysconfig.example \
 install -m 644 init/corosync.sysconfig.example \
 install -m 644 init/corosync.sysconfig.example \
    %{buildroot}%{_sysconfdir}/sysconfig/corosync
    %{buildroot}%{_sysconfdir}/sysconfig/corosync
 
 
-%clean
-
 %description
 %description
 This package contains the Corosync Cluster Engine Executive, several default
 This package contains the Corosync Cluster Engine Executive, several default
 APIs and libraries, default configuration files, and an init script.
 APIs and libraries, default configuration files, and an init script.