remove old constructs

OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=42
This commit is contained in:
Jan Engelhardt 2024-02-25 23:24:58 +00:00 committed by Git OBS Bridge
parent e16221bf59
commit 389480cb03

View File

@ -31,7 +31,7 @@ Patch1: libvmime-nodatetime.diff
Patch2: libvmime-soname.diff
BuildRequires: cmake >= 2.8.3
BuildRequires: gcc-c++
%if 0%{?centos_version}
%if 0%{?rhel} || 0%{?fedora_version}
BuildRequires: gnutls-devel
%else
BuildRequires: libgnutls-devel
@ -127,8 +127,6 @@ cp -a doc/book/book.pdf "$b/%_docdir/%name/"
%endif
%cmake_install
find "$b" -type f -name "*.la" -delete
mkdir -p "$b/%_datadir"
#mv "$b/%_prefix/cmake" "$b/%_datadir/"
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig