diff --git a/udiskie.spec b/udiskie.spec index 8a4e4f5..bc1478f 100644 --- a/udiskie.spec +++ b/udiskie.spec @@ -1,6 +1,6 @@ Name: udiskie Version: 1.7.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Removable disk auto-mounter License: MIT @@ -52,14 +52,14 @@ cp -prt.. doc CONTRIBUTORS COPYING README.rst find . -name '*.py' | xargs sed -i 's|^#!python|#!%{__python3}|' %build -CFLAGS="%{optflags}" LC_ALL="en_US.utf8" %{__python3} setup.py build +%py3_build # Build man page %make_build -C doc %install # Define functions for installing both python2 and python3, then use in desired order -LC_ALL="en_US.utf8" %{__python3} setup.py install --skip-build --root %{buildroot} +%py3_install find %{buildroot}%{python3_sitelib} -name '*.exe' -delete # Install polkit rules @@ -92,7 +92,7 @@ fi %check # Only run tests with satisfied dependencies -LC_ALL="en_US.utf8" %{__python3} setup.py test --test-suite test.test_match +%{__python3} setup.py test --test-suite test.test_match %files -f %{name}.lang %{_mandir}/man8/%{name}*.8* @@ -113,6 +113,10 @@ LC_ALL="en_US.utf8" %{__python3} setup.py test --test-suite test.test_match %changelog +* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 1.7.5-4 +- Drop explicit locale setting + See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot + * Sat Jul 14 2018 Fedora Release Engineering - 1.7.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild