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
|
Wed Jan 27 18:01:59 UTC 2021 - mustug385@gmail.com
|
||||||
|
|
||||||
|
35
qdl.spec
35
qdl.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package qdl
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,35 +12,36 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Name: qdl
|
||||||
Release: 0
|
Version: 1.0+git.20190503
|
||||||
License: BSD-3-Clause
|
Release: 0
|
||||||
Group: Development/Tools/Other
|
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 https://github.com/andersson/qdl/archive/master.tar.gz
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
Url: https://github.com/andersson/qdl
|
BuildRequires: gcc
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libudev-devel
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: gcc
|
|
||||||
Summary: A tool for flash images to Qualcomm based systems
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This tool communicates with USB devices of id 05c6:9008 to upload a flash
|
This tool communicates with USB devices of id 05c6:9008 to upload a flash
|
||||||
loader and use this to flash images. Mostly Qualcomm based systems.
|
loader and use this to flash images. Mostly Qualcomm based systems.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%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"
|
LDFLAGS="-lxml2 -lz -llzma -lm -ldl -ludev -pie"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install prefix="/usr"
|
%make_install prefix="%{_prefix}"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user