Add gcc buildrequires
This package compiles C code, so should directly depend on a C compiler. Also remove setting CFLAGS to %optflags, since the %configure macro already does that for us.
This commit is contained in:
parent
d421a1a458
commit
49578564bf
10
libnsl2.spec
10
libnsl2.spec
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: libnsl2
|
Name: libnsl2
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Public client interface library for NIS(YP) and NIS+
|
Summary: Public client interface library for NIS(YP) and NIS+
|
||||||
|
|
||||||
License: BSD and LGPLv2+
|
License: BSD and LGPLv2+
|
||||||
@ -17,6 +17,7 @@ Patch0: libnsl2-1.0.5-include_stdint.patch
|
|||||||
|
|
||||||
BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel
|
BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
BuildRequires: gcc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the libnsl library. This library contains
|
This package contains the libnsl library. This library contains
|
||||||
@ -39,9 +40,6 @@ Development files for libnsl2
|
|||||||
%patch0 -p1 -b .include_stdint
|
%patch0 -p1 -b .include_stdint
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
export CFLAGS="%{optflags}"
|
|
||||||
|
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
|
||||||
%configure\
|
%configure\
|
||||||
@ -69,6 +67,10 @@ rm %{buildroot}/%{_libdir}/libnsl.la
|
|||||||
%{_libdir}/pkgconfig/libnsl.pc
|
%{_libdir}/pkgconfig/libnsl.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 20 2021 Timm Bäder <tbaeder@redhat.com> - 1.3.0-3
|
||||||
|
- Add gcc buildrequires
|
||||||
|
- Remove explicit setting of CFLAGS
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user