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
|
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/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: libedit
|
Name: libedit
|
||||||
@ -31,7 +30,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: gcc-c++ ncurses-devel pkgconfig
|
BuildRequires: gcc-c++ ncurses-devel pkgconfig
|
||||||
BuildRequires: libtool
|
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
|
# http://www.thrysoee.dk/editline/%{pkg_name}-%{pkg_version}.tar.gz
|
||||||
Source: %{pkg_name}-%{pkg_version}.tar.bz2
|
Source: %{pkg_name}-%{pkg_version}.tar.bz2
|
||||||
Source1: README.SuSE
|
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
|
to be used by interactive programs that allow the user to type commands
|
||||||
at a terminal prompt.
|
at a terminal prompt.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Jess Thrysoee
|
|
||||||
|
|
||||||
%define library_name libedit0
|
%define library_name libedit0
|
||||||
%define soname 0
|
%define soname 0
|
||||||
|
|
||||||
%package -n %{library_name}
|
%package -n %{library_name}
|
||||||
|
|
||||||
License: BSD3c
|
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Provides: %{pkg_name} = %{version}-%{release}
|
Provides: %{pkg_name} = %{version}-%{release}
|
||||||
Obsoletes: %{pkg_name} < %{version}
|
Obsoletes: %{pkg_name} < %{version}
|
||||||
#
|
|
||||||
Summary: Command Line Editing and History Library
|
Summary: Command Line Editing and History Library
|
||||||
|
|
||||||
%description -n %{library_name}
|
%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
|
to be used by interactive programs that allow the user to type commands
|
||||||
at a terminal prompt.
|
at a terminal prompt.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Jess Thrysoee
|
|
||||||
|
|
||||||
%package -n libedit-devel
|
%package -n libedit-devel
|
||||||
License: BSD3c
|
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{library_name} = %{version}
|
Requires: %{library_name} = %{version}
|
||||||
Provides: %{library_name}-devel = %{version}-%{release}
|
Provides: %{library_name}-devel = %{version}-%{release}
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
#
|
|
||||||
Summary: Development files for libedit
|
Summary: Development files for libedit
|
||||||
|
|
||||||
%description -n libedit-devel
|
%description -n libedit-devel
|
||||||
@ -93,12 +73,6 @@ at a terminal prompt.
|
|||||||
|
|
||||||
This package holds the development files for libedit.
|
This package holds the development files for libedit.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Jess Thrysoee
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{pkg_name}-%{pkg_version}
|
%setup -n %{pkg_name}-%{pkg_version}
|
||||||
%{__cp} %{S:1} .
|
%{__cp} %{S:1} .
|
||||||
@ -111,15 +85,12 @@ NOCONFIGURE=1 autoreconf -fiv
|
|||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--enable-widec
|
--enable-widec
|
||||||
|
|
||||||
%__make %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%__rm "%{buildroot}%{_libdir}"/*.la
|
%__rm "%{buildroot}%{_libdir}"/*.la
|
||||||
|
|
||||||
%clean
|
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user