Skip to content
Snippets Groups Projects
Commit ac1e0b85 authored by Eric Cano's avatar Eric Cano
Browse files

Added post(un)install sctipts with ldconfig for packages with libraries.

parent bf0bf9ac
Branches
Tags
No related merge requests found
......@@ -146,6 +146,10 @@ The xroot plugin
%attr(0644,root,root) %config(noreplace) /etc/xrootd/xrootd-cta.cfg
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-frontend.conf
#Frontend installs libraries so we need ldconfig.
%post -n cta-frontend -p /sbin/ldconfig
%postun -n cta-frontend -p /sbin/ldconfig
%package -n cta-cli
Summary: CERN Tape Archive: command line interface
Group: Application/CTA
......@@ -180,6 +184,10 @@ The shared libraries
%attr(0755,root,root) %{_libdir}/libctatapereactorutils.so
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta_catalogue_db.conf.example
#CTA-lib installs libraries so we need ldconfig.
%post -n cta-lib -p /sbin/ldconfig
%postun -n cta-lib -p /sbin/ldconfig
%package -n cta-systemtests
Summary: CERN Tape Archive: unit and system tests with virtual tape drives
Group: Application/CTA
......@@ -219,6 +227,10 @@ Unit tests and system tests with virtual tape drives
%attr(0755,root,root) %{_libdir}/libctadaemonunittests-multiprocess.so
%attr(0644,root,root) %{_datadir}/%{name}-%{ctaVersion}/unittest/*.suppr
#cta-systemtests installs libraries so we need ldconfig.
%post -n cta-systemtests -p /sbin/ldconfig
%postun -n cta-systemtests -p /sbin/ldconfig
%package -n cta-catalogueutils
Summary: Utilities to faciliate working with the CTA catalogue
Group: Application/CTA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment