Accepting request 540687 from home:avindra

- update to 2.15 (see ChangeLog for release notes and all changes
  since 2.4)
- switch to new github url
- run spec-cleaner
- drop all patches
  * axel-fix_buffer_overflow.patch
    + upstreamed in 425dd156b76f2377a3e386324c282bdcdac90a40
  * axel-getaddrinfo.patch
    + upstreamed in cc1142b8de01e182cbaf4cc8a606c80696d8c0b8
  * axel-fix-url-max-length.patch
    + upstreamed in ce40ee76c25a84f386128927fcd0bab4e9751268
  * axel-2.4-configure.patch
    + unneeded

OBS-URL: https://build.opensuse.org/request/show/540687
OBS-URL: https://build.opensuse.org/package/show/network:utilities/axel?expand=0&rev=8
This commit is contained in:
Sebastian Wagner 2017-11-11 10:02:51 +00:00 committed by Git OBS Bridge
parent 1923b8f004
commit e9c112c832
3 changed files with 27 additions and 25 deletions

3
axel-2.15.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70daa27abca5a3f1abe4be833d8f64205ac422416f5bcf396856eb6dd0fe9194
size 188132

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sat Nov 11 04:06:28 UTC 2017 - aavindraa@gmail.com
- update to 2.15 (see ChangeLog for release notes and all changes
since 2.4)
- switch to new github url
- run spec-cleaner
- drop all patches
* axel-fix_buffer_overflow.patch
+ upstreamed in 425dd156b76f2377a3e386324c282bdcdac90a40
* axel-getaddrinfo.patch
+ upstreamed in cc1142b8de01e182cbaf4cc8a606c80696d8c0b8
* axel-fix-url-max-length.patch
+ upstreamed in ce40ee76c25a84f386128927fcd0bab4e9751268
* axel-2.4-configure.patch
+ unneeded
-------------------------------------------------------------------
Wed Apr 12 13:46:32 UTC 2017 - sebix+novell.com@sebix.at

View File

@ -17,20 +17,14 @@
Name: axel
Version: 2.4
Version: 2.15
Release: 0
Summary: Lightweight Download Accelerator
License: GPL-2.0+
Group: Productivity/Networking/Other
Url: http://axel.alioth.debian.org/
Source: axel-%{version}.tar.bz2
Patch1: axel-fix_buffer_overflow.patch
Patch2: axel-getaddrinfo.patch
# PATCH-FIX-OPENSUSE axel-2.4-configure.patch andreas.stieger@gmx.de -- fix to accept and ignore --disable-dependency-tracking
Patch3: axel-2.4-configure.patch
# PATCH-FIX-OPENSUSE axel-fix-url-max-length.patch sebix+novell@sebix.at -- fix to accept longer URLs
Patch4: axel-fix-url-max-length.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: https://github.com/axel-download-accelerator/axel/releases/download/v%{version}/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig(openssl)
%description
Axel tries to accelerate HTTP/FTP downloading process by using multiple
@ -40,31 +34,19 @@ byte-critical systems.
%prep
%setup -q
%patch1
%patch2
%patch3
%patch4
%build
%configure \
--debug=0 \
--strip=0 \
--i18n=1
%configure
make %{?_smp_mflags}
%install
%make_install
rm -rf "%{buildroot}%{_mandir}/zh_CN"
%find_lang axel
%files -f axel.lang
%defattr(-,root,root)
%doc CHANGES
%config %{_sysconfdir}/axelrc
%{_bindir}/axel
%{_mandir}/man1/axel.1%{ext_man}
%doc ChangeLog
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{ext_man}
%changelog