diff --git a/mpich.spec b/mpich.spec index 6434b2a..2c10766 100644 --- a/mpich.spec +++ b/mpich.spec @@ -3,7 +3,7 @@ Summary: A high-performance implementation of MPI Name: mpich Version: 3.1 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT Group: Development/Libraries URL: http://www.mpich.org/ @@ -178,9 +178,9 @@ module load mpi/%{name}-%{_arch} EOF cp -p %{buildroot}%{_sysconfdir}/profile.d/mpich-%{_arch}.{sh,csh} -# Install the RPM macro -mkdir -p %{buildroot}%{_sysconfdir}/rpm -cp -pr %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.%{name} +# Install the RPM macros +mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d +cp -p %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' rm -f %{buildroot}%{_libdir}/%{name}/lib/lib{*mpich*,opa,mpl}.a @@ -214,7 +214,7 @@ make check %{_libdir}/%{name}/lib/*.so %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/openpa.pc -%config %{_sysconfdir}/rpm/macros.%{name} +%{_rpmconfigdir}/macros.d/macros.%{name} %files doc %dir %{_datadir}/%{name} @@ -222,6 +222,9 @@ make check %{_mandir}/%{name}/man3/ %changelog +* Fri Feb 21 2014 Ville Skyttä - 3.1-2 +- Install rpm macros to %%{_rpmconfigdir}/macros.d as non-%%config. + * Fri Feb 21 2014 Deji Akingunola - 3.1-1 - Update to 3.1