#5 Conditional versioned Automake requirement
Opened 2 years ago by praiskup. Modified 2 years ago
rpms/ praiskup/libtool better-condition  into  rawhide

file modified
+5 -2
@@ -8,7 +8,7 @@ 

  Summary: The GNU Portable Library Tool

  Name:    libtool

  Version: 2.4.6

- Release: 40%{?dist}

+ Release: 41%{?dist}

  License: GPLv2+ and LGPLv2+ and GFDL

  URL:     http://www.gnu.org/software/libtool/

  
@@ -91,7 +91,7 @@ 

  

  %package ltdl-devel

  Summary: Tools needed for development using the GNU Libtool Dynamic Module Loader

- Requires: automake = %automake_version

+ Requires: (automake = %automake_version if automake)

  Requires: %{name}-ltdl = %{version}-%{release}

  License:  LGPLv2+

  
@@ -187,6 +187,9 @@ 

  

  

  %changelog

+ * Sat Mar 27 2021 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-41

+ - require appropriate automake only when automake is installed, rhbz#1813010

+ 

  * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-40

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

  

Use trick with conditional requirement, it's easier than playing with
explicit Conflicts (we'd have to play with intervals like
X < VERSION < Y).

Version: 2.4.6-41

Metadata