From 4e584f8cd362d4d01c9dfdfebc03e45bcaa32787 Mon Sep 17 00:00:00 2001 From: Dridi Boukelmoune Date: Sun, 16 Mar 2014 16:21:57 +0100 Subject: [PATCH] added missing ld config --- ShellCheck.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/ShellCheck.spec b/ShellCheck.spec index c1af886..1d5f399 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -2,7 +2,7 @@ Name: %{pkg_name} Version: 0.3.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Tool for checking common errors in POSIX shell scripts License: AGPLv3+ @@ -85,11 +85,22 @@ make shellcheck.1 install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %endif +mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d +echo %{ghclibdir}/%{name}-%{version} > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf + %check make .tests +%post -n ghc-%{name} +%{_sbindir}/ldconfig + + +%postun -n ghc-%{name} +%{_sbindir}/ldconfig + + %post -n ghc-%{name}-devel %ghc_pkg_recache @@ -112,6 +123,7 @@ make .tests %files -n ghc-%{name} -f ghc-%{name}.files %{_pkgdocdir}/LICENSE %{_pkgdocdir}/README +%config %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files @@ -120,6 +132,9 @@ make .tests %changelog +* Sun Feb 16 2014 Dridi - 0.3.1-5 +- added missing ld config + * Sat Mar 01 2014 Dridi - 0.3.1-4 - executable dynamically linked to the library (bug #1069048)