Don't include manual page directories (#1089412).

- Use standard group Development/Libraries in library devel packages.
- Use %?_isa in base package dependencies.
This commit is contained in:
Michael Schwendt 2014-05-29 10:16:40 +02:00
parent 14ecfc95c3
commit 9059599b63

View File

@ -1,6 +1,6 @@
Name: opensm Name: opensm
Version: 3.3.17 Version: 3.3.17
Release: 1%{?dist} Release: 2%{?dist}
Summary: OpenIB InfiniBand Subnet Manager and management utilities Summary: OpenIB InfiniBand Subnet Manager and management utilities
Group: System Environment/Daemons Group: System Environment/Daemons
License: GPLv2 or BSD License: GPLv2 or BSD
@ -15,7 +15,7 @@ Source7: opensm.rwtab
Patch0: opensm-3.3.17-prefix.patch Patch0: opensm-3.3.17-prefix.patch
BuildRequires: libibmad-devel >= 1.3.9, libtool, bison, flex, byacc, systemd BuildRequires: libibmad-devel >= 1.3.9, libtool, bison, flex, byacc, systemd
Requires: %{name}-libs = %{version}-%{release}, logrotate, rdma Requires: %{name}-libs%{?_isa} = %{version}-%{release}, logrotate, rdma
Requires(post): systemd Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
@ -38,16 +38,16 @@ Shared libraries for Infiniband user space access
%package devel %package devel
Summary: Development files for the opensm-libs libraries Summary: Development files for the opensm-libs libraries
Group: Development/System Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel %description devel
Development environment for the opensm libraries Development environment for the opensm libraries
%package static %package static
Summary: Static version of the opensm libraries Summary: Static version of the opensm libraries
Group: Development/System Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release} Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description static %description static
Static version of opensm libraries Static version of opensm libraries
@ -98,7 +98,7 @@ fi
%files %files
%dir /var/cache/opensm %dir /var/cache/opensm
%{_sbindir}/* %{_sbindir}/*
%{_mandir}/* %{_mandir}/*/*
%{_unitdir}/* %{_unitdir}/*
%{_libexecdir}/* %{_libexecdir}/*
%config(noreplace) %{_sysconfdir}/logrotate.d/opensm %config(noreplace) %{_sysconfdir}/logrotate.d/opensm
@ -118,6 +118,11 @@ fi
%{_libdir}/lib*.a %{_libdir}/lib*.a
%changelog %changelog
* Thu May 29 2014 Michael Schwendt <mschwendt@fedoraproject.org> - 3.3.17-2
- Don't include manual page directories (#1089412).
- Use standard group Development/Libraries in library devel packages.
- Use %%?_isa in base package dependencies.
* Mon Mar 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.3.17-1 * Mon Mar 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.3.17-1
- Update to 3.3.17 - Update to 3.3.17