Remove redundant/unwanted tags/section (cf. specfile guidelines); %_smp_mflags
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libedit?expand=0&rev=41
This commit is contained in:
parent
b3ccf5c58f
commit
506ad7aebd
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 13 14:49:40 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
|
||||
- Use %_smp_mflags for parallel building
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 13 09:15:50 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
33
libedit.spec
33
libedit.spec
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: libedit
|
||||
@ -31,7 +30,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++ ncurses-devel pkgconfig
|
||||
BuildRequires: libtool
|
||||
#
|
||||
Url: http://www.thrysoee.dk/editline/
|
||||
URL: http://www.thrysoee.dk/editline/
|
||||
# http://www.thrysoee.dk/editline/%{pkg_name}-%{pkg_version}.tar.gz
|
||||
Source: %{pkg_name}-%{pkg_version}.tar.bz2
|
||||
Source1: README.SuSE
|
||||
@ -46,23 +45,13 @@ libedit is a command line editing and history library. It is designed
|
||||
to be used by interactive programs that allow the user to type commands
|
||||
at a terminal prompt.
|
||||
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jess Thrysoee
|
||||
|
||||
%define library_name libedit0
|
||||
%define soname 0
|
||||
|
||||
%package -n %{library_name}
|
||||
|
||||
License: BSD3c
|
||||
Group: Development/Libraries/C and C++
|
||||
Provides: %{pkg_name} = %{version}-%{release}
|
||||
Obsoletes: %{pkg_name} < %{version}
|
||||
#
|
||||
Summary: Command Line Editing and History Library
|
||||
|
||||
%description -n %{library_name}
|
||||
@ -70,20 +59,11 @@ libedit is a command line editing and history library. It is designed
|
||||
to be used by interactive programs that allow the user to type commands
|
||||
at a terminal prompt.
|
||||
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jess Thrysoee
|
||||
|
||||
%package -n libedit-devel
|
||||
License: BSD3c
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{library_name} = %{version}
|
||||
Provides: %{library_name}-devel = %{version}-%{release}
|
||||
Requires: glibc-devel
|
||||
#
|
||||
Summary: Development files for libedit
|
||||
|
||||
%description -n libedit-devel
|
||||
@ -93,12 +73,6 @@ at a terminal prompt.
|
||||
|
||||
This package holds the development files for libedit.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jess Thrysoee
|
||||
|
||||
%prep
|
||||
%setup -n %{pkg_name}-%{pkg_version}
|
||||
%{__cp} %{S:1} .
|
||||
@ -111,15 +85,12 @@ NOCONFIGURE=1 autoreconf -fiv
|
||||
--disable-silent-rules \
|
||||
--enable-widec
|
||||
|
||||
%__make %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%__rm "%{buildroot}%{_libdir}"/*.la
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user