summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-23 09:51:51 +0100
committerRemi Collet <fedora@famillecollet.com>2016-12-23 09:51:51 +0100
commita777a4a38aba2ce87f3caf52f0eadb213367fa08 (patch)
tree0285ca58cd86494c715bdcfb3f99d11d6928fac5
parentf32b9d730e5dcfdf5dcca1cb294f38eb6b52d56b (diff)
libreoffice-grammalecte: byte compile
-rw-r--r--libreoffice-grammalecte-dev.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/libreoffice-grammalecte-dev.spec b/libreoffice-grammalecte-dev.spec
index adbd928..0eee368 100644
--- a/libreoffice-grammalecte-dev.spec
+++ b/libreoffice-grammalecte-dev.spec
@@ -10,14 +10,14 @@
%global extname grammalecte
# data-only package
%global debug_package %{nil}
-%undefine py_auto_byte_compile
+%global __python %{_bindir}/python3
# NOTE: this package is not noarch because LibreOffice has no
# arch-independent extension location
Name: libreoffice-%{extname}
Version: 0.5.14
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: French grammar corrector
Summary(fr): Correcteur grammatical Français
Group: System Environment/Libraries
@@ -27,7 +27,12 @@ License: GPLv3+ and MPLv2.0
URL: http://www.dicollecte.org/grammalecte/
Source0: http://www.dicollecte.org/grammalecte/oxt/Grammalecte-fr-v%{version}.oxt
+BuildRequires: python3-devel
+
Requires: libreoffice-writer
+Requires: libreoffice-langpack-fr
+Requires: libreoffice-pyuno
+Requires: python(abi) >= 3
%description
@@ -68,6 +73,10 @@ cp -pr * %{buildroot}%{_libdir}/libreoffice/share/extensions/%{extname}
%changelog
+* Fri Dec 23 2016 Remi Collet <remi@fedoraproject.org> - 0.5.14-2
+- require libreoffice-langpack-fr
+- enable byte compile
+
* Thu Dec 22 2016 Remi Collet <remi@fedoraproject.org> - 0.5.14-1
- initial package