- Make building more verbose

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/zbar?expand=0&rev=34
This commit is contained in:
Martin Pluskal 2019-02-15 09:08:32 +00:00 committed by Git OBS Bridge
parent 8cd15da1fd
commit d719147482
2 changed files with 11 additions and 8 deletions

View File

@ -33,6 +33,7 @@ Fri Feb 15 08:14:02 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
* gtk/zbargtk: add a missing check if zbar->window is not null * gtk/zbargtk: add a missing check if zbar->window is not null
- Remove accidentaly introduced build dependency on python2 - Remove accidentaly introduced build dependency on python2
- We no longer need to generate configure - We no longer need to generate configure
- Make building more verbose
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 23 16:13:22 UTC 2019 - info@paolostivanin.com Wed Jan 23 16:13:22 UTC 2019 - info@paolostivanin.com

View File

@ -39,7 +39,7 @@ BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xv) BuildRequires: pkgconfig(xv)
@ -101,15 +101,14 @@ applications using the zbar-qt library.
--docdir=%{_docdir}/%{name} \ --docdir=%{_docdir}/%{name} \
--disable-static \ --disable-static \
--without-java \ --without-java \
--without-python \ --without-python2 \
--without-gtk \ --without-gtk
--without-xshm
# rpath # rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool #sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool #sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags} make %{?_smp_mflags} V=1
%install %install
%make_install %make_install
@ -117,13 +116,16 @@ find %{buildroot} -name "*.la" -or -name "*.a" | xargs rm -f
rm -rf %{buildroot}%{_datadir}/doc/zbar-%{version}/ rm -rf %{buildroot}%{_datadir}/doc/zbar-%{version}/
rm -f %{buildroot}%{_docdir}/zbar/{COPYING,LICENSE,INSTALL} rm -f %{buildroot}%{_docdir}/zbar/{COPYING,LICENSE,INSTALL}
# Lets wait for review first
rm -rf %{buildroot}%{_sysconfdir}/dbus-1/system.d/org.linuxtv.Zbar.conf
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
%post -n libzbarqt0 -p /sbin/ldconfig %post -n libzbarqt0 -p /sbin/ldconfig
%postun -n libzbarqt0 -p /sbin/ldconfig %postun -n libzbarqt0 -p /sbin/ldconfig
%files %files
%doc NEWS
%license COPYING LICENSE %license COPYING LICENSE
%{_defaultdocdir}/%{name}/ %{_defaultdocdir}/%{name}/
%{_bindir}/zbarimg %{_bindir}/zbarimg