forked from pool/ibmtss
Accepting request 789048 from security
OBS-URL: https://build.opensuse.org/request/show/789048 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ibmtss?expand=0&rev=14
This commit is contained in:
@@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 27 13:19:08 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Don't mess with Epoch: in the long run it can't but cause
|
||||||
|
problems. Upstreams that don't understand the meaning of version
|
||||||
|
numbers can't be helped with Epoch. Let's rely on the distro
|
||||||
|
features for dist-upgrade (that has no problem with a 'version
|
||||||
|
downgrade'.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 23 20:10:11 UTC 2020 - Michal Suchanek <msuchanek@suse.com>
|
||||||
|
|
||||||
|
- Fix dependencies for epoch, remove useless define.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 31 11:53:40 UTC 2020 - Michal Suchanek <msuchanek@suse.com>
|
Fri Jan 31 11:53:40 UTC 2020 - Michal Suchanek <msuchanek@suse.com>
|
||||||
|
|
||||||
|
14
ibmtss.spec
14
ibmtss.spec
@@ -17,14 +17,12 @@
|
|||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
%define suite ibmtss
|
|
||||||
%define libversion 1
|
%define libversion 1
|
||||||
%define libversion_full 1.3.0
|
%define libversion_full 1.3.0
|
||||||
%define libname libibmtss
|
%define libname libibmtss
|
||||||
%define libpkgname %{libname}%{libversion}
|
%define libpkgname %{libname}%{libversion}
|
||||||
|
|
||||||
Name: ibmtss
|
Name: ibmtss
|
||||||
Epoch: 1
|
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: IBM's TPM 2.0 TSS
|
Summary: IBM's TPM 2.0 TSS
|
||||||
@@ -68,7 +66,7 @@ Includes IBM's TPM 2.0 TSS certificates and policy files.
|
|||||||
Summary: IBM's TPM 2.0 TSS headers
|
Summary: IBM's TPM 2.0 TSS headers
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{libpkgname} = %{version}
|
Requires: %{libpkgname} = %{version}
|
||||||
Requires: %{suite} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Includes IBM's TPM 2.0 TSS C header files
|
Includes IBM's TPM 2.0 TSS C header files
|
||||||
@@ -80,7 +78,7 @@ Includes IBM's TPM 2.0 TSS C header files
|
|||||||
autoreconf -i
|
autoreconf -i
|
||||||
%configure --enable-hwtpm --enable-debug --disable-static
|
%configure --enable-hwtpm --enable-debug --disable-static
|
||||||
cd utils
|
cd utils
|
||||||
%{_libexecdir}/%{suite}/tpm_server & tpm_server="$!"
|
%{_libexecdir}/%{name}/tpm_server & tpm_server="$!"
|
||||||
CCFLAGS="%{optflags}" make LNAFLAGS="-Wl,-rpath,%{_libdir}" %{?_smp_mflags}
|
CCFLAGS="%{optflags}" make LNAFLAGS="-Wl,-rpath,%{_libdir}" %{?_smp_mflags}
|
||||||
testfailed=0
|
testfailed=0
|
||||||
TPM_INTERFACE_TYPE=socsim LD_LIBRARY_PATH=.libs ./reg.sh || testfailed=$?
|
TPM_INTERFACE_TYPE=socsim LD_LIBRARY_PATH=.libs ./reg.sh || testfailed=$?
|
||||||
@@ -92,8 +90,8 @@ install -m 644 -D -t %{buildroot}%{_prefix}/lib/udev/rules.d/ %{SOURCE1}
|
|||||||
cd utils
|
cd utils
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
mkdir -p %{buildroot}/%{_datadir}/%{suite}
|
mkdir -p %{buildroot}/%{_datadir}/%{name}
|
||||||
cp -a policies certificates %{buildroot}/%{_datadir}/%{suite}
|
cp -a policies certificates %{buildroot}/%{_datadir}/%{name}
|
||||||
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
find %{buildroot} -name .cvsignore | xargs rm -v
|
find %{buildroot} -name .cvsignore | xargs rm -v
|
||||||
@@ -115,12 +113,12 @@ find %{buildroot} -name .cvsignore | xargs rm -v
|
|||||||
|
|
||||||
%files base
|
%files base
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_datadir}/%{suite}
|
%{_datadir}/%{name}
|
||||||
%{_prefix}/lib/udev/rules.d/*
|
%{_prefix}/lib/udev/rules.d/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_includedir}/%{suite}
|
%{_includedir}/%{name}
|
||||||
%{_libdir}/%{libname}*.so
|
%{_libdir}/%{libname}*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user