|
|
|
@ -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@gmail.com> - 0.3.1-5
|
|
|
|
|
- added missing ld config
|
|
|
|
|
|
|
|
|
|
* Sat Mar 01 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-4
|
|
|
|
|
- executable dynamically linked to the library (bug #1069048)
|
|
|
|
|
|
|
|
|
|