diff --git a/ibmtss.changes b/ibmtss.changes index 7443deb..cbdd98f 100644 --- a/ibmtss.changes +++ b/ibmtss.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Mar 27 13:19:08 UTC 2020 - Dominique Leuenberger + +- 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 + +- Fix dependencies for epoch, remove useless define. + ------------------------------------------------------------------- Fri Jan 31 11:53:40 UTC 2020 - Michal Suchanek diff --git a/ibmtss.spec b/ibmtss.spec index 7f956d4..fe4531f 100644 --- a/ibmtss.spec +++ b/ibmtss.spec @@ -17,14 +17,12 @@ # -%define suite ibmtss %define libversion 1 %define libversion_full 1.3.0 %define libname libibmtss %define libpkgname %{libname}%{libversion} Name: ibmtss -Epoch: 1 Version: 1.3.0 Release: 0 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 Group: Development/Libraries/C and C++ Requires: %{libpkgname} = %{version} -Requires: %{suite} = %{version} +Requires: %{name} = %{version} %description devel 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 %configure --enable-hwtpm --enable-debug --disable-static cd utils -%{_libexecdir}/%{suite}/tpm_server & tpm_server="$!" +%{_libexecdir}/%{name}/tpm_server & tpm_server="$!" CCFLAGS="%{optflags}" make LNAFLAGS="-Wl,-rpath,%{_libdir}" %{?_smp_mflags} testfailed=0 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 %make_install -mkdir -p %{buildroot}/%{_datadir}/%{suite} -cp -a policies certificates %{buildroot}/%{_datadir}/%{suite} +mkdir -p %{buildroot}/%{_datadir}/%{name} +cp -a policies certificates %{buildroot}/%{_datadir}/%{name} find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -name .cvsignore | xargs rm -v @@ -115,12 +113,12 @@ find %{buildroot} -name .cvsignore | xargs rm -v %files base %license LICENSE -%{_datadir}/%{suite} +%{_datadir}/%{name} %{_prefix}/lib/udev/rules.d/* %files devel %license LICENSE -%{_includedir}/%{suite} +%{_includedir}/%{name} %{_libdir}/%{libname}*.so %changelog