- using a new url.lang to fix #195720
(https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=131352)
This commit is contained in:
parent
87de2944e0
commit
002f091174
3
source-highlight-url.lang
Normal file
3
source-highlight-url.lang
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
vardef URLPART = '[[:word:]\./\-_]+'
|
||||||
|
url = '(<?)' + $URLPART + '@' + $URLPART + '(>?)'
|
||||||
|
url = '[[:word:]]+://' + $URLPART
|
@ -1,11 +1,12 @@
|
|||||||
Summary: Produces a document with syntax highlighting
|
Summary: Produces a document with syntax highlighting
|
||||||
Name: source-highlight
|
Name: source-highlight
|
||||||
Version: 2.3
|
Version: 2.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
License: GPL
|
License: GPL
|
||||||
Source0: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.3.tar.gz
|
Source0: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.3.tar.gz
|
||||||
Source1: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.3.tar.gz.sig
|
Source1: ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.3.tar.gz.sig
|
||||||
|
Source2: source-highlight-url.lang
|
||||||
URL: http://www.gnu.org/software/src-highlite/
|
URL: http://www.gnu.org/software/src-highlite/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: bison, flex, boost-devel
|
BuildRequires: bison, flex, boost-devel
|
||||||
@ -23,6 +24,7 @@ escape sequences as output format.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
cp %{SOURCE2} src/url.lang
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
@ -60,6 +62,10 @@ fi
|
|||||||
%{_infodir}/source-highlight.info*
|
%{_infodir}/source-highlight.info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 21 2006 Adrian Reber <adrian@lisas.de> - 2.3-2
|
||||||
|
- using a new url.lang to fix #195720
|
||||||
|
(https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=131352)
|
||||||
|
|
||||||
* Sun Mar 12 2006 Adrian Reber <adrian@lisas.de> - 2.3-1
|
* Sun Mar 12 2006 Adrian Reber <adrian@lisas.de> - 2.3-1
|
||||||
- updated to 2.3
|
- updated to 2.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user