commit c7f95b0e58e5da3693c6db953b57935ce903696a
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sat Mar 9 12:34:04 2019 +0100
Enabled ARM builds again. Minor SPEC fixes.
libtgvoip.spec | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
---
diff --git a/libtgvoip.spec b/libtgvoip.spec
index 69f8a51..398c4b5 100644
--- a/libtgvoip.spec
+++ b/libtgvoip.spec
@@ -1,6 +1,6 @@
Name: libtgvoip
Version: 2.4.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: VoIP library for Telegram clients
# Libtgvoip shared library - Public Domain.
@@ -23,13 +23,6 @@ BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gyp
-# Temporary disabled ARMv7 due to GCC 9.0 regressions:
-#
https://bugzilla.redhat.com/show_bug.cgi?id=1668323
-#
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87935
-%if 0%{?fedora} && 0%{?fedora} >= 30
-ExcludeArch: %{arm}
-%endif
-
%description
Provides VoIP library for Telegram clients.
@@ -54,18 +47,18 @@ popd
%install
# Installing shared library...
-mkdir -p "%{buildroot}%{_libdir}"
-install -m 0755 -p out/Release/lib.target/%{name}.so.%{version}
"%{buildroot}%{_libdir}/%{name}.so.%{version}"
-ln -s %{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so.2.4"
-ln -s %{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so.2"
-ln -s %{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so"
+%{__mkdir_p} "%{buildroot}%{_libdir}"
+%{__install} -m 0755 -p out/Release/lib.target/%{name}.so.%{version}
"%{buildroot}%{_libdir}/%{name}.so.%{version}"
+%{__ln_s} %{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so.2.4"
+%{__ln_s} %{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so.2"
+%{__ln_s} %{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so"
# Installing additional development files...
-mkdir -p "%{buildroot}%{_includedir}/%{name}"
+%{__mkdir_p} "%{buildroot}%{_includedir}/%{name}"
find . -maxdepth 1 -type f -name "*.h" -exec install -m 0644 -p '{}'
%{buildroot}%{_includedir}/%{name} \;
-mkdir -p "%{buildroot}%{_includedir}/%{name}/audio"
+%{__mkdir_p} "%{buildroot}%{_includedir}/%{name}/audio"
find audio -maxdepth 1 -type f -name "*.h" -exec install -m 0644 -p
'{}' %{buildroot}%{_includedir}/%{name}/audio \;
-mkdir -p "%{buildroot}%{_includedir}/%{name}/video"
+%{__mkdir_p} "%{buildroot}%{_includedir}/%{name}/video"
find video -maxdepth 1 -type f -name "*.h" -exec install -m 0644 -p
'{}' %{buildroot}%{_includedir}/%{name}/video \;
%files
@@ -77,6 +70,10 @@ find video -maxdepth 1 -type f -name "*.h" -exec install -m
0644 -p '{}' %{build
%{_libdir}/%{name}.so
%changelog
+* Sat Mar 09 2019 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.4.2-4
+- Enabled ARM builds again.
+- Minor SPEC fixes.
+
* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
2.4.2-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild