Compare commits
No commits in common. "cc5b1758d787cb323c9cd5d0d4c7eb99b0e7c266" and "c996092e379e754fe1aecd094f8447acd75a6b29" have entirely different histories.
cc5b1758d7
...
c996092e37
BIN
ypserv-4.1.tar.gz
Normal file
BIN
ypserv-4.1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
35
ypserv.spec
35
ypserv.spec
@ -1,9 +1,9 @@
|
|||||||
Name: ypserv
|
Name: ypserv
|
||||||
Version: 4.2
|
Version: 4.1
|
||||||
Release: 2
|
Release: 4
|
||||||
Summary: The NIS server
|
Summary: The NIS server
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://github.com/thkukuk/ypserv
|
URL: http://www.linux-nis.org/nis/ypserv/index.html
|
||||||
Source0: https://github.com/thkukuk/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/thkukuk/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: ypserv.service
|
Source1: ypserv.service
|
||||||
Source2: yppasswdd.service
|
Source2: yppasswdd.service
|
||||||
@ -22,7 +22,7 @@ Patch8: ypserv-2.31-netgrprecur.patch
|
|||||||
Patch9: ypserv-4.0-headers.patch
|
Patch9: ypserv-4.0-headers.patch
|
||||||
Patch10: ypserv-4.0-selinux-context.patch
|
Patch10: ypserv-4.0-selinux-context.patch
|
||||||
|
|
||||||
BuildRequires: gcc systemd libxslt autoconf automake
|
BuildRequires: gcc git systemd libxslt autoconf automake
|
||||||
BuildRequires: docbook-style-xsl tokyocabinet-devel libnsl2-devel
|
BuildRequires: docbook-style-xsl tokyocabinet-devel libnsl2-devel
|
||||||
BuildRequires: libtirpc-devel systemd-devel libselinux-devel
|
BuildRequires: libtirpc-devel systemd-devel libselinux-devel
|
||||||
Requires: tokyocabinet gawk make portmap bash >= 2.0
|
Requires: tokyocabinet gawk make portmap bash >= 2.0
|
||||||
@ -44,7 +44,7 @@ BuildArch: noarch
|
|||||||
The help package contains doc files for ypserv.
|
The help package contains doc files for ypserv.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1 -S git
|
||||||
rm -f etc/netgroup.5 etc/ypserv.conf.5 makedbm/makedbm.8 mknetid/mknetid.8
|
rm -f etc/netgroup.5 etc/ypserv.conf.5 makedbm/makedbm.8 mknetid/mknetid.8
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
|
|
||||||
@ -52,10 +52,6 @@ autoreconf -i
|
|||||||
cp etc/README etc/README.etc
|
cp etc/README etc/README.etc
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fpic"
|
export CFLAGS="$RPM_OPT_FLAGS -fpic"
|
||||||
|
|
||||||
%if "%toolchain" == "clang"
|
|
||||||
export CFLAGS="$CFLAGS -Wno-error=strict-prototypes"
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%configure --enable-checkroot --enable-fqdn --libexecdir=%{_libdir}/yp \
|
%configure --enable-checkroot --enable-fqdn --libexecdir=%{_libdir}/yp \
|
||||||
--with-dbmliborder=tokyocabinet --localstatedir=%{_localstatedir} --with-selinux
|
--with-dbmliborder=tokyocabinet --localstatedir=%{_localstatedir} --with-selinux
|
||||||
%make_build
|
%make_build
|
||||||
@ -109,27 +105,6 @@ install -m 644 etc/ypserv.conf %{buildroot}/%{_sysconfdir}
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Apr 20 2023 jammyjellyfish <jammyjellyfish255@outlook.com> - 4.2-2
|
|
||||||
- Type:requirement
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC:Fix clang build error
|
|
||||||
|
|
||||||
* Tue Nov 15 2022 xingwei <xingwei14@h-partners.com> - 4.2-1
|
|
||||||
- Type:requirement
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC:upgrade ypserv to 4.2
|
|
||||||
|
|
||||||
* Thu Aug 12 2021 yanglu <yanglu72@huawei.com> - 4.1-6
|
|
||||||
- DESC:delete -S git from %autosetup,and delete BuildRequires git
|
|
||||||
|
|
||||||
* Tue Dec 15 2020 xihaochen <xihaochen@huawei.com> - 4.1-5
|
|
||||||
- Type:requirement
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC:update url
|
|
||||||
|
|
||||||
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.1-4
|
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.1-4
|
||||||
- optimization the spec
|
- optimization the spec
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: github
|
|
||||||
src_repo: thkukuk/ypserv
|
|
||||||
tag_prefix: ^v
|
|
||||||
seperator: .
|
|
||||||
Loading…
x
Reference in New Issue
Block a user