]> git.pld-linux.org Git - packages/libpcap.git/commitdiff
- updated to 0.8.3, removed obsolete ac25x patch auto/ac/libpcap-0_8_3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 31 Mar 2004 10:29:04 +0000 (10:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed workarounds, require tar 1.13.93

Changed files:
    libpcap.spec -> 1.58

libpcap.spec

index b97b26f6d2f91e199a84e9ced4e90c49b1c45efe..82efe08f713650011c4196898a0cc1b12fd8593c 100644 (file)
@@ -5,19 +5,20 @@ Summary(pt_BR):       A libpcap fornece acesso ao modo prom
 Summary(ru):   ðÒÅÄÏÓÔÁ×ÌÑÅÔ ÄÏÓÔÕРˠÓÅÔÅ×ÙÍ ÉÎÔÅÒÆÅÊÓÁÍ × promiscuous-ÒÅÖÉÍÅ
 Summary(uk):   îÁÄÁ¤ ÄÏÓÔÕРÄÏ ÍÅÒÅÖÅ×ÉÈ ¦ÎÔÅÒÆÅÊӦננpromiscuous-ÒÅÖÉͦ
 Name:          libpcap
-Version:       0.8.1
-Release:       2
+Version:       0.8.3
+Release:       1
 Epoch:         2
 License:       BSD
 Group:         Libraries
 Source0:       http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
-# Source0-md5: f03f588e1f0ba783004d76f60507cebd
+# Source0-md5: 56a9d4615d8354fcfe8cff8c8443c77b
 Patch0:                %{name}-shared.patch
-Patch1:                %{name}-ac25x.patch
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake
 BuildRequires: bison
 BuildRequires: flex
+# beware of tar 1.13.9[12] madness (tarball contains libpcap-0.8.3/./* paths)
+BuildRequires: tar >= 1:1.13.93
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     libpcap0
 
@@ -71,7 +72,7 @@ Summary(pt_BR):       Bibliotecas e arquivos de inclus
 Summary(ru):   èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÐÒÏÇÒÁÍÉÓÔÁ ÄÌÑ libpcap
 Summary(uk):   èÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ libpcap
 Group:         Development/Libraries
-Requires:      %{name} = %{epoch}:%{version}
+Requires:      %{name} = %{epoch}:%{version}-%{release}
 Obsoletes:     libpcap0-devel
 
 %description devel
@@ -110,7 +111,7 @@ Summary(pt_BR):     Biblioteca est
 Summary(ru):   óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ libpcap
 Summary(uk):   óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ libpcap
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{epoch}:%{version}
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 
 %description static
 Libpcap provides a portable framework for low-level network
@@ -138,15 +139,10 @@ Biblioteka statyczna libpcap.
 óÔÁÔÉÞÎÁ Â¦Â̦ÏÔÅËÁ, ÎÅÏÂȦÄÎÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpcap.
 
 %prep
-# -c because of "tar: Removing leading `libpcap-0.8.1/./' from member names"
-%setup -q -c
-# tar < 1.13.9x compat
-[ -f configure ] || cd %{name}-%{version}
+%setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
-[ -f configure ] || cd %{name}-%{version}
 cp -f /usr/share/automake/config.sub .
 %{__autoconf}
 %configure \
@@ -156,10 +152,6 @@ cp -f /usr/share/automake/config.sub .
 
 %install
 rm -rf $RPM_BUILD_ROOT
-if [ ! -f configure ]; then
-       mv -f %{name}-%{version}/{CHANGES,CREDITS,LICENSE,README} .
-       cd %{name}-%{version}
-fi
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
This page took 0.045602 seconds and 4 git commands to generate.