public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cryptopp] f45: Drop duplicate build
@ 2026-09-11 11:03 Nicolas Chauvet
0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-09-11 11:03 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/cryptopp
Branch : f45
Commit : 58b5556078ae90cc243baaff8950f5a003a8dfa0
Author : Nicolas Chauvet <kwizart@gmail.com>
Date : 2026-09-11T09:55:17+02:00
Stats : +2/-19 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/cryptopp/c/58b5556078ae90cc243baaff8950f5a003a8dfa0?branch=f45
Log:
Drop duplicate build
---
diff --git a/cryptopp.spec b/cryptopp.spec
index 99554b6..3416189 100644
--- a/cryptopp.spec
+++ b/cryptopp.spec
@@ -77,32 +77,15 @@ Tests for %{name}.
# build shared
%cmake \
-DCRYPTOPP_BUILD_SHARED=ON \
- -DCRYPTOPP_BUILD_TESTING=OFF
-
-%cmake_build
-
-# save shared build
-mv %{__cmake_builddir} build-shared
-
-# build static
-%cmake \
- -DCRYPTOPP_BUILD_SHARED=OFF\
+ -DCRYPTOPP_BUILD_STATIC=ON \
-DCRYPTOPP_BUILD_TESTING=ON
%cmake_build
-%install
-%cmake_install
-
-# back to shared-build
-mv %{__cmake_builddir} build-static
-mv build-shared %{__cmake_builddir}
+%install
%cmake_install
-# back to static-build for tests
-mv %{__cmake_builddir} build-shared
-mv build-static %{__cmake_builddir}
%check
%ctest
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 11:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 11:03 [rpms/cryptopp] f45: Drop duplicate build Nicolas Chauvet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox