public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libpkgmanifest] f45: Remove unused patch files
@ 2026-10-02 20:34
0 siblings, 0 replies; 2+ messages in thread
From: @ 2026-10-02 20:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libpkgmanifest
Branch : f45
Commit : 9c652d9ff60f02bab0e2a24455b3a74731999e72
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-10-02T16:20:27-04:00
Stats : +0/-80 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libpkgmanifest/c/9c652d9ff60f02bab0e2a24455b3a74731999e72?branch=f45
Log:
Remove unused patch files
[skip changelog]
---
diff --git a/0001-build-Turn-compiler-warnings-into-errors-only-for-ou.patch b/0001-build-Turn-compiler-warnings-into-errors-only-for-ou.patch
deleted file mode 100644
index 27bc704..0000000
--- a/0001-build-Turn-compiler-warnings-into-errors-only-for-ou.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From d21bfef59dc6276afb922fbad4d988a3dc07e231 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
-Date: Fri, 30 Jan 2026 10:10:18 +0100
-Subject: [PATCH] build: Turn compiler warnings into errors only for our code
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Building with GCC 16 failed on i686 architecture:
-
- /builddir/build/BUILD/libpkgmanifest-0.5.9-build/libpkgmanifest-0.5.9/redhat-linux-build/bindings/python/libpkgmanifest/CMakeFiles/python3_common.dir/commonPYTHON_wrap.cxx: In function ‘void SWIG_TypeClientData(swig_type_info*, void*)’:
- /builddir/build/BUILD/libpkgmanifest-0.5.9-build/libpkgmanifest-0.5.9/redhat-linux-build/bindings/python/libpkgmanifest/CMakeFiles/python3_common.dir/commonPYTHON_wrap.cxx:692:37: error: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Werror=sign-compare]
- 692 | for (cast = head; (cast - head) <= head->value; cast++) {
- | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
-
-The cause is a bug in Swig-4.4.1 <https://github.com/swig/swig/issues/3323>.
-The bug is triggered by adding -Wextra -Werror to all compiler invocation,
-stricter GCC, and building on 32-bit platforms where a ptrdiff_t type
-has the same rank as the int type.
-
-This patch works around the compiler warning by only applying the
--Werror option to code we maintain. Particullary, not applying to
-Swig-generated code. In my opinion, this is more sustainable approach
-than adding -Wno-warn-... exceptions to bindings/CMakeLists.txt
-whenever the C++ compiler or Swig changes.
-
-Resolve: https://bugzilla.redhat.com/show_bug.cgi?id=2434767
----
- CMakeLists.txt | 2 +-
- src/CMakeLists.txt | 1 +
- test/CMakeLists.txt | 3 ++-
- 3 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 05c4080..d7d961e 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -24,7 +24,7 @@ include(GNUInstallDirs)
- find_package(PkgConfig REQUIRED)
- pkg_check_modules(YAMLCPP REQUIRED yaml-cpp)
-
--add_compile_options(-Wall -Wextra -Werror)
-+add_compile_options(-Wall -Wextra)
-
- include_directories("${PROJECT_SOURCE_DIR}/include")
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 8ac7689..250f16b 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -3,6 +3,7 @@ file(GLOB_RECURSE libpkgmanifest_SOURCES *.cpp)
- list(APPEND libpkgmanifest_PC_REQUIRES)
- list(APPEND libpkgmanifest_PC_REQUIRES_PRIVATE)
-
-+add_compile_options(-Werror)
- include_directories(.)
-
- add_library(libpkgmanifest SHARED ${libpkgmanifest_SOURCES})
-diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 2eac730..a4e87d3 100644
---- a/test/CMakeLists.txt
-+++ b/test/CMakeLists.txt
-@@ -7,6 +7,7 @@ pkg_check_modules(GMOCK REQUIRED gmock)
-
- file(GLOB_RECURSE TEST_libpkgmanifest_SOURCES *.cpp)
-
-+add_compile_options(-Werror)
- include_directories(.)
- include_directories(${PROJECT_SOURCE_DIR}/include)
- include_directories(${PROJECT_SOURCE_DIR}/src)
-@@ -22,4 +23,4 @@ set_property(TEST tests_libpkgmanifest PROPERTY ENVIRONMENT
- "PROJECT_SOURCE_DIR=${PROJECT_SOURCE_DIR}"
- )
-
--add_subdirectory("python")
-\ No newline at end of file
-+add_subdirectory("python")
---
-2.52.0
-
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [rpms/libpkgmanifest] f45: Remove unused patch files
@ 2026-10-02 20:38 Evan Goode
0 siblings, 0 replies; 2+ messages in thread
From: Evan Goode @ 2026-10-02 20:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libpkgmanifest
Branch : f45
Commit : d61c243618539bc947cd9d843f3e4ee3fcb5252e
Author : Evan Goode <mail@evangoo.de>
Date : 2026-10-02T16:38:40-04:00
Stats : +0/-98 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/libpkgmanifest/c/d61c243618539bc947cd9d843f3e4ee3fcb5252e?branch=f45
Log:
Remove unused patch files
---
diff --git a/0001-Bump-a-version-to-0.6.0.patch b/0001-Bump-a-version-to-0.6.0.patch
deleted file mode 100644
index a81ce06..0000000
--- a/0001-Bump-a-version-to-0.6.0.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 8fa7f967dfa393d2f7aa498e8702e2758618a8ac Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
-Date: Fri, 18 Sep 2026 12:08:50 +0200
-Subject: [PATCH 1/3] Bump a version to 0.6.0
-
-0.6.0 release was tagged, but the CMake project and RPM package
-version was left old. This patch updates the versions.
----
- VERSION.cmake | 4 ++--
- libpkgmanifest.spec | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/VERSION.cmake b/VERSION.cmake
-index 9431186..64ae2d9 100644
---- a/VERSION.cmake
-+++ b/VERSION.cmake
-@@ -1,3 +1,3 @@
- set(VERSION_MAJOR 0)
--set(VERSION_MINOR 5)
--set(VERSION_PATCH 10)
-+set(VERSION_MINOR 6)
-+set(VERSION_PATCH 0)
-diff --git a/libpkgmanifest.spec b/libpkgmanifest.spec
-index 570f7cb..b128c74 100644
---- a/libpkgmanifest.spec
-+++ b/libpkgmanifest.spec
-@@ -3,8 +3,8 @@
- %global forgeurl https://github.com/rpm-software-management/%{pkg_name}
-
- %global version_major 0
--%global version_minor 5
--%global version_patch 10
-+%global version_minor 6
-+%global version_patch 0
-
- %bcond_with docs
- %bcond_without python
---
-2.55.0
-
diff --git a/0002-spec-Package-COPYING.lib-not-LICENSE.patch b/0002-spec-Package-COPYING.lib-not-LICENSE.patch
deleted file mode 100644
index 98973ed..0000000
--- a/0002-spec-Package-COPYING.lib-not-LICENSE.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 0dee4480a0026a258233e8589d434f0fbaee3d91 Mon Sep 17 00:00:00 2001
-From: Evan Goode <mail@evangoo.de>
-Date: Thu, 17 Sep 2026 11:52:04 -0400
-Subject: [PATCH 2/3] spec: Package COPYING.lib, not LICENSE
-
----
- libpkgmanifest.spec | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libpkgmanifest.spec b/libpkgmanifest.spec
-index b128c74..ebaca2f 100644
---- a/libpkgmanifest.spec
-+++ b/libpkgmanifest.spec
-@@ -54,7 +54,7 @@ BuildRequires: python3dist(sphinx-rtd-theme)
-
- %files -n %{name}
- %{_libdir}/%{name}.so.0
--%license LICENSE
-+%license COPYING.LIB
- %doc README.md
-
- %package -n %{name}-devel
---
-2.55.0
-
diff --git a/0003-Move-from-automatic-release-numbering-to-manual-one.patch b/0003-Move-from-automatic-release-numbering-to-manual-one.patch
deleted file mode 100644
index 254fc78..0000000
--- a/0003-Move-from-automatic-release-numbering-to-manual-one.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 41d682765f3f12e7ae4d324227b9bf9e9703a587 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
-Date: Fri, 18 Sep 2026 12:07:00 +0200
-Subject: [PATCH 3/3] Move from automatic release numbering to manual one
-
-Autochangelog breaks when building for minor RHEL releases.
----
- libpkgmanifest.spec | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/libpkgmanifest.spec b/libpkgmanifest.spec
-index ebaca2f..594547b 100644
---- a/libpkgmanifest.spec
-+++ b/libpkgmanifest.spec
-@@ -12,7 +12,7 @@
-
- Name: %{pkg_name}
- Version: %{version_major}.%{version_minor}.%{version_patch}
--Release: %{autorelease}
-+Release: 1%{?dist}
-
- %forgemeta
-
-@@ -108,4 +108,5 @@ Python 3 bindings for the %{name} library.
- %cmake_install
-
- %changelog
--%autochangelog
-+* Fri Sep 18 2026 Petr Pisar <ppisar@redhat.com> - 0.6.0-1
-+- Developmental snapshot
---
-2.55.0
-
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-02 20:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-02 20:34 [rpms/libpkgmanifest] f45: Remove unused patch files
2026-10-02 20:38 Evan Goode
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox