Accepting request 160666 from network

- Override LIBDIR instead of moving the library manually (forwarded request 160574 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/160666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqxmpp?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2013-03-24 20:57:13 +00:00 committed by Git OBS Bridge
commit 85c98d4f93
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 22 10:33:12 UTC 2013 - schwab@suse.de
- Override LIBDIR instead of moving the library manually
-------------------------------------------------------------------
Mon Mar 11 19:35:36 UTC 2013 - dap.darkness@gmail.com
- update to 0.7.6

View File

@ -84,14 +84,11 @@ This packages provides documentation of Qxmpp library API.
%setup -q -n qxmpp-%{version}
%build
qmake PREFIX=%{_prefix} QMAKE_STRIP="" QMAKE_CXXFLAGS+="%{optflags}"
qmake PREFIX=%{_prefix} LIBDIR=%{_lib} QMAKE_STRIP= QMAKE_CXXFLAGS+="%{optflags}"
make %{?_smp_mflags}
%install
%makeinstall INSTALL_ROOT=%{buildroot}
%ifarch x86_64 ppc64
%__mv %{buildroot}/usr/{lib,lib64}
%endif
%fdupes %{buildroot}%{_datadir}/doc/qxmpp/
%post -n %{name}0 -p /sbin/ldconfig