diff --git a/.compat-opensm-libs.metadata b/.compat-opensm-libs.metadata new file mode 100644 index 0000000..241c4e8 --- /dev/null +++ b/.compat-opensm-libs.metadata @@ -0,0 +1 @@ +602405b0ecfeb7e616449d2c618c6a141c199d21 SOURCES/opensm-3.3.15.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5801410 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/opensm-3.3.15.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/compat-opensm-libs.spec b/SPECS/compat-opensm-libs.spec new file mode 100644 index 0000000..f96e3c4 --- /dev/null +++ b/SPECS/compat-opensm-libs.spec @@ -0,0 +1,78 @@ +Name: compat-opensm-libs +Version: 3.3.15 +Release: 2%{?dist} +Summary: Back compatability libraries for the IB management stack +Group: System Environment/Libraries +License: GPLv2 or BSD +Url: https://openfabrics.org/ +Source0: https://www.openfabrics.org/downloads/management/opensm-3.3.15.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: libtool, bison, flex, byacc, libibmad-devel libibumad-devel +ExcludeArch: s390 s390x + +%description +The libibumad and opensm packages provide libraries for use on the system. +As those libraries have changed version, this compat package provides the +older version of the libraries so that packages or user applications will +not need to be recompiled against the newer libraries unnecessarily. + +%prep +%setup -q -n opensm-3.3.15 + +%build +#libibumad first, then libibmad, then opensm +#cd libibumad-1.3.4 +#%configure +#make %{?_smp_mflags} +#cd .. +%configure --with-opensm-conf-sub-dir=rdma +make %{?_smp_mflags} CFLAGS+="-fno-strict-aliasing -Wno-format-security" + +%install +rm -rf %{buildroot} +#cd libibumad-1.3.4 +#make DESTDIR=%{buildroot} install +#cd .. +make DESTDIR=%{buildroot} install +# remove unpackaged files from the buildroot +rm -rf %{buildroot}/etc %{buildroot}/usr/include %{buildroot}/usr/sbin +rm -rf %{buildroot}/usr/share +rm -f %{buildroot}%{_libdir}/*.{la,so,a} +rm -f %{buildroot}%{_libdir}/libopensm* +rm -f %{buildroot}%{_libdir}/libosmcomp* + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/lib* + +%changelog +* Mon Nov 10 2014 Doug Ledford - 3.3.15-2 +- Fix build flags to satisfy rpmdiff +- Related: bz1155762 + +* Mon Oct 27 2014 Doug Ledford - 3.3.15-1 +- Forward port to rhel7 and modify for use there +- Related: bz1155762 + +* Wed Aug 31 2011 Doug Ledford - 3.3.5-3 +- Change the file spec so we don't accidentally pick up the debug files in + the base package on 32bit arches +- Resolves: bz732495 + +* Mon Aug 01 2011 Doug Ledford - 3.3.5-2 +- Drop libibmad as it didn't soname bump, and also remove the lower level + opensm libs, libosm{comp,vendor} as they didn't soname bump either +- Related: bz725016 + +* Mon Jul 25 2011 Doug Ledford - 3.3.5-1 +- Initial creation of package +- Related: bz725106 +