SHA256
1
0
forked from pool/ell

undo superficial cleaning

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ell?expand=0&rev=18
This commit is contained in:
Jan Engelhardt 2019-04-06 14:50:27 +00:00 committed by Git OBS Bridge
parent 375dddaca5
commit 0717ec5bcf
2 changed files with 17 additions and 19 deletions

View File

@ -7,7 +7,6 @@ Thu Apr 4 17:17:50 UTC 2019 - Alexei Sorokin <sor.alexei@meowr.ru>
* Add support for the TLS version range configuration. * Add support for the TLS version range configuration.
* Add support for time utility functions. * Add support for time utility functions.
- Remove unsigned-char.patch: fixed upstream. - Remove unsigned-char.patch: fixed upstream.
- Spec clean-up.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 15 09:29:34 UTC 2019 - Jan Engelhardt <jengelh@inai.de> Fri Mar 15 09:29:34 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -16,8 +16,8 @@
# #
%define sover 0
Name: ell Name: ell
%define lname libell0
Version: 0.18 Version: 0.18
Release: 0 Release: 0
Summary: Wireless setup and cryptography library Summary: Wireless setup and cryptography library
@ -25,30 +25,30 @@ License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://01.org/ell URL: https://01.org/ell
#Git-URL: https://git.kernel.org/pub/scm/libs/ell/ell.git/ #Git-URL: https://git.kernel.org/pub/scm/libs/ell/ell.git/
Source: https://mirrors.kernel.org/pub/linux/libs/ell/%{name}-%{version}.tar.xz Source: https://mirrors.kernel.org/pub/linux/libs/ell/%name-%version.tar.xz
Source2: https://mirrors.kernel.org/pub/linux/libs/ell/%{name}-%{version}.tar.sign Source2: https://mirrors.kernel.org/pub/linux/libs/ell/%name-%version.tar.sign
Source3: %{name}.keyring Source3: %name.keyring
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libtool >= 2.2 BuildRequires: libtool >= 2.2
BuildRequires: pkgconfig BuildRequires: pkg-config
BuildRequires: xz BuildRequires: xz
%description %description
The "Embedded Linux Library" implements an API for wireless The "Embedded Linux Library" implements an API for wireless
cryptography actions by using the kernel crypto API. cryptography actions by using the kernel crypto API.
%package -n lib%{name}%{sover} %package -n %lname
Summary: Wireless setup and cryptography library Summary: Wireless setup and cryptography library
Group: System/Libraries Group: System/Libraries
%description -n lib%{name}%{sover} %description -n %lname
The "Embedded Linux Library" implements an API for wireless The "Embedded Linux Library" implements an API for wireless
cryptography actions by using the kernel crypto API. cryptography actions by using the kernel crypto API.
%package devel %package devel
Summary: Development files for the ELL wireless setup/crypto library Summary: Development files for the ELL wireless setup/crypto library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: lib%{name}%{sover} = %{version} Requires: %lname = %version
%description devel %description devel
The "Embedded Linux Library" implements an API for wireless The "Embedded Linux Library" implements an API for wireless
@ -58,7 +58,7 @@ This subpackage contains libraries and header files for developing
applications that want to make use of ell. applications that want to make use of ell.
%prep %prep
%setup -q %autosetup -p1
%build %build
%configure %configure
@ -66,22 +66,21 @@ make %{?_smp_mflags} V=1
%install %install
%make_install %make_install
find %{buildroot} -type f -name "*.la" -delete -print rm -f "%buildroot/%_libdir"/*.la
%check %check
make %{?_smp_mflags} V=1 check || : make %{?_smp_mflags} V=1 check || :
%post -n lib%{name}%{sover} -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%postun -n lib%{name}%{sover} -p /sbin/ldconfig %files -n %lname
%files -n lib%{name}%{sover}
%license COPYING %license COPYING
%{_libdir}/lib%{name}.so.%{sover}* %_libdir/libell.so.*
%files devel %files devel
%{_libdir}/lib%{name}.so %_libdir/libell.so
%{_libdir}/pkgconfig/*.pc %_libdir/pkgconfig/*.pc
%{_includedir}/%{name}/ %_includedir/ell/
%changelog %changelog