]> git.pld-linux.org Git - packages/glibc.git/blobdiff - glibc.spec
don't package crypt{,_r} man pages when building without crypt
[packages/glibc.git] / glibc.spec
index 4dbc0044d01bff7abf222ac289b3631f0b2521d1..69a3b0e1fbdd299ecf183559ce4b66bee3594c5a 100644 (file)
@@ -67,7 +67,7 @@ Source7:      %{name}-LD-path.c
 Source9:       nscd.tmpfiles
 # use branch.sh to update glibc-git.patch
 Patch0:                glibc-git.patch
-# Patch0-md5:  d41d8cd98f00b204e9800998ecf8427e
+# Patch0-md5:  74fe5d1f0d652a5c4d46e4c52edd8694
 # against GNU TP (libc domain)
 #Patch1:               %{name}-pl.po-update.patch
 Patch2:                %{name}-pld.patch
@@ -1300,6 +1300,11 @@ install -d $RPM_BUILD_ROOT%{_mandir}{,/ru,/es,/fr,/ja}/man2
 %{__rm} $RPM_BUILD_ROOT%{_mandir}/pl/man3/{alphasort,cfgetispeed,cfgetospeed,cfmakeraw,cfsetispeed,cfsetospeed,closelog,dn_comp,dn_expand,fscanf}.3
 %{__rm} $RPM_BUILD_ROOT%{_mandir}/tr/man3/{encrypt_r,setkey,setkey_r}.3
 
+%if %{without crypt}
+%{__rm} $RPM_BUILD_ROOT%{_mandir}{,/ja}/man3/crypt{,_r}.3
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/{de,es,fr,pl,pt,ru,tr}/man3/crypt.3
+%endif
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.083822 seconds and 4 git commands to generate.