Accepting request 160574 from devel:ARM:AArch64:Factory

- Override LIBDIR instead of moving the library manually

OBS-URL: https://build.opensuse.org/request/show/160574
OBS-URL: https://build.opensuse.org/package/show/network/libqxmpp?expand=0&rev=7
This commit is contained in:
Marcus Meissner 2013-03-23 08:19:36 +00:00 committed by Git OBS Bridge
parent 63ed52a415
commit 56afa4cba8
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 Mon Mar 11 19:35:36 UTC 2013 - dap.darkness@gmail.com
- update to 0.7.6 - update to 0.7.6

View File

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