Accepting request 401981 from home:adamm:branches:network

- Add %perl_requires to be certain that package rebuilds when
  perl is updated. This is causing elinks not to be rebuilt with
  factory and it can't find current libperl.so. See bnc#984661
  for details.

  Also some whitespace changes courtesy of vim.

OBS-URL: https://build.opensuse.org/request/show/401981
OBS-URL: https://build.opensuse.org/package/show/network/elinks?expand=0&rev=7
This commit is contained in:
Ismail Dönmez 2016-06-15 08:21:51 +00:00 committed by Git OBS Bridge
parent 23d5c63723
commit 28bcc67091
2 changed files with 17 additions and 5 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jun 14 14:46:59 UTC 2016 - adam.majer@suse.de
- Add %perl_requires to be certain that package rebuilds when
perl is updated. This is causing elinks not to be rebuilt with
factory and it can't find current libperl.so. See bnc#984661
for details.
-------------------------------------------------------------------
Tue Apr 26 09:51:59 UTC 2016 - sleep_walker@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package elinks
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define pkg_version 0.12pre6
%bcond_with js
@ -22,10 +23,10 @@
Name: elinks
Version: 0.11.996
Release: 0
License: GPL-2.0
Summary: An advanced and well-established feature-rich text mode web browser
Url: http://elinks.or.cz/
License: GPL-2.0
Group: Productivity/Networking/Web/Browsers
Url: http://elinks.or.cz/
Source0: http://elinks.or.cz/download/%{name}-%{pkg_version}.tar.bz2
# PATCH-FIX-UPSTREAM elinks-0.12_pre5-compilation-fix.patch asterios.dramis@gmail.com -- Fix compilation with gc (patch taken from Gentoo)
Patch0: elinks-0.12_pre5-compilation-fix.patch
@ -38,8 +39,8 @@ BuildRequires: gc-devel
%endif
BuildRequires: gpm-devel
%if %{with js}
BuildRequires: mozjs24-devel
BuildRequires: gcc-c++
BuildRequires: mozjs24-devel
%endif
BuildRequires: krb5-devel
BuildRequires: libbz2-devel
@ -50,14 +51,17 @@ BuildRequires: lua51-devel
%else
BuildRequires: lua-devel
%endif
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: openssl-devel
BuildRequires: pkg-config
BuildRequires: ruby-devel
BuildRequires: tre-devel
BuildRequires: zlib-devel
BuildRequires: automake autoconf libtool
Provides: web_browser
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%perl_requires
%description
ELinks is an advanced and well-established feature-rich text mode web