diff --git a/_service b/_service
index 86aaa6e..dd6763f 100644
--- a/_service
+++ b/_service
@@ -1,14 +1,14 @@
-
+
https://github.com/andersson/qdl.git
git
enable
qdl
- 1.0+git.%cd
+ 1.0+git@TAG_OFFSET@.%cd
-
+
*.tar
xz
-
+
diff --git a/qdl-1.0+git.20190503.tar.xz b/qdl-1.0+git.20190503.tar.xz
deleted file mode 100644
index 2eab91c..0000000
--- a/qdl-1.0+git.20190503.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:211857cdaaccd7a0bf10546d75c278c11a2d3d9a295d8944e3b08fdcee9e6ba6
-size 11660
diff --git a/qdl-1.0+git49.20210507.tar.xz b/qdl-1.0+git49.20210507.tar.xz
new file mode 100644
index 0000000..4c6fa53
--- /dev/null
+++ b/qdl-1.0+git49.20210507.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:307da5792dc8cdd2e2d40408e66b832b10d1f38ed174b1cbb956db38454fef28
+size 12192
diff --git a/qdl.changes b/qdl.changes
index 8c6d08a..f0c0b7a 100644
--- a/qdl.changes
+++ b/qdl.changes
@@ -1,3 +1,18 @@
+-------------------------------------------------------------------
+Sun May 09 12:00:17 UTC 2021 - musfay@protonmail.com
+
+- Update to version 1.0+git.20210507:
+ * firehose: fix >4GB lseek file offsets
+ * firehose: call firehose_reset() in ufs provisioning path
+ * firehose: drain remaining logs in firehose_reset()
+ * firehose: Make "start_sector" a string again
+ * qdl: bail out with the sensible error if prog.mbn can not be opened
+ * util: allow hexadecimal values for attr_as_unsigned (fix ufs provisioning)
+ * firehose: Drain logs on write timeout
+ * firehose: Rework firehose_read
+ * fixup! program: Make start_sector unsigned in
+ * usb: Drop ununsed eot argument to qdl_write
+
-------------------------------------------------------------------
Wed Jan 27 19:26:54 UTC 2021 - Martin Pluskal
@@ -6,7 +21,7 @@ Wed Jan 27 19:26:54 UTC 2021 - Martin Pluskal
* use more of macros
-------------------------------------------------------------------
-Wed Jan 27 18:01:59 UTC 2021 - Mustafa Çalışkan
+Wed Jan 27 18:01:59 UTC 2021 - musfay@protonmail.com
- Update to version 1.0+git.20190503:
* qdl: Rework qdl_write to limit write sizes to out_maxpktsize
diff --git a/qdl.spec b/qdl.spec
index e5c6c90..bddd231 100644
--- a/qdl.spec
+++ b/qdl.spec
@@ -17,7 +17,7 @@
Name: qdl
-Version: 1.0+git.20190503
+Version: 1.0+git49.20210507
Release: 0
Summary: A tool for flash images to Qualcomm based systems
License: BSD-3-Clause
@@ -25,7 +25,6 @@ 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
-BuildRequires: gcc
BuildRequires: libudev-devel
BuildRequires: libxml2-devel
@@ -37,8 +36,8 @@ loader and use this to flash images. Mostly Qualcomm based systems.
%setup -q
%build
-%make_build CFLAGS="%{optflags} -fpie -g -I/usr/include/libxml2" \
- LDFLAGS="-lxml2 -lz -llzma -lm -ldl -ludev -pie"
+%make_build CFLAGS="%{optflags} %(xml2-config --cflags) -fpie -g" \
+ LDFLAGS="%{optflags} %(xml2-config --libs) -ludev -pie"
%install
%make_install prefix="%{_prefix}"
@@ -48,3 +47,4 @@ loader and use this to flash images. Mostly Qualcomm based systems.
%{_bindir}/%{name}
%changelog
+