This commit is contained in:
Peter Robinson 2014-03-17 22:35:51 +00:00
parent 349f6d98ff
commit ebc68d402e
3 changed files with 12 additions and 42 deletions

28
.gitignore vendored
View File

@ -1,27 +1 @@
i386/
i686/
x86_64/
ppc/
ppc64/
ia64/
mips/
arm*/
noarch/
.project
*.src.rpm
.build*.log
opensm-*.conf
opensm-3.2.1.tar.gz
opensm-3.3.1.tar.gz
opensm-3.3.2.tar.gz
opensm-3.3.3.tar.gz
opensm-3.3.5.tar.gz
opensm-3.3.9.tar.gz
opensm-3.3.9/
/opensm-3.3.12.tar.gz
/opensm-3.3.12.conf
opensm-3.3.12/
/opensm-3.3.13.tar.gz
/opensm-3.3.13/
/opensm-3.3.15.tar.gz
/opensm-3.3.15/
/opensm-3.*.tar.gz

View File

@ -1,10 +1,11 @@
Name: opensm
Version: 3.3.15
Release: 7%{?dist}
Name: opensm
Version: 3.3.17
Release: 1%{?dist}
Summary: OpenIB InfiniBand Subnet Manager and management utilities
Group: System Environment/Daemons
Group: System Environment/Daemons
License: GPLv2 or BSD
Url: http://www.openfabrics.org/
Url: http://www.openfabrics.org/
Source0: http://www.openfabrics.org/downloads/management/%{name}-%{version}.tar.gz
Source2: opensm.logrotate
Source4: opensm.sysconfig
@ -12,7 +13,7 @@ Source5: opensm.service
Source6: opensm.launch
Source7: opensm.rwtab
Patch0: opensm-3.3.13-prefix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libibmad-devel = 1.3.9, libtool, bison, flex, byacc, systemd
Requires: %{name}-libs = %{version}-%{release}, logrotate, rdma
Requires(post): systemd
@ -61,7 +62,6 @@ cd opensm
./opensm -c ../opensm-%{version}.conf
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
# remove unpackaged files from the buildroot
rm -f %{buildroot}%{_libdir}/*.la
@ -74,9 +74,6 @@ install -D -m755 %{SOURCE6} %{buildroot}%{_libexecdir}/opensm-launch
install -D -m644 %{SOURCE7} %{buildroot}%{_sysconfdir}/rwtab.d/opensm
mkdir -p ${RPM_BUILD_ROOT}/var/cache/opensm
%clean
rm -rf %{buildroot}
%post
%systemd_post opensm.service
@ -99,7 +96,6 @@ fi
%postun libs -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%dir /var/cache/opensm
%{_sbindir}/*
%{_mandir}/*
@ -112,19 +108,19 @@ fi
%doc AUTHORS COPYING ChangeLog INSTALL README NEWS
%files libs
%defattr(-,root,root,-)
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root,-)
%{_libdir}/lib*.so
%{_includedir}/infiniband
%files static
%defattr(-,root,root,-)
%{_libdir}/lib*.a
%changelog
* Mon Mar 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.3.17-1
- Update to 3.3.17
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.15-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
ad4c179c119bbb78be740e33b59746ad opensm-3.3.15.tar.gz
9c1b85e47ab495110c1944e0f4d634b7 opensm-3.3.17.tar.gz