forked from pool/python-PyMuPDF
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 44eb431210 | |||
| 0447bdd29a | |||
| 8ac880d25f | |||
| 0128ad6047 | |||
| 3798726895 | |||
| 56fa267d56 |
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 2 09:15:44 UTC 2025 - Max Lin <mlin@suse.com>
|
||||
|
||||
- Fix packaging for Leap 16
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 1 10:55:47 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Fix packaging with new setuptools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 17 09:06:01 UTC 2025 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Compile everything with -DNDEBUG to fix reference to undefined symbols
|
||||
- Compile mupdf with %optflags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 13 14:54:54 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-PyMuPDF
|
||||
#
|
||||
# Copyright (c) 2023 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
|
||||
@@ -60,7 +60,8 @@ book formats. PyMuPDF can also access files with extensions *.pdf,
|
||||
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -I/usr/include/freetype2"
|
||||
export CFLAGS="%{optflags} -I/usr/include/freetype2 -DNDEBUG"
|
||||
export ARCHFLAGS="%{optflags}"
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
@@ -74,7 +75,7 @@ cd /tmp
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{python_sitearch}/PyMuPDF-%{version}*-info
|
||||
%{python_sitearch}/[Pp]y[Mm]u[Pp][Dd][Ff]-%{version}*info
|
||||
%{python_sitearch}/fitz/
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user