Accepting request 566607 from home:vitezslav_cizek:branches:security

- Update to version 0.6.0-dev1
  * no upstream changelog
  * fix build with openssl 1.1 (bsc#1074801)
- fix rpm group

OBS-URL: https://build.opensuse.org/request/show/566607
OBS-URL: https://build.opensuse.org/package/show/security/libtpms?expand=0&rev=13
This commit is contained in:
Marcus Meissner 2018-01-22 16:25:33 +00:00 committed by Git OBS Bridge
parent b81b72912b
commit cf3e340b01
4 changed files with 32 additions and 28 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jan 17 12:05:51 UTC 2018 - vcizek@suse.com
- Update to version 0.6.0-dev1
* no upstream changelog
* fix build with openssl 1.1 (bsc#1074801)
- fix rpm group
-------------------------------------------------------------------
Sat Mar 21 11:50:03 UTC 2015 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libtpms
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,48 +15,47 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define lname libtpms0
%define lname libtpms0
Name: libtpms
Version: 0.5.2
Version: 0.6.0
Release: 0
Summary: Library providing Trusted Platform Module (TPM) functionality
License: BSD-3-Clause
Group: Development/Libraries
Group: Development/Libraries/C and C++
Url: https://github.com/stefanberger/libtpms
Source0: https://github.com/stefanberger/libtpms/archive/v%{version}.tar.gz
Source0: https://github.com/stefanberger/libtpms/archive/v%{version}-dev1.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: mozilla-nspr-devel
BuildRequires: openssl-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig
%description
A library providing TPM functionality for VMs. Targeted for integration
into Qemu.
%package -n %lname
%package -n %{lname}
Summary: Library providing Trusted Platform Module (TPM) functionality
License: BSD-3-Clause
Group: Development/Libraries
Group: Development/Libraries/C and C++
%description -n %lname
%description -n %{lname}
A library providing TPM functionality for VMs. Targeted for integration
into Qemu.
%package devel
Summary: Include files for libtpms
Group: Development/Libraries
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
Requires: libopenssl-devel mozilla-nspr-devel
Requires: libopenssl-devel
Requires: mozilla-nspr-devel
%description devel
Libtpms header files and documentation.
%prep
%setup -q
%setup -q -n libtpms-%{version}-dev1
%build
./bootstrap.sh
@ -67,27 +66,24 @@ Libtpms header files and documentation.
make %{?_smp_mflags}
%check
make check
make %{?_smp_mflags} check
%install
install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}
install -d -m 0755 $RPM_BUILD_ROOT%{_includedir}/libtpms
install -d -m 0755 $RPM_BUILD_ROOT%{_mandir}/man3
install -d -m 0755 %{buildroot}%{_libdir}
install -d -m 0755 %{buildroot}%{_includedir}/libtpms
install -d -m 0755 %{buildroot}%{_mandir}/man3
make %{?_smp_mflags} install DESTDIR=${RPM_BUILD_ROOT}
%make_install
%post -n %lname -p /sbin/ldconfig
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-, root, root, -)
%files -n %{lname}
%doc LICENSE README CHANGES
%{_libdir}/%{name}.so.%{version}
%{_libdir}/%{name}.so.0
%files devel
%defattr(-, root, root, -)
%{_libdir}/%{name}.so
%{_libdir}/%{name}.la
%dir %{_includedir}/%{name}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d62e521fb26c1c04dd7b80f54754f454f135f5240e52e3b9eec0b0aad02cc6c6
size 588670

3
v0.6.0-dev1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63dd8f6721e19afc9dc4984e3794674d0761eb2053f496128ddf7ad4341153a4
size 1118827