#3 Spec file cleanup
Opened 5 months ago by robert. Modified 5 months ago
rpms/ robert/libmnl cleanup  into  rawhide

file modified
+5 -5
@@ -1,11 +1,11 @@ 

  Name:          libmnl

  Version:       1.0.4

  Release:       12%{?dist}

- Summary:       A minimalistic Netlink library

+ Summary:       Minimalistic Netlink library

  

  License:       LGPLv2+

- URL:           http://netfilter.org/projects/libmnl

- Source0:       http://netfilter.org/projects/libmnl/files/%{name}-%{version}.tar.bz2

+ URL:           https://netfilter.org/projects/libmnl/

+ Source0:       https://netfilter.org/projects/libmnl/files/%{name}-%{version}.tar.bz2

  

  BuildRequires: gcc

  BuildRequires: make
@@ -40,11 +40,11 @@ 

  

  %build

  %configure --enable-static

- make CFLAGS="%{optflags}" %{?_smp_mflags}

+ %make_build CFLAGS="%{optflags}"

  

  

  %install

- make install DESTDIR=$RPM_BUILD_ROOT

+ %make_install

  find $RPM_BUILD_ROOT -name '*.la' -delete

  find examples '(' -name 'Makefile.am' -o -name 'Makefile.in' ')' -delete

  find examples -type d -name '.deps' -prune -exec rm -rf {} ';'