]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - libdb/libdb.nm
libdb + db4: The devel packages should conflict each other.
[ipfire-3.x.git] / libdb / libdb.nm
index 9fd650894ccfc62618eb796cc35e39612f20d12f..bee134c56457a098baee0072dc6cff99d008f8b7 100644 (file)
@@ -8,7 +8,7 @@ version_major = 5
 version_minor = 2
 version_patch = 36
 version    = %{version_major}.%{version_minor}.%{version_patch}
-release    = 2
+release    = 3
 thisapp    = db-%{version}
 
 soversion  = %{version_major}.%{version_minor}
@@ -87,6 +87,12 @@ packages
        package %{name}-devel
                template DEVEL
 
+               # You cannot install libdb-devel and db4-devel
+               # at the same time.
+               conflicts
+                       db4-devel
+               end
+
                files += !%{libdir}/libdb-%{soversion}.so
                files += !%{libdir}/libdb_sql-%{soversion}.so
        end