public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rply] f45: Fix FTBFS with modern CMake
@ 2026-10-27 23:16 Peter Lemenkov
0 siblings, 0 replies; only message in thread
From: Peter Lemenkov @ 2026-10-27 23:16 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rply
Branch : f45
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=f45
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
-)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-27 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 23:16 [rpms/rply] f45: Fix FTBFS with modern CMake Peter Lemenkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox