Jelajahi Sumber

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 tahun lalu
induk
melakukan
afdc405512
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  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.