Accepting request 865270 from home:kukuk:branches:network

- pwdutils was dropped long time ago
- fix building (/etc/init.d does not exist)

OBS-URL: https://build.opensuse.org/request/show/865270
OBS-URL: https://build.opensuse.org/package/show/network/boinc-client?expand=0&rev=90
This commit is contained in:
Jan Engelhardt 2021-01-21 11:05:10 +00:00 committed by Git OBS Bridge
parent 5afc62f468
commit b1d2999255
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 21 08:34:07 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
- pwdutils was dropped long time ago
- fix building (/etc/init.d does not exist)
-------------------------------------------------------------------
Wed Jan 6 19:06:52 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -72,14 +72,13 @@ BuildRequires: libnotify-devel
BuildRequires: libtool
BuildRequires: openssl-devel
BuildRequires: pkg-config
BuildRequires: pwdutils
BuildRequires: sqlite3-devel
BuildRequires: xorg-x11-libXmu-devel
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-util)
BuildRequires: pkgconfig(xi)
Requires(pre): pwdutils
Requires(pre): shadow
Requires: ca-certificates-mozilla
Recommends: boinc-client-lang = %{version}
Recommends: logrotate
@ -243,8 +242,6 @@ rm -f %{buildroot}%{_sysconfdir}/sysconfig/%{name}
# Install init and create symlink for rcboinc
install -dm0755 %{buildroot}%{_sbindir}
install -D -m0644 %{SOURCE20} %{buildroot}%{_unitdir}/%{name}.service
# And remove sysvinit script installed by boinc
rm -r %{buildroot}/%{_initddir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
# Install template for sysconfig
install -Dm0644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.%{name}