]> git.pld-linux.org Git - packages/cdecl.git/blobdiff - cdecl.spec
- glibc patch: resolve getopt declaration conflict
[packages/cdecl.git] / cdecl.spec
index 0ad9fe75328d01354a0ff5791fc5cc732510f9bd..44418bb8f7da2e669381d572f4292dcb2cfed440 100644 (file)
@@ -5,15 +5,17 @@ Summary(pl):  Programy do kodowania i dekodowania deklaracji funkcji w C i C++
 Summary(tr):   Ýngilizceden C/C++ bildirimlerine çevirici
 Name:          cdecl
 Version:       2.5
-Release:       20
-License:       Distributable
+Release:       21
+License:       distributable
 Group:         Development/Tools
 Group(de):     Entwicklung/Werkzeuge
 Group(fr):     Development/Outils
 Group(pl):     Programowanie/Narzêdzia
 Source0:       ftp://sunsite.unc.edu/pub/Linux/devel/lang/c/%{name}-%{version}.tar.gz
 Patch0:                %{name}-misc.patch
-BuildRequires: byacc
+Patch1:                %{name}-glibc.patch
+BuildRequires: flex
+BuildRequires: bison
 BuildRequires: readline-devel >= 4.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -41,9 +43,11 @@ kullan
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
+bison -y cdgram.y && mv -f y.tab.c cdgram.c
 %{__make} CFLAGS="%{rpmcflags} %{rpmldflags} -DUSE_READLINE" \
        LIBS="-lreadline -ltinfo"
 
This page took 0.061399 seconds and 4 git commands to generate.