diff --git a/libgtpnl.spec b/libgtpnl.spec index e9b63e0..dfcf5fd 100644 --- a/libgtpnl.spec +++ b/libgtpnl.spec @@ -44,13 +44,13 @@ Group: System/Libraries libgtpnl wraps the genetlink-based GPRS tunnel configuration of the Linux kernel into a C API. -%package -n libgtpnl-devel +%package devel Summary: Development files for the GPRS tunnel config library License: GPL-2.0+ and LGPL-2.1+ Group: Development/Libraries/C and C++ Requires: libgtpnl0 = %version -%description -n libgtpnl-devel +%description devel libgtpnl wraps the genetlink-based GPRS tunnel configuration of the Linux kernel into a C API. @@ -69,6 +69,9 @@ make %{?_smp_mflags} %make_install rm -f "%buildroot/%_libdir"/*.la +%check +make %{?_smp_mflags} check + %post -n libgtpnl0 -p /sbin/ldconfig %postun -n libgtpnl0 -p /sbin/ldconfig @@ -76,7 +79,7 @@ rm -f "%buildroot/%_libdir"/*.la %defattr(-,root,root) %_libdir/libgtpnl.so.0* -%files -n libgtpnl-devel +%files devel %defattr(-,root,root) %doc COPYING %_includedir/libgtpnl/