From 389480cb0396368fc1d6b186c9d35a3ced560cf82494d263fb6c48683967aac1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 25 Feb 2024 23:24:58 +0000 Subject: [PATCH] remove old constructs OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=42 --- libvmime.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libvmime.spec b/libvmime.spec index 0c93f97..a8a8087 100644 --- a/libvmime.spec +++ b/libvmime.spec @@ -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