forked from pool/libvoikko
Accepting request 531620 from home:jengelh:branches:devel:libraries:c_c++
- Stop mixing %buildroot and $RPM_BUILD_ROOT. - Drop --with-pic which is a no-op with --disable-static. OBS-URL: https://build.opensuse.org/request/show/531620 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libvoikko?expand=0&rev=30
This commit is contained in:
parent
cbc759f7c0
commit
f53c449df7
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 5 11:18:38 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Stop mixing %buildroot and $RPM_BUILD_ROOT.
|
||||
- Drop --with-pic which is a no-op with --disable-static.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 4 07:54:42 UTC 2017 - tuukka.pasanen@ilmi.fi
|
||||
|
||||
|
@ -84,7 +84,6 @@ tasks on text.
|
||||
%build
|
||||
%configure \
|
||||
--disable-silent_rules \
|
||||
--with-pic \
|
||||
--disable-static \
|
||||
--with-dictionary-path=%{_libexecdir}/voikko:%{_datadir}/voikko
|
||||
make %{?_smp_mflags}
|
||||
@ -96,8 +95,8 @@ make %{?_smp_mflags} check || :
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{python3_sitelib}
|
||||
install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/
|
||||
install -d %{buildroot}/%{python3_sitelib}
|
||||
install -pm 0644 python/libvoikko.py %{buildroot}/%{python3_sitelib}/
|
||||
|
||||
%post -n libvoikko1 -p /sbin/ldconfig
|
||||
%postun -n libvoikko1 -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user