diff --git a/libedit.spec b/libedit.spec index 0177c60..ab55f81 100644 --- a/libedit.spec +++ b/libedit.spec @@ -1,7 +1,7 @@ # -# spec file for package libedit (Version 3.0.snap20100424) +# spec file for package libedit # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: libedit Version: 3.0.snap20100424 -Release: 1 +Release: 7 %define pkg_name libedit %define pkg_version 20100424-3.0 # @@ -56,6 +56,7 @@ Authors: %package -n %{library_name} + License: BSD3c Group: Development/Libraries/C and C++ Provides: %{pkg_name} = %{version}-%{release} @@ -102,6 +103,7 @@ Authors: %{__cp} %{S:1} . %patch1 %patch2 + %build NOCONFIGURE=1 autoreconf -fiv %configure --disable-static --with-pic \ @@ -113,6 +115,7 @@ NOCONFIGURE=1 autoreconf -fiv %install %makeinstall %__rm "%{buildroot}%{_libdir}"/*.la + %clean %{?buildroot:%__rm -rf "%{buildroot}"}