Skip to content

Commit afd6975

Browse files
committed
fix packaging script
1 parent 81edc1d commit afd6975

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hhd.spec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ Handheld Daemon is a project that aims to provide utilities for managing handhel
3838
%autosetup -n %{name}-%{version}
3939

4040
%build
41-
%{_bindir}/pybabel compile -D hhd -d ./i18n
42-
%{_bindir}/pybabel compile -D adjustor -d ./i18n || true
41+
%{python3} -m babel.messages.frontend compile -D hhd -d ./i18n
42+
%{python3} -m babel.messages.frontend compile -D adjustor -d ./i18n || true
4343
cp -rf ./i18n/* ./src/hhd/i18n
4444
%{python3} -m build --wheel --no-isolation
4545

@@ -63,6 +63,5 @@ install -m644 usr/lib/systemd/system/%{name}.service %{buildroot}%{_unitdir}/%{n
6363
%{_unitdir}/%{name}@.service
6464
%{_unitdir}/%{name}.service
6565

66-
%{_bindir}/adjustor*
6766
%{python3_sitelib}/adjustor*
6867
# %{_datarootdir}/dbus-1/system.d/%{name}-net.hadess.PowerProfiles.conf

0 commit comments

Comments
 (0)