Build with linker flags from redhat-rpm-config
This commit is contained in:
parent
431392b70f
commit
171a83e274
@ -1,7 +1,7 @@
|
|||||||
Summary: Utility to set/show the host name or domain name
|
Summary: Utility to set/show the host name or domain name
|
||||||
Name: hostname
|
Name: hostname
|
||||||
Version: 3.20
|
Version: 3.20
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://packages.qa.debian.org/h/hostname.html
|
URL: http://packages.qa.debian.org/h/hostname.html
|
||||||
@ -21,7 +21,7 @@ cp %{SOURCE1} .
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make CFLAGS="%{optflags} $CFLAGS -D_GNU_SOURCE"
|
make CFLAGS="%{optflags} $CFLAGS -D_GNU_SOURCE" LDFLAGS="$RPM_LD_FLAGS"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make BASEDIR=%{buildroot} BINDIR=%{_bindir} install
|
make BASEDIR=%{buildroot} BINDIR=%{_bindir} install
|
||||||
@ -34,6 +34,9 @@ make BASEDIR=%{buildroot} BINDIR=%{_bindir} install
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 1 2018 Florian Weimer <fweimer@redhat.com> - 3.20-2
|
||||||
|
- Build with linker flags from redhat-rpm-config
|
||||||
|
|
||||||
* Thu Feb 1 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.20-1
|
* Thu Feb 1 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.20-1
|
||||||
- New version 3.20
|
- New version 3.20
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user