[Bug 1328390] Review Request: infinipath-psm - Intel Performance Scaled Messaging (PSM) Libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1328390



--- Comment #5 from Honggang LI <honli@xxxxxxxxxx> ---
# diff -up infinipath-psm.spec.old infinipath-psm.spec
--- infinipath-psm.spec.old     2016-04-19 05:36:53.000000000 -0400
+++ infinipath-psm.spec 2016-04-20 05:57:31.648800734 -0400
@@ -4,7 +4,7 @@
 Name:           infinipath-psm
 Summary:        Intel Performance Scaled Messaging (PSM) Libraries
 Version:        3.3
-Release:        %{git_version}.1%{?dist}
+Release:        %{git_version}.2%{?dist}
 License:        GPLv2 or BSD
 ExclusiveArch:  x86_64
 URL:            https://github.com/01org/psm
@@ -22,7 +22,6 @@ Requires:       udev
 BuildRequires:  gcc
 BuildRequires:  libuuid-devel
 Obsoletes:      infinipath-libs <= %{version}-%{release}
-Conflicts:      infinipath-libs <= %{version}-%{release}

 Requires(post):   /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
@@ -38,7 +37,6 @@ interfaces in parallel environments.
 Summary:        Development files for Intel PSM
 Requires:       %{name}%{?_isa} = %{version}-%{release}
 Obsoletes:      infinipath-devel <= %{version}-%{release}
-Conflicts:      infinipath-devel <= %{version}-%{release}
 Requires(post):   /sbin/ldconfig
 Requires(postun): /sbin/ldconfig

@@ -50,9 +48,11 @@ Development files for the %{name} librar
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+find libuuid -type f -not -name 'psm_uuid.[c|h]' -not -name Makefile -delete

 %build
-make %{?_smp_mflags} USE_PSM_UUID=1 %{MAKEARG} CC=gcc
+export CFLAGS="$RPM_OPT_FLAGS"
+%make_build PSM_USE_SYS_UUID=1 %{MAKEARG} CC=gcc

 %install
 %make_install %{MAKEARG}
@@ -78,5 +78,10 @@ install -m 0644 %{SOURCE1} %{buildroot}%
 %{_includedir}/psm_mq.h

 %changelog
+* Wed Apr 20 2016 Honggang Li <honli@xxxxxxxxxx> - 3.3-22_g4abbc60_open.2
+- Honors RPM_OPT_FLAGS.
+- Link against system libuuid package.
+- Remove duplicated Conflicts tags.
+
 * Mon Apr 18 2016 Honggang Li <honli@xxxxxxxxxx> - 3.3-22_g4abbc60_open.1
 - Import infinipath-psm for Fedora.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]