diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-01-27 20:30:03 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-01-27 20:30:03 -0800 |
commit | 505b8c2f20c83e0710a9855826c2c0afe85b8643 (patch) | |
tree | beec66384debf84bb532440ccd3b4d7bbd118b80 | |
parent | f2533e88c1c7daf4d5618612520eb58b0cff6373 (diff) | |
download | libmlx4-505b8c2f20c83e0710a9855826c2c0afe85b8643.tar.gz |
Spec file cleanups based on Fedora review
- Don't mark libmlx4.driver as a %config, since it is not user modifiable.
- Change the name of the -devel-static package to plain -devel, since
it would be empty without the static library.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r-- | libmlx4.spec.in | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/libmlx4.spec.in b/libmlx4.spec.in index 1fe941b..0a38624 100644 --- a/libmlx4.spec.in +++ b/libmlx4.spec.in @@ -1,6 +1,6 @@ Name: libmlx4 Version: 1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Mellanox ConnectX InfiniBand HCA Userspace Driver Group: System Environment/Libraries @@ -15,12 +15,13 @@ BuildRequires: libibverbs-devel >= 1.1-0.1.rc2 libmlx4 provides a device-specific userspace driver for Mellanox ConnectX HCAs for use with the libibverbs library. -%package devel-static +%package devel Summary: Development files for the libmlx4 driver Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} +Provides: libmlx4-static = %{version}-%{release} -%description devel-static +%description devel Static version of libmlx4 that may be linked directly to an application, which may be useful for debugging. @@ -43,14 +44,20 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_libdir}/libmlx4-rdmav2.so -%config %{_sysconfdir}/libibverbs.d/mlx4.driver +%{_sysconfdir}/libibverbs.d/mlx4.driver %doc AUTHORS COPYING README -%files devel-static +%files devel %defattr(-,root,root,-) %{_libdir}/libmlx4.a %changelog +* Sun Jan 27 2008 Roland Dreier <rdreier@cisco.com> - 1.0-2 +- Spec file cleanups, based on Fedora review: don't mark + libmlx4.driver as a %config, since it is not user modifiable, and + change the name of the -devel-static package to plain -devel, since + it would be empty without the static library. + * Sun Dec 9 2007 Roland Dreier <rdreier@cisco.com> - 1.0-1 - New upstream release |