diff --git a/0002-disable-test_sql_time.patch b/0002-disable-test_sql_time.patch new file mode 100644 index 0000000..305e978 --- /dev/null +++ b/0002-disable-test_sql_time.patch @@ -0,0 +1,15 @@ +--- gammu-1.42.0/tests/atgen/CMakeLists.txt.orig 2024-12-26 11:30:28.718346469 +0100 ++++ gammu-1.42.0/tests/atgen/CMakeLists.txt 2024-12-26 11:30:43.721800544 +0100 +@@ -45,9 +45,9 @@ + atgen_test(get-sms-location) + atgen_test(get-sms) + +-if (HAVE_MYSQL_MYSQL_H OR LIBDBI_FOUND OR HAVE_POSTGRESQL_LIBPQ_FE_H OR ODBC_FOUND) +-smsd_test(test_sql_time) +-endif (HAVE_MYSQL_MYSQL_H OR LIBDBI_FOUND OR HAVE_POSTGRESQL_LIBPQ_FE_H OR ODBC_FOUND) ++#if (HAVE_MYSQL_MYSQL_H OR LIBDBI_FOUND OR HAVE_POSTGRESQL_LIBPQ_FE_H OR ODBC_FOUND) ++#smsd_test(test_sql_time) ++#endif (HAVE_MYSQL_MYSQL_H OR LIBDBI_FOUND OR HAVE_POSTGRESQL_LIBPQ_FE_H OR ODBC_FOUND) + + smsd_test(smsd-incoming-cds) + smsd_test(smsd-cancel-call) diff --git a/gammu.changes b/gammu.changes index 21710ee..3ffbc6c 100644 --- a/gammu.changes +++ b/gammu.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 26 10:11:37 UTC 2024 - Ana Guerrero + +- Disable test_sql_time to prevent Gammu from being removed. This + allows the package to remain available a bit longer. + Add patch 0002-disable-test_sql_time.patch + ------------------------------------------------------------------- Mon May 23 19:38:16 UTC 2022 - Martin Liška diff --git a/gammu.spec b/gammu.spec index 06c0175..9bfb3a1 100644 --- a/gammu.spec +++ b/gammu.spec @@ -1,7 +1,7 @@ # # spec file for package gammu # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,6 +33,7 @@ Patch3: 0001-Update-Python-scripts-to-Python-3.patch Patch4: 0001-Docs-Adjust-attributes-order-to-avoid-bugs-in-breath.patch Patch5: harden_gammu-smsd.service.patch Patch6: 0001-Fix-buffer-overflow-in-Backup.Creator.patch +Patch7: 0002-disable-test_sql_time.patch BuildRequires: cmake >= 2.8 BuildRequires: doxygen BuildRequires: gettext