Compare commits

..

3 commits

Author SHA1 Message Date
Fedora Release Engineering
6b8042a731 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 23:56:45 +00:00
Akira TAGOH
efdad73179 Fix FTBFS
Resolves: rhbz#2341001
2025-01-27 18:50:02 +09:00
Fedora Release Engineering
454fff4bc5 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 22:21:37 +00:00
2 changed files with 26 additions and 1 deletions

13
paps-0.6.8-ftbfs.patch Normal file
View file

@ -0,0 +1,13 @@
バイナリーファイル paps-0.6.8.orig/src/paps-paps.o とpaps-0.6.8/src/paps-paps.o は異なります
diff -pruN paps-0.6.8.orig/src/paps.c paps-0.6.8/src/paps.c
--- paps-0.6.8.orig/src/paps.c 2025-01-27 18:18:12.130570673 +0900
+++ paps-0.6.8/src/paps.c 2025-01-27 18:47:05.214883811 +0900
@@ -515,7 +515,7 @@ int main(int argc, char *argv[])
} /* if (!cups_mode) */
paps = paps_new();
- pango_context = paps_get_pango_context (paps);
+ pango_context = paps_get_pango_context ();
/* Setup pango */
pango_context_set_language (pango_context, get_language ());

View file

@ -1,6 +1,6 @@
Name: paps
Version: 0.8.0
Release: 11%{?dist}
Release: 14%{?dist}
License: LGPL-2.0-or-later
URL: https://github.com/dov/paps
@ -45,6 +45,7 @@ Patch60: %{name}-a3.patch
Patch61: %{name}-fix-paper-size-truncate.patch
Patch62: paps-c99.patch
Patch63: paps-0.6.8-glib282.patch
Patch64: paps-0.6.8-ftbfs.patch
### For paps
Patch100: %{name}-fix-src-to-paps.patch
Patch101: %{name}-fix-build.patch
@ -92,6 +93,7 @@ pushd %{name}-0.6.8
%patch 61 -p1 -b .paper-size
%patch 62 -p2 -b .configure-c99
%patch 63 -p1 -b .glib282
%patch 64 -p1 -b .ftbfs
libtoolize -f -c
autoreconf -f -i
popd
@ -155,6 +157,16 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="/usr/bin/install -p"
%changelog
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jan 27 2025 Akira TAGOH <tagoh@redhat.com> - 0.8.0-13
- Fix FTBFS
Resolves: rhbz#2341001
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Sep 13 2024 Akira TAGOH <tagoh@redhat.com> - 0.8.0-11
- Fix build with glib 2.82
Patch from Yaakov Selkowitz