fix libdir in pkgconfig file (#650373)
This commit is contained in:
parent
599c99f7ff
commit
14d4c89d8e
11
slang.spec
11
slang.spec
@ -1,7 +1,7 @@
|
||||
Summary: The shared library for the S-Lang extension language
|
||||
Name: slang
|
||||
Version: 2.2.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source: ftp://space.mit.edu/pub/davis/slang/v2.2/%{name}-%{version}.tar.bz2
|
||||
@ -72,6 +72,12 @@ head -n -1800 < changes.txt > changes.txt_ && tail -n 1800 < changes.txt | \
|
||||
--with-{pcre,onig,png,z}inc=%{_includedir} \
|
||||
;
|
||||
|
||||
sed -i -e 's|^prefix=.*|prefix=%{_prefix}|' \
|
||||
-e 's|^exec_prefix=.*|exec_prefix=%{_exec_prefix}|' \
|
||||
-e 's|^libdir=.*|libdir=%{_libdir}|' \
|
||||
-e 's|^includedir=.*|includedir=%{_includedir}|' \
|
||||
slang.pc
|
||||
|
||||
make %{?_smp_mflags} install_doc_dir=%{_docdir}/%{name}-%{version}
|
||||
|
||||
%install
|
||||
@ -119,6 +125,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_libdir}/libslang*.a
|
||||
|
||||
%changelog
|
||||
* Mon Nov 08 2010 Miroslav Lichvar <mlichvar@redhat.com> - 2.2.2-3
|
||||
- fix libdir in pkgconfig file (#650373)
|
||||
|
||||
* Wed Jul 21 2010 Miroslav Lichvar <mlichvar@redhat.com> - 2.2.2-2
|
||||
- move headers to /usr/include (#609977)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user