mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	rpm: Silence "unversioned Obsoletes" warnings on EL 9
Get rid of RPM warnings on AlmaLinux 9: "It's not recommended to have unversioned Obsoletes" Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #13584 Closes #13638
This commit is contained in:
		
							parent
							
								
									e1b49e3f1d
								
							
						
					
					
						commit
						f48d9b4269
					
				| @ -31,7 +31,7 @@ Requires(post): gcc, make, perl, diffutils | |||||||
| %if 0%{?rhel}%{?fedora}%{?mageia}%{?suse_version} | %if 0%{?rhel}%{?fedora}%{?mageia}%{?suse_version} | ||||||
| Requires:       kernel-devel >= @ZFS_META_KVER_MIN@, kernel-devel <= @ZFS_META_KVER_MAX@.999 | Requires:       kernel-devel >= @ZFS_META_KVER_MIN@, kernel-devel <= @ZFS_META_KVER_MAX@.999 | ||||||
| Requires(post): kernel-devel >= @ZFS_META_KVER_MIN@, kernel-devel <= @ZFS_META_KVER_MAX@.999 | Requires(post): kernel-devel >= @ZFS_META_KVER_MIN@, kernel-devel <= @ZFS_META_KVER_MAX@.999 | ||||||
| Obsoletes:      spl-dkms | Obsoletes:      spl-dkms <= %{version} | ||||||
| %endif | %endif | ||||||
| Provides:       %{module}-kmod = %{version} | Provides:       %{module}-kmod = %{version} | ||||||
| AutoReqProv:    no | AutoReqProv:    no | ||||||
|  | |||||||
| @ -126,7 +126,7 @@ Requires:       libuutil3%{?_isa} = %{version}-%{release} | |||||||
| Requires:       libzfs5%{?_isa} = %{version}-%{release} | Requires:       libzfs5%{?_isa} = %{version}-%{release} | ||||||
| Requires:       %{name}-kmod = %{version} | Requires:       %{name}-kmod = %{version} | ||||||
| Provides:       %{name}-kmod-common = %{version}-%{release} | Provides:       %{name}-kmod-common = %{version}-%{release} | ||||||
| Obsoletes:      spl | Obsoletes:      spl <= %{version} | ||||||
| 
 | 
 | ||||||
| # zfs-fuse provides the same commands and man pages that OpenZFS does. | # zfs-fuse provides the same commands and man pages that OpenZFS does. | ||||||
| # Renaming those on either side would conflict with all available documentation. | # Renaming those on either side would conflict with all available documentation. | ||||||
| @ -178,8 +178,8 @@ This package contains the core ZFS command line utilities. | |||||||
| %package -n libzpool5 | %package -n libzpool5 | ||||||
| Summary:        Native ZFS pool library for Linux | Summary:        Native ZFS pool library for Linux | ||||||
| Group:          System Environment/Kernel | Group:          System Environment/Kernel | ||||||
| Obsoletes:      libzpool2 | Obsoletes:      libzpool2 <= %{version} | ||||||
| Obsoletes:      libzpool4 | Obsoletes:      libzpool4 <= %{version} | ||||||
| 
 | 
 | ||||||
| %description -n libzpool5 | %description -n libzpool5 | ||||||
| This package contains the zpool library, which provides support | This package contains the zpool library, which provides support | ||||||
| @ -195,7 +195,7 @@ for managing zpools | |||||||
| %package -n libnvpair3 | %package -n libnvpair3 | ||||||
| Summary:        Solaris name-value library for Linux | Summary:        Solaris name-value library for Linux | ||||||
| Group:          System Environment/Kernel | Group:          System Environment/Kernel | ||||||
| Obsoletes:      libnvpair1 | Obsoletes:      libnvpair1 <= %{version} | ||||||
| 
 | 
 | ||||||
| %description -n libnvpair3 | %description -n libnvpair3 | ||||||
| This package contains routines for packing and unpacking name-value | This package contains routines for packing and unpacking name-value | ||||||
| @ -213,7 +213,7 @@ to write self describing data structures on disk. | |||||||
| %package -n libuutil3 | %package -n libuutil3 | ||||||
| Summary:        Solaris userland utility library for Linux | Summary:        Solaris userland utility library for Linux | ||||||
| Group:          System Environment/Kernel | Group:          System Environment/Kernel | ||||||
| Obsoletes:      libuutil1 | Obsoletes:      libuutil1 <= %{version} | ||||||
| 
 | 
 | ||||||
| %description -n libuutil3 | %description -n libuutil3 | ||||||
| This library provides a variety of compatibility functions for OpenZFS: | This library provides a variety of compatibility functions for OpenZFS: | ||||||
| @ -239,8 +239,8 @@ This library provides a variety of compatibility functions for OpenZFS: | |||||||
| %package -n libzfs5 | %package -n libzfs5 | ||||||
| Summary:        Native ZFS filesystem library for Linux | Summary:        Native ZFS filesystem library for Linux | ||||||
| Group:          System Environment/Kernel | Group:          System Environment/Kernel | ||||||
| Obsoletes:      libzfs2 | Obsoletes:      libzfs2 <= %{version} | ||||||
| Obsoletes:      libzfs4 | Obsoletes:      libzfs4 <= %{version} | ||||||
| 
 | 
 | ||||||
| %description -n libzfs5 | %description -n libzfs5 | ||||||
| This package provides support for managing ZFS filesystems | This package provides support for managing ZFS filesystems | ||||||
| @ -262,9 +262,9 @@ Requires:       libuutil3%{?_isa} = %{version}-%{release} | |||||||
| Provides:       libzpool5-devel = %{version}-%{release} | Provides:       libzpool5-devel = %{version}-%{release} | ||||||
| Provides:       libnvpair3-devel = %{version}-%{release} | Provides:       libnvpair3-devel = %{version}-%{release} | ||||||
| Provides:       libuutil3-devel = %{version}-%{release} | Provides:       libuutil3-devel = %{version}-%{release} | ||||||
| Obsoletes:      zfs-devel | Obsoletes:      zfs-devel <= %{version} | ||||||
| Obsoletes:      libzfs2-devel | Obsoletes:      libzfs2-devel <= %{version} | ||||||
| Obsoletes:      libzfs4-devel | Obsoletes:      libzfs4-devel <= %{version} | ||||||
| 
 | 
 | ||||||
| %description -n libzfs5-devel | %description -n libzfs5-devel | ||||||
| This package contains the header files needed for building additional | This package contains the header files needed for building additional | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Tony Hutter
						Tony Hutter