summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-12-15 15:12:18 +0000
committerCoprDistGit <infra@openeuler.org>2024-12-15 15:12:18 +0000
commit3c1c73289121be8fa6641cf3473448f57a5828b4 (patch)
treea00b14df2f4fde86d947cc237c7076335808212f
parenta9800dbb531b40002b08f06c3c4e81822d60d90b (diff)
automatic import of lammps
-rw-r--r--lammps.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/lammps.spec b/lammps.spec
index 07cd0dd..7c52147 100644
--- a/lammps.spec
+++ b/lammps.spec
@@ -218,8 +218,6 @@ cd ../python
%py3_build
%install
-rm -rf build/phana_build/spglib_build_ext/include/spglib.h
-rm -rf build/phana_build/spglib_build_ext/lib/libsymspg.a
set +e
. /etc/profile.d/modules.sh
set -e
@@ -256,6 +254,9 @@ done
%ldconfig_scriptlets
+rm -rf phana_build/spglib_build_ext/include/spglib.h
+rm -rf phana_build/spglib_build_ext/lib/libsymspg.a
+
%files
%doc README
%license LICENSE