27 Commits

Author SHA256 Message Date
ae2049ba3d Accepting request 1183478 from home:NMorey:branches:science:HPC
- Disable build for 32b architectures

OBS-URL: https://build.opensuse.org/request/show/1183478
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=49
2024-06-26 18:26:55 +00:00
65376750d4 Accepting request 1147408 from home:amanzini:branches:science:HPC
- Update to 3.2.5:
  * fix for CVE-2023-41915: Do not follow links when doing "chown"
- Update to 3.2.4:
  * Must spawn something in tests
  * direct: ptl/base: retry recv when it encounter EAGAIN or EWOULDBLOCK
  * direct: Make abort on component not found optional
- dropped patch Fix-a-potential-vulnerability-which-allows-chown-on-user-created-links.patch
  as already included in upstream

OBS-URL: https://build.opensuse.org/request/show/1147408
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=47
2024-02-21 14:10:58 +00:00
35e1369905 Accepting request 1110641 from home:eeich:branches:science:HPC
- Fix a potential vulnerability where a `chown` may follow a
  user-created link:
  Fix-a-potential-vulnerability-which-allows-chown-on-user-created-links.patch
  (CVE-2023-41915, bsc#1215190).

OBS-URL: https://build.opensuse.org/request/show/1110641
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=45
2023-09-12 14:50:36 +00:00
2f4650ba3b - Install pmix-plugin-munge if munge is installed.
- Use correct prerequisite name: pmix-plugin-munge not pmix-plugins-munge

OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=43
2023-03-27 07:22:03 +00:00
f5176be5d7 Accepting request 1074093 from home:eeich:branches:science:HPC
- Move the requirement for pmix-runtime-config to libpmix2 and make
  it version-independent (bsc#1209473).
- Install pmix-plugins-munge if munge is installed.

OBS-URL: https://build.opensuse.org/request/show/1074093
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=41
2023-03-24 08:11:35 +00:00
09547bf475 - Really remove file
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=39
2023-03-21 12:56:34 +00:00
d48d42ff9c - Fix spelling.
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=38
2023-03-21 12:56:13 +00:00
0fa1979f4a - Remove pmix.rpmlintrc. Not needed any more.
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=37
2023-03-21 12:54:06 +00:00
6b39d0558f Accepting request 1073263 from home:dimstar:Factory
- The devel package must require the actual library libpmix2.

OBS-URL: https://build.opensuse.org/request/show/1073263
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=36
2023-03-20 13:49:17 +00:00
7d9da0463d Accepting request 1072588 from home:mslacken:branches:science:HPC
- removed library plugin for slurm as a fix was applied there,
   (bsc#1209260)

OBS-URL: https://build.opensuse.org/request/show/1072588
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=34
2023-03-17 10:48:06 +00:00
b2fecfd3e8 Accepting request 1072061 from home:eeich:branches:science:HPC
- Create library plugin for Slurm: it contains the libpmix.so
  link which normally goes into the devel package - without
  the headers (bsc#1209260).

OBS-URL: https://build.opensuse.org/request/show/1072061
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=32
2023-03-15 09:51:54 +00:00
84d8844ef1 Accepting request 988481 from home:eeich:branches:science:HPC
- Separate out psec munge plugin to avoid dependency creep.

OBS-URL: https://build.opensuse.org/request/show/988481
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=30
2022-07-11 19:17:37 +00:00
e82551c19f Accepting request 987186 from home:NMoreyChaisemartin:branches:science:HPC
- Enable build on i686 and armv7
- Move test files to %{_libexecdir}/pmix/tests to avoid conflicts
  on 32 bits systems

OBS-URL: https://build.opensuse.org/request/show/987186
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=28
2022-07-11 14:44:52 +00:00
03a42bb572 Accepting request 986350 from home:eeich:branches:science:HPC
- Provide Pmix tests in a test package to give users the
  opportunity to test their setup. This is particularly
  useful for Slurm.

OBS-URL: https://build.opensuse.org/request/show/986350
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=26
2022-07-02 12:15:18 +00:00
8108ab10bc - Remove BuildRequires: for pandoc:
Not needed and not available for SLE.

OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=24
2021-02-18 08:25:31 +00:00
8e20cb910a - Remove pandoc
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=23
2021-02-18 06:39:38 +00:00
a26cc3514b - updated to v3.2.3 - no, it's really 3.2.3
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=21
2021-02-17 11:05:33 +00:00
df2ea22100 Accepting request 873088 from home:eeich:branches:science:HPC
- Update pmix to 3.2.3 - as advertised.

OBS-URL: https://build.opensuse.org/request/show/873088
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=20
2021-02-17 11:01:06 +00:00
c36fc626cf Accepting request 873080 from network:cluster
- updated to v3.2.2

OBS-URL: https://build.opensuse.org/request/show/873080
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=19
2021-02-17 10:41:44 +00:00
aee5fac1e5 Accepting request 873074 from network:cluster
- updated to v3.2.3
  * Fix thread conflict in event notification - PR #1967
  * Finalize: set hostname in global to NULL to avoid segfault
    in apps that call init/finalize multiple times - PR #2001
  * Silence unnecessary error log message - PR #1669
  * Fixed crash of dstore locks destructor - PR #1776
  * Add option to bypass local-only fence optimization - PR #1825
  * Increase timeout in test case - PR #1830
  * Fix server/get for gds=hash - PR #1990
  * Remove stale config command - PR #1933
  * Modex size reductions - PR #1402/#1403/#1421/#1423
  * Sync 3.2 branch with master - PR #1832
        New attributes:
            PMIX_HOSTNAME_ALIASES
            PMIX_HOSTNAME_KEEP_FQDN
            PMIX_GET_REFRESH_CACHE
            PMIX_REQUIRED_KEY
        Removed PMIX_VALUE_COMPRESSED_STRING_UNPACK macro from pmix_common.h
        New frameworks
            pcompress - Compression methods - PR #1139
            psquash - Flexible integer packing - PR #1423
        New components
            preg/compress - regular expression methods - PR #1139
        Modified string representations produced by PMIx_generate_regex
        and PMIx_generate_ppn. - PR #1422
       Fixed dmodex support and PMIx_Get behavior - Issue #1586
       Removed --with-pmix-symbol-rename configure option - PR #1748
  * Expose PMIX_REGEX constant per v3.2 standard - PR #1848
  * Fix immediate flag behavior at the server - PR #1885
  For futher details, check

OBS-URL: https://build.opensuse.org/request/show/873074
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=18
2021-02-17 10:25:05 +00:00
ac3db1f351 Accepting request 796347 from home:eeich:branches:science:HPC
- Mark header and config packages 'noarch' (boo#1170259).
- Add a bit of QA: include a %check stage.

OBS-URL: https://build.opensuse.org/request/show/796347
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=16
2020-04-23 05:05:17 +00:00
6b37127161 Accepting request 792503 from home:eeich:branches:science:HPC
- Create separate plugins package. Since libpmix2 obtains its
  functionality from these plugins, add a dependency.
- Plugins depend on libmca_common_dstore - add an explicit
  dependency to the package as there are other providers - like
  openmpi3 (bsc#1167983).

OBS-URL: https://build.opensuse.org/request/show/792503
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=14
2020-04-08 16:15:20 +00:00
86af9b2e29 Accepting request 789706 from home:mslacken:branches:science:HPC
- added direct dependency to libpmix2 = %{version} (bsc#1167983)

OBS-URL: https://build.opensuse.org/request/show/789706
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=13
2020-04-08 05:34:33 +00:00
35fea606c1 - Update to version 3.1.5 (bsc#1167655)
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=11
2020-03-25 13:11:56 +00:00
46252b914f Accepting request 788084 from home:bmwiedemann:branches:science:HPC
- Update to version 3.1.5
  * PR #1413/#1465: Remove unnecessary error log
  * PR #1433: Return the correct status from PMIx_Publish
  * PR #1445: Sync. with master to fix 'get' of data for unknown namespace
  * Includes the following PRs from master
  * PR #1382: dstore: fixed truncate key-names while restoring
  * PR #1405: Fix xnspace dmodex and add verbose debug
  * PR #1406: Resolve request for job-level data
  * PR #1407/#1409/#1411: Fix dmodex across nspaces
  * PR #1434/#1436: Cleanup handling of info arrays
  * PR #1435: Cleanup example and remove debug
  * PR #1437: Update blocking Allocation_request signature
  * PR #1440: Fix 'get' of data for unknown namespace
  * PR #1442: Fix fences with namespaces where no local processes are running
  * PR #1472: Initialize nlocal and local in the tracker
  * PR #1487: Sync. with master to fix info array and cross-version issues
  * PR #1493/#1497/#1501/#1505/#1589: Info array and Cross-version fixes
  * PR #1511/#1517/#1520/#1523/#1534/#1565: Fix pmix tests
  * PR #1530: Improve handling of servers piror to v3.1.5
  * PR #1531: Update transfer from hash to dstore
  * PR #1538: Fix singleton initialization
  * PR #1547: Add missing PMIx_IOF_deregister function
  * PR #1554/#1591: Fix memory leak on namespace deregister
  * PR #1561: Configury fix for reproducible builds (boo#1047218)
  * PR #1579: Protect pthread setpshared calls
  * PR #1587: Fix to gds/dstore configure logic
  * PR #1610: Adjust hotel timeout to be in whole seconds
  * PR #1613: dstore: Fix cache size calculation
  * PR #1622: Fix multiple occurrences of unaligned access in pmix tests
  * PR #1620: Re-address the collective tracker problem

OBS-URL: https://build.opensuse.org/request/show/788084
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=10
2020-03-25 09:35:34 +00:00
71ff470b26 Accepting request 774205 from home:sbrabec:branches:science:HPC
See https://en.opensuse.org/openSUSE:Package_group_guidelines

OBS-URL: https://build.opensuse.org/request/show/774205
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=8
2020-02-17 17:04:25 +00:00
c6227c7231 Accepting request 763865 from home:NMoreyChaisemartin:branches:science:HPC
- configuration can now also be provided with openmpi flavors

OBS-URL: https://build.opensuse.org/request/show/763865
OBS-URL: https://build.opensuse.org/package/show/science:HPC/pmix?expand=0&rev=6
2020-01-13 10:02:35 +00:00
4 changed files with 252 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:009c6b0128a988c6880dedd002bb50d41f5c3163d721a7bc61d5ae11ce74ca8b
size 1030098

3
openpmix-3.2.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8364886b926cda7d707119648359578df6b27283e1b0b6537e9c2c4e0e55555
size 1070153

View File

@@ -1,3 +1,180 @@
-------------------------------------------------------------------
Wed Jun 26 15:27:28 UTC 2024 - Nicolas Morey <nicolas.morey@suse.com>
- Disable build for 32b architectures
-------------------------------------------------------------------
Sun Feb 18 10:12:27 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
- Update to 3.2.5:
* fix for CVE-2023-41915: Do not follow links when doing "chown"
- Update to 3.2.4:
* Must spawn something in tests
* direct: ptl/base: retry recv when it encounter EAGAIN or EWOULDBLOCK
* direct: Make abort on component not found optional
- dropped patch Fix-a-potential-vulnerability-which-allows-chown-on-user-created-links.patch
as already included in upstream
-------------------------------------------------------------------
Tue Sep 12 14:04:10 UTC 2023 - Egbert Eich <eich@suse.com>
- Fix a potential vulnerability where a `chown` may follow a
user-created link:
Fix-a-potential-vulnerability-which-allows-chown-on-user-created-links.patch
(CVE-2023-41915, bsc#1215190).
-------------------------------------------------------------------
Tue Mar 21 15:27:23 UTC 2023 - Egbert Eich <eich@suse.com>
- Move the requirement for pmix-runtime-config to libpmix2 and make
it version-independent (bsc#1209473).
- Install pmix-plugin-munge if munge is installed.
- Use correct prerequisite name: pmix-plugin-munge not pmix-plugins-munge
-------------------------------------------------------------------
Mon Mar 20 13:44:26 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- The devel package must require the actual library libpmix2.
-------------------------------------------------------------------
Fri Mar 17 10:46:51 UTC 2023 - Christian Goll <cgoll@suse.com>
- removed library plugin for slurm as a fix was applied there,
(bsc#1209260)
-------------------------------------------------------------------
Tue Mar 14 19:24:25 UTC 2023 - Egbert Eich <eich@suse.com>
- Create library plugin for Slurm: it contains the libpmix.so
link which normally goes into the devel package - without
the headers (bsc#1209260).
-------------------------------------------------------------------
Mon Jul 11 14:57:37 UTC 2022 - Egbert Eich <eich@suse.com>
- Separate out psec munge plugin to avoid dependency creep.
-------------------------------------------------------------------
Wed Jul 6 08:48:43 UTC 2022 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
- Enable build on i686 and armv7
- Move test files to %{_libexecdir}/pmix/tests to avoid conflicts
on 32 bits systems
-------------------------------------------------------------------
Sat Jul 2 10:48:30 UTC 2022 - Egbert Eich <eich@suse.com>
- Provide Pmix tests in a test package to give users the
opportunity to test their setup. This is particularly
useful for Slurm.
-------------------------------------------------------------------
Thu Feb 18 08:24:53 UTC 2021 - Egbert Eich <eich@suse.com>
- Remove BuildRequires: for pandoc:
Not needed and not available for SLE.
-------------------------------------------------------------------
Tue Feb 16 15:44:56 UTC 2021 - Christian Goll <cgoll@suse.com>
- updated to v3.2.3
* Fix thread conflict in event notification - PR #1967
* Finalize: set hostname in global to NULL to avoid segfault
in apps that call init/finalize multiple times - PR #2001
* Silence unnecessary error log message - PR #1669
* Fixed crash of dstore locks destructor - PR #1776
* Add option to bypass local-only fence optimization - PR #1825
* Increase timeout in test case - PR #1830
* Fix server/get for gds=hash - PR #1990
* Remove stale config command - PR #1933
* Modex size reductions - PR #1402/#1403/#1421/#1423
* Sync 3.2 branch with master - PR #1832
New attributes:
PMIX_HOSTNAME_ALIASES
PMIX_HOSTNAME_KEEP_FQDN
PMIX_GET_REFRESH_CACHE
PMIX_REQUIRED_KEY
Removed PMIX_VALUE_COMPRESSED_STRING_UNPACK macro from pmix_common.h
New frameworks
pcompress - Compression methods - PR #1139
psquash - Flexible integer packing - PR #1423
New components
preg/compress - regular expression methods - PR #1139
Modified string representations produced by PMIx_generate_regex
and PMIx_generate_ppn. - PR #1422
Fixed dmodex support and PMIx_Get behavior - Issue #1586
Removed --with-pmix-symbol-rename configure option - PR #1748
* Expose PMIX_REGEX constant per v3.2 standard - PR #1848
* Fix immediate flag behavior at the server - PR #1885
For futher details, check
- For Issues: https://github.com/openpmix/openpmix/issues/<ID>
- For PRs: https://github.com/openpmix/openpmix/pull/<ID>
-------------------------------------------------------------------
Fri Apr 10 11:00:28 UTC 2020 - Egbert Eich <eich@suse.com>
- Mark header and config packages 'noarch' (boo#1170259).
- Add a bit of QA: include a %check stage.
-------------------------------------------------------------------
Wed Apr 8 12:35:30 UTC 2020 - Egbert Eich <eich@suse.com>
- Create separate plugins package. Since libpmix2 obtains its
functionality from these plugins, add a dependency.
- Plugins depend on libmca_common_dstore - add an explicit
dependency to the package as there are other providers - like
openmpi3 (bsc#1167983).
-------------------------------------------------------------------
Wed Mar 25 08:26:24 UTC 2020 - Bernhard Wiedemann <bwiedemann@suse.com>
- Update to version 3.1.5 (bsc#1167655)
* PR #1413/#1465: Remove unnecessary error log
* PR #1433: Return the correct status from PMIx_Publish
* PR #1445: Sync. with master to fix 'get' of data for unknown namespace
* Includes the following PRs from master
* PR #1382: dstore: fixed truncate key-names while restoring
* PR #1405: Fix xnspace dmodex and add verbose debug
* PR #1406: Resolve request for job-level data
* PR #1407/#1409/#1411: Fix dmodex across nspaces
* PR #1434/#1436: Cleanup handling of info arrays
* PR #1435: Cleanup example and remove debug
* PR #1437: Update blocking Allocation_request signature
* PR #1440: Fix 'get' of data for unknown namespace
* PR #1442: Fix fences with namespaces where no local processes are running
* PR #1472: Initialize nlocal and local in the tracker
* PR #1487: Sync. with master to fix info array and cross-version issues
* PR #1493/#1497/#1501/#1505/#1589: Info array and Cross-version fixes
* PR #1511/#1517/#1520/#1523/#1534/#1565: Fix pmix tests
* PR #1530: Improve handling of servers piror to v3.1.5
* PR #1531: Update transfer from hash to dstore
* PR #1538: Fix singleton initialization
* PR #1547: Add missing PMIx_IOF_deregister function
* PR #1554/#1591: Fix memory leak on namespace deregister
* PR #1561: Configury fix for reproducible builds (boo#1047218)
* PR #1579: Protect pthread setpshared calls
* PR #1587: Fix to gds/dstore configure logic
* PR #1610: Adjust hotel timeout to be in whole seconds
* PR #1613: dstore: Fix cache size calculation
* PR #1622: Fix multiple occurrences of unaligned access in pmix tests
* PR #1620: Re-address the collective tracker problem
* PR #1625: Fix library version triplet
* PR #1630: Fix support for PGI compiler pgcc18
* PR #1637: Realign behavior of PMIx_Get and PMIx_Get_nb
* PR #1640: Properly handle forwarded output when no handler registered
-------------------------------------------------------------------
Thu Feb 13 15:59:50 UTC 2020 - Stanislav Brabec <sbrabec@suse.com>
- Fix invalid RPM groups.
-------------------------------------------------------------------
Fri Jan 10 13:30:55 UTC 2020 - Christian Goll <cgoll@suse.com>
- configuration can now also be provided with openmpi flavors
-------------------------------------------------------------------
Mon Nov 25 14:57:45 UTC 2019 - Christian Goll <cgoll@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package pmix
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,11 +19,11 @@
#
Name: pmix
Version: 3.1.4
Version: 3.2.5
Release: 0
Summary: Process Management Interface for MPI
License: BSD-3-Clause
Group: Development/Libraries/Parallel
Group: Development/Libraries/Parallel
URL: https://pmix.org/
Source0: https://github.com/openpmix/openpmix/archive/v%{version}.tar.gz#/openpmix-%{version}.tar.gz
BuildRequires: autoconf
@@ -39,7 +39,7 @@ BuildRequires: libtool
BuildRequires: munge-devel
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: pmix-mca-params
ExcludeArch: i586 %arm s390
%description
The Process Management Interface (PMI) has been used for quite some time as a
@@ -50,24 +50,51 @@ rapid launch and wireup of the roughly 1M processes executing across 100k nodes
expected for exascale operations remains challenging.
This RPM contains all the tools necessary to compile and link against PMIx.
%package -n libpmix2
Summary: PMI-X lib version 1
Group: hpc mpi
Group: System/Libraries
Requires: pmix-plugins = %version
Requires: pmix-runtime-config
Recommends: pmix-mca-params = %version
%description -n libpmix2
This package contains the shared library used by the PMI-X standard
%package plugins
Summary: PMI-X plugins version 1
Group: System/Libraries
Requires: libmca_common_dstore1 = %version
Requires: (pmix-plugin-munge = %version if munge)
Recommends: pmix-plugin-munge = %version
# explicit requires for package libmca_common_dstore1
# as other providers for libmca_common_dstore.so.1 exist
%description plugins
This package contains plugins used by libpmix2.
%package plugin-munge
Summary: PMI-X munge plugin version 1
Group: System/Libraries
Requires: libmca_common_dstore1 = %version
# explicit requires for package libmca_common_dstore1
# as other providers for libmca_common_dstore.so.1 exist
%description plugin-munge
This package contains the munge plugin for libpmix2.
%package -n libmca_common_dstore1
Summary: Communication library used by PMI-X
Group: hpc mpi
Group: System/Libraries
%description -n libmca_common_dstore1
This package contains the communication library used by the PMI
%package devel
Summary: Process Management Interface for MPI
Group: hpc mpi devel
Group: Development/Libraries/C and C++
Requires: %{name}-headers = %{version}
Requires: libmca_common_dstore1 = %{version}
Requires: libpmix2 = %{version}
%description devel
@@ -76,23 +103,33 @@ aware applications.
%package headers
Summary: Process Management Interface for MPI
Group: hpc mpi devel
Group: Development/Libraries/C and C++
BuildArch: noarch
%description headers
This Package contains necessary the headers for PMI-X.
%package -n pmix-mca-params
Summary: Settings for the Module Component Architecure
Group: hpc mpi devel
Conflicts: openmpi3-config
Group: Development/Libraries/C and C++
Provides: pmix-runtime-config
Conflicts: pmix-runtime-config
BuildArch: noarch
%description -n pmix-mca-params
PMIX is part of the Module Component Architecure and needs so to have its
parameters configured.
%package test
Summary: Test packages for PMIx
Group: Development/Libraries/C and C++
%description test
Test binaries which allow to test proper PMIx operations.
%prep
%setup -q -n openpmix-%{version}
%autopatch -p1
%build
./autogen.pl --force
@@ -100,6 +137,8 @@ parameters configured.
--with-munge \
--with-devel-headers \
--disable-pmi-backward-compatibility \
--enable-pmix-binaries \
--with-tests-examples \
%ifarch x86_64
--with-psm2 \
%endif
@@ -111,7 +150,14 @@ make %{?_smp_mflags}
%make_install
# removed static libaries
rm -v %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/pmix/*.la
%fdupes %{buildroot}/%{_datadir}
mkdir -p %{buildroot}/%{_libexecdir}/%{name}/test
for i in pmix_test pmix_client pmix_regex; do
cp test/.libs/$i %{buildroot}/%{_libexecdir}/%{name}/test
done
%fdupes %{buildroot}/%{_datadir}
%check
make check
%post -n libpmix2 -p /sbin/ldconfig
%postun -n libpmix2 -p /sbin/ldconfig
@@ -123,12 +169,14 @@ rm -v %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/pmix/*.la
%doc README.md NEWS AUTHORS
%license LICENSE
%dir %{_libdir}/pmix
%{_libdir}/pmix/mca_*.so
%{_datadir}/pmix
%{_bindir}/pevent
%{_bindir}/plookup
%{_bindir}/pmix_info
%{_bindir}/pps
#%%{_bindir}/pattrs
#%%{_bindir}/pmixcc
#%%{_bindir}/pquery
%files -n pmix-mca-params
%config %{_sysconfdir}/pmix-mca-params.conf
@@ -136,16 +184,28 @@ rm -v %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/pmix/*.la
%files -n libpmix2
%{_libdir}/libpmix.so.*
%files plugins
%exclude %{_libdir}/pmix/mca_psec_munge.so
%{_libdir}/pmix/mca_*.so
%files plugin-munge
%{_libdir}/pmix/mca_psec_munge.so
%files -n libmca_common_dstore1
%{_libdir}/libmca_common_dstore.so.*
%files devel
%{_libdir}/libpmix.so
%{_libdir}/libmca_common_dstore.so
%{_libdir}/pkgconfig/pmix.pc
%files headers
%dir %{_includedir}/pmix
%{_includedir}/pmix*.h
%{_includedir}/pmix/*
%files test
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/test
%changelog