- add 'shadow' to Requires(pre)
- Add -fcommon to allow building against GCC10 OBS-URL: https://build.opensuse.org/package/show/network/bird?expand=0&rev=33
This commit is contained in:
parent
160ee2270b
commit
15c14fd89a
@ -1,7 +1,7 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 27 14:17:55 UTC 2023 - Libor Pechacek <lpechacek@gmx.com>
|
Wed Sep 27 14:17:55 UTC 2023 - Libor Pechacek <lpechacek@gmx.com>
|
||||||
|
|
||||||
- Fix build - add 'shadow' to BuildRequires
|
- add 'shadow' to Requires(pre)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 22 15:39:36 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
Thu Jun 22 15:39:36 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
@ -35,8 +35,8 @@ BuildRequires: flex
|
|||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: shadow
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: pkgconfig(systemd)
|
Requires(pre): shadow
|
||||||
Provides: bird6 = %{version}
|
Provides: bird6 = %{version}
|
||||||
Provides: bird6:%{_sbindir}/bird6
|
Provides: bird6:%{_sbindir}/bird6
|
||||||
Obsoletes: bird6 < %{version}
|
Obsoletes: bird6 < %{version}
|
||||||
@ -67,7 +67,7 @@ This package holds the HTML documentation.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="${RPM_OPT_FLAGS} -fpic -DPIC -fno-strict-aliasing -Wno-parentheses -Wno-pointer-sign"
|
export CFLAGS="%{optflags} -fpic -DPIC -fno-strict-aliasing -Wno-parentheses -Wno-pointer-sign"
|
||||||
export LDFLAGS="-Wl,-z,relro -pie"
|
export LDFLAGS="-Wl,-z,relro -pie"
|
||||||
%configure \
|
%configure \
|
||||||
--with-runtimedir=%{bird_runtimedir}
|
--with-runtimedir=%{bird_runtimedir}
|
||||||
@ -85,7 +85,7 @@ install -D -d -m 0750 %{buildroot}%{bird_home}
|
|||||||
install -D -d -m 0750 %{buildroot}%{_docdir}/%{name}/
|
install -D -d -m 0750 %{buildroot}%{_docdir}/%{name}/
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%make_build test
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
# Create bird user/group
|
# Create bird user/group
|
||||||
|
Loading…
Reference in New Issue
Block a user