Clean spec
This commit is contained in:
parent
0dd26c67ed
commit
c87625a1cb
13
ypserv.spec
13
ypserv.spec
@ -7,11 +7,9 @@ Summary: The NIS (Network Information Service) server
|
|||||||
Url: http://www.linux-nis.org/nis/ypserv/index.html
|
Url: http://www.linux-nis.org/nis/ypserv/index.html
|
||||||
Name: ypserv
|
Name: ypserv
|
||||||
Version: 4.0
|
Version: 4.0
|
||||||
Release: 7.20170331git%{shortcommit0}%{?dist}
|
Release: 8.20170331git%{shortcommit0}%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
#Source0: http://www.linux-nis.org/download/ypserv/ypserv-%{version}.tar.bz2
|
|
||||||
#Source0: https://github.com/thkukuk/ypserv/archive/ypserv-%{version}.tar.gz#/ypserv-ypserv-%{version}.tar.gz
|
|
||||||
Source0: https://github.com/thkukuk/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
|
Source0: https://github.com/thkukuk/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
|
||||||
Source1: ypserv.service
|
Source1: ypserv.service
|
||||||
Source2: yppasswdd.service
|
Source2: yppasswdd.service
|
||||||
@ -36,7 +34,6 @@ Patch6: ypserv-4.0-manfix.patch
|
|||||||
Patch7: ypserv-2.24-aliases.patch
|
Patch7: ypserv-2.24-aliases.patch
|
||||||
Patch8: ypserv-2.27-confpost.patch
|
Patch8: ypserv-2.27-confpost.patch
|
||||||
Patch10: ypserv-2.31-netgrprecur.patch
|
Patch10: ypserv-2.31-netgrprecur.patch
|
||||||
Patch11: ypserv-2.32-systemdso.patch
|
|
||||||
Patch12: ypserv-4.0-headers.patch
|
Patch12: ypserv-4.0-headers.patch
|
||||||
Patch13: ypserv-4.0-oldaddr.patch
|
Patch13: ypserv-4.0-oldaddr.patch
|
||||||
|
|
||||||
@ -67,7 +64,7 @@ machines.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -n %{name}-%{commit0}
|
%setup -q -n %{name}-%{commit0}
|
||||||
|
|
||||||
%patch0 -p1 -b .redhat
|
%patch0 -p1 -b .redhat
|
||||||
%patch2 -p1 -b .nfsnobody
|
%patch2 -p1 -b .nfsnobody
|
||||||
@ -78,7 +75,6 @@ machines.
|
|||||||
%patch7 -p1 -b .aliases
|
%patch7 -p1 -b .aliases
|
||||||
%patch8 -p1 -b .confpost
|
%patch8 -p1 -b .confpost
|
||||||
%patch10 -p1 -b .netgrprecur
|
%patch10 -p1 -b .netgrprecur
|
||||||
#%patch11 -p1 -b .systemdso
|
|
||||||
%patch12 -b .headers
|
%patch12 -b .headers
|
||||||
%patch13 -p1 -b .oldaddr
|
%patch13 -p1 -b .oldaddr
|
||||||
|
|
||||||
@ -109,8 +105,6 @@ export CFLAGS="$RPM_OPT_FLAGS -fpic"
|
|||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
#make install ROOT=$RPM_BUILD_ROOT
|
|
||||||
#%make_install libexecdir=$RPM_BUILD_ROOT%{_libdir}/yp INSTALL_PROGRAM=install
|
|
||||||
%make_install
|
%make_install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
@ -248,6 +242,9 @@ fi
|
|||||||
%{_includedir}/rpcsvc
|
%{_includedir}/rpcsvc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 11 2018 Matej Mužila <mmuzila@redhat.com> - 4.0-8.20170331git5bfba76
|
||||||
|
- Clean spec
|
||||||
|
|
||||||
* Mon Jun 11 2018 Matej Mužila <mmuzila@redhat.com> - 4.0-7.20170331git5bfba76
|
* Mon Jun 11 2018 Matej Mužila <mmuzila@redhat.com> - 4.0-7.20170331git5bfba76
|
||||||
- Remove no longer needed relro patch
|
- Remove no longer needed relro patch
|
||||||
- Fix man pages
|
- Fix man pages
|
||||||
|
Loading…
Reference in New Issue
Block a user