Remove trailing whitespaces
This commit is contained in:
parent
423456a0cb
commit
febb841c7b
|
@ -1,5 +1,5 @@
|
||||||
#%Module 1.0
|
#%Module 1.0
|
||||||
#
|
#
|
||||||
# mp module for use with 'environment-modules' package:
|
# mp module for use with 'environment-modules' package:
|
||||||
#
|
#
|
||||||
prepend-path PATH @BINDIR@
|
prepend-path PATH @BINDIR@
|
||||||
|
|
4
mp.spec
4
mp.spec
|
@ -10,7 +10,7 @@ Name: mp
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT and BSD
|
License: MIT and BSD
|
||||||
Summary: An open-source library for mathematical programming
|
Summary: An open-source library for mathematical programming
|
||||||
URL: https://github.com/ampl/mp
|
URL: https://github.com/ampl/mp
|
||||||
Source0: https://github.com/ampl/mp/archive/%{commit}/mp-%{commit}.tar.gz
|
Source0: https://github.com/ampl/mp/archive/%{commit}/mp-%{commit}.tar.gz
|
||||||
Source1: mp.module.in
|
Source1: mp.module.in
|
||||||
|
@ -99,7 +99,7 @@ make -C build install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/Modules/modulefiles
|
mkdir -p %{buildroot}%{_datadir}/Modules/modulefiles
|
||||||
sed 's#@BINDIR@#'%{_libdir}/%{name}'#g;' < %{SOURCE1} > \
|
sed 's#@BINDIR@#'%{_libdir}/%{name}'#g;' < %{SOURCE1} > \
|
||||||
%{buildroot}%{_datadir}/Modules/modulefiles/%{name}-%{_arch}
|
%{buildroot}%{_datadir}/Modules/modulefiles/%{name}-%{_arch}
|
||||||
rm -r %{buildroot}%{_libdir}/%{name}/share
|
rm -r %{buildroot}%{_libdir}/%{name}/share
|
||||||
mv %{buildroot}%{_libdir}/%{name}/include %{buildroot}%{_prefix}
|
mv %{buildroot}%{_libdir}/%{name}/include %{buildroot}%{_prefix}
|
||||||
rm %{buildroot}%{_libdir}/%{name}/lib/*.a
|
rm %{buildroot}%{_libdir}/%{name}/lib/*.a
|
||||||
|
|
Loading…
Reference in New Issue