[ShellCheck/f19] added missing ld config
Dridi Boukelmoune
dridi at fedoraproject.org
Sun Mar 16 15:25:39 UTC 2014
commit 4e584f8cd362d4d01c9dfdfebc03e45bcaa32787
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Sun Mar 16 16:21:57 2014 +0100
added missing ld config
ShellCheck.spec | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
---
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 <dridi.boukelmoune at gmail.com> - 0.3.1-5
+- added missing ld config
+
* Sat Mar 01 2014 Dridi <dridi.boukelmoune at gmail.com> - 0.3.1-4
- executable dynamically linked to the library (bug #1069048)
More information about the scm-commits
mailing list