Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Oct 8 09:14:06 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
|
||||||
|
|
||||||
- Ensure that %check do not modify build results (boo#1227364)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 11 05:03:47 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
Tue Jun 11 05:03:47 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
29
gsl.spec
29
gsl.spec
@ -282,6 +282,18 @@ export CFLAGS="%{optflags}"
|
|||||||
--with-gnu-ld
|
--with-gnu-ld
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
# On i586 this still fails
|
||||||
|
%ifarch %{ix86}
|
||||||
|
make %{?_smp_mflags} check || ( find -name \*.log -print -exec cat {} \; ; exit 0 )
|
||||||
|
%else
|
||||||
|
make %{?_smp_mflags} check || ( find -name \*.log -print -exec cat {} \; ; exit 1 )
|
||||||
|
%endif
|
||||||
|
# Clean up to package directory
|
||||||
|
make -C doc/examples clean
|
||||||
|
chmod a-x doc/examples/*
|
||||||
|
rm doc/examples/Makefile*
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{?with_hpc:%hpc_setup}
|
%{?with_hpc:%hpc_setup}
|
||||||
|
|
||||||
@ -336,23 +348,6 @@ family "%pname"
|
|||||||
EOF
|
EOF
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# create a copy for testing without dirtying the installed files
|
|
||||||
cp -a `pwd` ../test.tmp
|
|
||||||
# Clean up to package directory
|
|
||||||
make -C doc/examples clean
|
|
||||||
rm doc/examples/Makefile*
|
|
||||||
chmod a-x doc/examples/*
|
|
||||||
|
|
||||||
%check
|
|
||||||
cd ../test.tmp
|
|
||||||
# On i586 this still fails
|
|
||||||
%ifarch %{ix86}
|
|
||||||
make %{?_smp_mflags} check || ( find -name \*.log -print -exec cat {} \; ; exit 0 )
|
|
||||||
%else
|
|
||||||
make %{?_smp_mflags} check || ( find -name \*.log -print -exec cat {} \; ; exit 1 )
|
|
||||||
%endif
|
|
||||||
cd .. ; rm -rf test.tmp
|
|
||||||
|
|
||||||
%if %{without hpc}
|
%if %{without hpc}
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user