Add proper Provides and Obsoletes for the sub-packages
This commit is contained in:
parent
4ee7807037
commit
37f390f92a
11
mpich.spec
11
mpich.spec
@ -3,7 +3,7 @@
|
||||
Summary: A high-performance implementation of MPI
|
||||
Name: mpich
|
||||
Version: 3.0.4
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: MIT
|
||||
Group: Development/Libraries
|
||||
URL: http://www.mpich.org/
|
||||
@ -47,6 +47,8 @@ mpich-autoload package.
|
||||
Summary: Load mpich automatically into profile
|
||||
Group: System Environment/Base
|
||||
Requires: mpich = %{version}-%{release}
|
||||
Provides: mpich2-autoload = 3.0.1
|
||||
Obsoletes: mpich2-autoload < 3.0
|
||||
|
||||
%description autoload
|
||||
This package contains profile files that make mpich automatically loaded.
|
||||
@ -58,6 +60,8 @@ Provides: %{name}-devel-static = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: gcc-gfortran
|
||||
Provides: mpich2-devel = 3.0.1
|
||||
Obsoletes: mpich2-devel < 3.0
|
||||
|
||||
%description devel
|
||||
Contains development headers and libraries for mpich
|
||||
@ -67,6 +71,8 @@ Summary: Documentations and examples for mpich
|
||||
Group: Documentation
|
||||
BuildArch: noarch
|
||||
Requires: %{name}-devel = %{version}-%{release}
|
||||
Provides: mpich2-doc = 3.0.1
|
||||
Obsoletes: mpich2-doc < 3.0
|
||||
|
||||
%description doc
|
||||
Contains documentations, examples and man-pages for mpich
|
||||
@ -218,6 +224,9 @@ rm -f %{buildroot}%{_libdir}/%{name}/lib/lib{*mpich*,opa,mpl}.a
|
||||
%{_mandir}/%{name}/man3/
|
||||
|
||||
%changelog
|
||||
* Sat Jul 20 2013 Deji Akingunola <dakingun@gmail.com> - 3.0.4-3
|
||||
- Add proper Provides and Obsoletes for the sub-packages
|
||||
|
||||
* Thu Jul 18 2013 Deji Akingunola <dakingun@gmail.com> - 3.0.4-2
|
||||
- Fix some of the rpmlint warnings from package review (BZ #973493)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user