Accepting request 512403 from home:jengelh:branches:devel:libraries:c_c++

- Fix RPM groups, trim summaries, drop pointless --with-pic.

OBS-URL: https://build.opensuse.org/request/show/512403
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdnet?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal 2017-07-25 06:30:45 +00:00 committed by Git OBS Bridge
parent 120f13a45e
commit eff707ce70
2 changed files with 16 additions and 13 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 25 00:45:47 UTC 2017 - jengelh@inai.de
- Fix RPM groups, trim summaries, drop pointless --with-pic.
-------------------------------------------------------------------
Mon Jul 17 08:10:34 UTC 2017 - tchvatal@suse.com

View File

@ -19,9 +19,9 @@
Name: libdnet
Version: 1.12
Release: 0
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
Summary: Library for Portable Interface to Low-Level Networking Routines
License: BSD-3-Clause
Group: Development/Libraries/Other
Group: Development/Libraries/C and C++
Url: https://github.com/dugsong/libdnet
Source0: https://github.com/dugsong/libdnet/archive/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM: properly name the dirs for new autoreconf to work
@ -36,7 +36,7 @@ BuildRequires: libtool
BuildRequires: python-devel
%description
libdnet provides a simplified, portable interface to several low-level
libdnet provides a portable interface to several low-level
networking routines, including:
* network address manipulation
* kernel arp(4) cache and route(4) table lookup and manipulation
@ -46,11 +46,11 @@ networking routines, including:
* raw IP packet and Ethernet frame transmission
%package -n libdnet1
Summary: Library for Simple, Portable Interface to Low Level Networking Routines
Group: Development/Libraries/Other
Summary: Library for Portable Interface to Low-Level Networking Routines
Group: System/Libraries
%description -n libdnet1
libdnet provides a simplified, portable interface to several low-level
libdnet provides a portable interface to several low-level
networking routines, including:
* network address manipulation
* kernel arp(4) cache and route(4) table lookup and manipulation
@ -60,13 +60,13 @@ networking routines, including:
* raw IP packet and Ethernet frame transmission
%package devel
Summary: Devel files for libdnet
Group: Development/Libraries/Other
Summary: Development files for libdnet
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libdnet1 = %{version}
%description devel
libdnet provides a simplified, portable interface to several low-level
libdnet provides a portable interface to several low-level
networking routines, including:
- network address manipulation
- kernel arp(4) cache and route(4) table lookup and manipulation
@ -77,7 +77,7 @@ networking routines, including:
%package python
Summary: Python bindings for libdnet
Group: Development/Libraries/Other
Group: Development/Languages/Python
Requires: libdnet1 = %{version}
%description python
@ -91,9 +91,7 @@ Dnet library Python 2 bindings.
%build
ACLOCAL="aclocal -I config" autoreconf -fvi
%configure \
--disable-static \
--with-pic
%configure --disable-static
make %{?_smp_mflags}
pushd python