Accepting request 717992 from home:sbrabec:branches:network
- Update to 20190723 snapshot of version 0.13: * no changes - Use pre-version tag, as the current snapshot is a pre-release. - Remove volatile URL from Source0. - Compile without strict aliasing to prevent breakage with new gcc. OBS-URL: https://build.opensuse.org/request/show/717992 OBS-URL: https://build.opensuse.org/package/show/network/elinks?expand=0&rev=13
This commit is contained in:
parent
4592a83a27
commit
a7b9be939a
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f933de8e32fe5c6c66d341bc3d74f1109d716812fe169667c6f37fd3d2ba925d
|
||||
size 2925189
|
||||
oid sha256:d01d380f414478c7cf52e19db4ade4e41d5e3fa94613fe14fbe41038ba461f91
|
||||
size 2926098
|
||||
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 20:49:14 CEST 2019 - sbrabec@suse.com
|
||||
|
||||
- Update to 20190723 snapshot of version 0.13:
|
||||
* no changes
|
||||
- Use pre-version tag, as the current snapshot is a pre-release.
|
||||
- Remove volatile URL from Source0.
|
||||
- Compile without strict aliasing to prevent breakage with new gcc.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 1 09:31:50 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
11
elinks.spec
11
elinks.spec
@ -16,18 +16,20 @@
|
||||
#
|
||||
|
||||
|
||||
%define pkg_version 0.13-20190401
|
||||
%define tar_version 0.13
|
||||
%define snapshot 20190723
|
||||
|
||||
%bcond_with js
|
||||
|
||||
Name: elinks
|
||||
Version: 0.13
|
||||
Version: %{tar_version}~0.%{snapshot}
|
||||
Release: 0
|
||||
Summary: An advanced and well-established feature-rich text mode web browser
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Networking/Web/Browsers
|
||||
Url: http://elinks.or.cz/
|
||||
Source0: http://elinks.or.cz/download/%{name}-current-%{version}.tar.bz2
|
||||
# Volatile download URL http://elinks.or.cz/download/%{name}-current-%{tar_version}.tar.bz2
|
||||
Source0: %{name}-current-%{tar_version}.tar.bz2
|
||||
Patch0: build-with-new-ruby.patch
|
||||
%if 0%{?suse_version} > 1140
|
||||
BuildRequires: gc-devel
|
||||
@ -66,7 +68,7 @@ and runs on a variety of platforms. Check the about page for a more complete
|
||||
description.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{pkg_version}
|
||||
%setup -q -n %{name}-%{tar_version}-%{snapshot}
|
||||
%patch0 -p1
|
||||
# Remove build time references so build-compare can do its work
|
||||
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
|
||||
@ -77,6 +79,7 @@ sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/vernum.c
|
||||
%build
|
||||
# required for ruby patch
|
||||
sh ./autogen.sh
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%configure \
|
||||
--sysconfdir=%{_sysconfdir}/elinks \
|
||||
--enable-bittorrent \
|
||||
|
Loading…
x
Reference in New Issue
Block a user