Deprecate yppasswd

Deprecate yppasswd and use passwd instead (rhbz#2093381)
This commit is contained in:
Ondřej Sloup 2022-08-03 14:04:30 +02:00
parent 96414c8d51
commit 60bdb07460
1 changed files with 8 additions and 9 deletions

View File

@ -1,7 +1,7 @@
Summary: NIS (or YP) client programs
Name: yp-tools
Version: 4.2.3
Release: 13%{?dist}
Release: 14%{?dist}
License: GPLv2
Source: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz
Patch1: yp-tools-2.12-hash.patch
@ -46,13 +46,7 @@ Install yp-tools-devel package for developing applications that use yp-tools
%prep
%setup -q -n %{name}-%{version}
%patch1 -p1 -b .hash
%patch2 -p1 -b .crypt
%patch3 -p1 -b .adjunct
%patch4 -p1 -b .strict-prototypes
%patch5 -p1
%autosetup -n %{name}-%{version} -p1
autoreconf -i -f -v
@ -60,7 +54,8 @@ autoreconf -i -f -v
export CFLAGS="$CFLAGS %{optflags} -Wno-cast-function-type"
%configure --disable-domainname
# Deprecate yppasswd and use passwd instead (rhbz#2093381)
%configure --disable-domainname --enable-call-passwd
%make_build
@ -80,6 +75,10 @@ make DESTDIR="$RPM_BUILD_ROOT" INSTALL_PROGRAM=install install
/var/yp/nicknames
%changelog
* Wed Aug 03 2022 Ondrej Sloup <osloup@redhat.com> - 4.2.3-14
- Deprecate yppasswd (rhbz#2093381)
- Use autosetup
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild