SHA256
1
0
forked from pool/qrencode

Accepting request 143803 from KDE:Distro:Factory

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/143803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qrencode?expand=0&rev=12
This commit is contained in:
Stephan Kulow 2012-12-03 10:31:24 +00:00 committed by Git OBS Bridge
parent 67c046c9aa
commit 741aa51024
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Nov 25 10:40:40 UTC 2012 - cgiboudeaux@gmx.com
- Fix the SLES build:
* Replace 'pkgconfig(libpng)'
* Replace %make_install
* BuildRequires: pkg-config
-------------------------------------------------------------------
Thu Nov 8 18:07:12 UTC 2012 - cgiboudeaux@gmx.com

View File

@ -24,7 +24,12 @@ License: LGPL-2.1+
Group: Development/Libraries/C and C++
Url: http://fukuchi.org/works/qrencode/index.en.html
Source: http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
BuildRequires: pkg-config
%if !0%{?sles_version}
BuildRequires: pkgconfig(libpng)
%else
BuildRequires: libpng-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -59,7 +64,7 @@ The capacity of QR Code is up to 7000 digits or 4000 characters, and is highly r
make %{?_smp_mflags}
%install
%make_install
make DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_libdir}/*.la
%post -n libqrencode3 -p /sbin/ldconfig