public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Lemenkov <lemenkov@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rply] rawhide: Fix FTBFS with modern CMake
Date: Tue, 27 Oct 2026 23:15:58 GMT [thread overview]
Message-ID: <179314295883.1.896850213512914566.rpms-rply-46adc2f09977@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rply
Branch : rawhide
Commit : 46adc2f09977eedad9eb616c58c63f3ec5dc69f3
Author : Peter Lemenkov <lemenkov@gmail.com>
Date : 2026-10-28T00:07:14+01:00
Stats : +0/-48 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rply/c/46adc2f09977eedad9eb616c58c63f3ec5dc69f3?branch=rawhide
Log:
Fix FTBFS with modern CMake
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
diff --git a/RPLYConfig.cmake.in b/RPLYConfig.cmake.in
deleted file mode 100644
index 5c4ec64..0000000
--- a/RPLYConfig.cmake.in
+++ /dev/null
@@ -1,8 +0,0 @@
-# The RPLY library directory.
-SET(RPLY_LIBRARY_DIR "@CMAKE_INSTALL_LIBDIR@")
-SET(RPLY_INCLUDE_DIR "@CMAKE_INSTALL_INCLUDEDIR@")
-SET(RPLY_LIBRARY "@RPLY_LIBRARY@")
-
-
-
-
diff --git a/rply.spec b/rply.spec
index d4b15a2..01613ad 100644
--- a/rply.spec
+++ b/rply.spec
@@ -6,8 +6,6 @@ License: MIT
URL: https://w3.impa.br/~diego/software/rply/
Source0: %{url}/%{name}-%{version}.tar.gz
Source1: rply_CMakeLists.txt
-Source2: RPLYConfig.cmake.in
-Source3: rply_cmake_export_cmakelists.txt
Patch: 11.patch
BuildRequires: cmake >= 2.6.0
BuildRequires: gcc
@@ -40,12 +38,6 @@ Rply Library Header Files and Link Libraries
# Add CMakeLists.txt file
cp %{SOURCE1} CMakeLists.txt
-# Add CMake detection modules
-mkdir -p CMake/export
-mkdir -p CMake/Modules
-cp %{SOURCE2} CMake/Modules/
-cp %{SOURCE3} CMake/export/CMakeLists.txt
-
%build
%cmake -DCMAKE_BUILD_TYPE:STRING="Release" \
-DCMAKE_VERBOSE_MAKEFILE=ON
@@ -57,8 +49,6 @@ iconv -f iso8859-1 -t utf-8 LICENSE > LICENSE.conv && mv -f LICENSE.conv LICENSE
%install
%cmake_install
-rm $RPM_BUILD_ROOT%{_datadir}/%{name}/rplyConfig.cmake
-
%files
%license LICENSE
%doc manual/*
@@ -70,7 +60,6 @@ rm $RPM_BUILD_ROOT%{_datadir}/%{name}/rplyConfig.cmake
%dir %{_includedir}/%{name}/
%{_includedir}/%{name}/*
%{_libdir}/*.so
-%dir %{_datadir}/%{name}/
%changelog
%autochangelog
diff --git a/rply_CMakeLists.txt b/rply_CMakeLists.txt
index 49559ef..d00f0d4 100644
--- a/rply_CMakeLists.txt
+++ b/rply_CMakeLists.txt
@@ -31,6 +31,3 @@ install(TARGETS rply LIBRARY DESTINATION ${LIBDIR})
install(TARGETS rply_convert RUNTIME DESTINATION bin)
install(TARGETS rply_dump RUNTIME DESTINATION bin)
install(TARGETS rply_sconvert RUNTIME DESTINATION bin)
-
-#This should be the last line of the project
-SUBDIRS( CMake/export )
diff --git a/rply_cmake_export_cmakelists.txt b/rply_cmake_export_cmakelists.txt
deleted file mode 100644
index 1ac475f..0000000
--- a/rply_cmake_export_cmakelists.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-# This CMakeLists.txt file handles the creation of files needed by
-# other client projects that use RPLY. Nothing is built by this
-# CMakeLists.txt file. This CMakeLists.txt file must be processed by
-# CMake after all the other CMakeLists.txt files in the RPLY tree,
-# which is why the SUBDIRS(CMake/export) command is at the end
-# of the top level CMakeLists.txt file.
-
-# Save the compiler settings so another project can import them.
-INCLUDE(${CMAKE_ROOT}/Modules/CMakeExportBuildSettings.cmake)
-SET(RPLY_BUILD_SETTINGS_FILE ${rply_BINARY_DIR}/RPLYBuildSettings.cmake)
-SET(RPLY_EXPORT_BUILD_SETTINGS_FILE
- ${CMAKE_INSTALL_PREFIX}/share/rply/cmake/RPLYBuildSettings.cmake
-)
-CMAKE_EXPORT_BUILD_SETTINGS(${RPLY_BUILD_SETTINGS_FILE})
-
-# Create the VXLConfig.cmake file for the build tree.
-CONFIGURE_FILE(${RPLY_CMAKE_DIR}Modules/RPLYConfig.cmake.in
- ${CMAKE_BINARY_DIR}/rplyConfig.cmake @ONLY IMMEDIATE)
-
-INSTALL_FILES(/share/rply FILES
- ${CMAKE_BINARY_DIR}/rplyConfig.cmake
-# ${RPLY_BINARY_DIR}/RPLYBuildSettings.cmake
-# ${RPLY_BINARY_DIR}/RPLYLibraryDepends.cmake
-# ${RPLY_CMAKE_DIR}/RPLYStandardOptions.cmake
-# ${RPLY_CMAKE_DIR}/UseRPLY.cmake
-)
reply other threads:[~2026-10-27 23:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179314295883.1.896850213512914566.rpms-rply-46adc2f09977@fedoraproject.org \
--to=lemenkov@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox