Accepting request 867292 from home:pluskalm:branches:devel:tools
- Polish spec file: * honor distribution flags * use more of macros OBS-URL: https://build.opensuse.org/request/show/867292 OBS-URL: https://build.opensuse.org/package/show/devel:tools/qdl?expand=0&rev=2
This commit is contained in:
parent
388ab4b61a
commit
725fd80b4a
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 27 19:26:54 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Polish spec file:
|
||||
* honor distribution flags
|
||||
* use more of macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 27 18:01:59 UTC 2021 - mustug385@gmail.com
|
||||
|
||||
|
31
qdl.spec
31
qdl.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package qdl
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,21 +12,22 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: qdl
|
||||
Version: 1.0+git.20190503
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Tools/Other
|
||||
|
||||
Name: qdl
|
||||
Version: 1.0+git.20190503
|
||||
Release: 0
|
||||
Summary: A tool for flash images to Qualcomm based systems
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Tools/Other
|
||||
URL: https://github.com/andersson/qdl
|
||||
#Source https://github.com/andersson/qdl/archive/master.tar.gz
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Url: https://github.com/andersson/qdl
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: gcc
|
||||
Summary: A tool for flash images to Qualcomm based systems
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libxml2-devel
|
||||
|
||||
%description
|
||||
This tool communicates with USB devices of id 05c6:9008 to upload a flash
|
||||
@ -36,11 +37,11 @@ loader and use this to flash images. Mostly Qualcomm based systems.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
make CFLAGS="-O2 -Wall -fpie -g -I/usr/include/libxml2" \
|
||||
%make_build CFLAGS="%{optflags} -fpie -g -I/usr/include/libxml2" \
|
||||
LDFLAGS="-lxml2 -lz -llzma -lm -ldl -ludev -pie"
|
||||
|
||||
%install
|
||||
%make_install prefix="/usr"
|
||||
%make_install prefix="%{_prefix}"
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
Loading…
x
Reference in New Issue
Block a user