Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' into 'master'
[glibc] Add ldconfig to %post. Fixes JB#39841

See merge request !12
  • Loading branch information
saukko committed Oct 3, 2017
2 parents acfba00 + 30d512a commit fbae40c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions glibc.spec
Expand Up @@ -570,6 +570,8 @@ install -m 700 build-locale-archive $RPM_BUILD_ROOT/usr/sbin/build-locale-archiv
mkdir -p $RPM_BUILD_ROOT/var/cache/ldconfig
> $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%pre headers
Expand Down Expand Up @@ -609,9 +611,7 @@ fi
%dir %attr(0700,root,root) /var/cache/ldconfig
%attr(0600,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /var/cache/ldconfig/aux-cache
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
%doc README NEWS INSTALL BUGS PROJECTS CONFORMANCE
%doc COPYING COPYING.LIB LICENSES
%doc hesiod/README.hesiod


%ifnarch %{auxarches}
Expand All @@ -625,6 +625,8 @@ fi

%files -f devel.filelist devel
%defattr(-,root,root)
%doc README NEWS INSTALL BUGS PROJECTS CONFORMANCE
%doc hesiod/README.hesiod

%files -f static.filelist static
%defattr(-,root,root)
Expand Down

0 comments on commit fbae40c

Please sign in to comment.