Compare commits

..

No commits in common. "c8" and "imports/c8s/brltty-5.6-30.el8" have entirely different histories.

View File

@ -33,7 +33,7 @@
Name: brltty Name: brltty
Version: %{pkg_version} Version: %{pkg_version}
Release: 32%{?dist} Release: 30%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: http://brltty.app/ URL: http://brltty.app/
Source0: http://brltty.app/archive/%{name}-%{version}.tar.xz Source0: http://brltty.app/archive/%{name}-%{version}.tar.xz
@ -389,7 +389,6 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/libbrlapi.a
# ghost brlapi.key # ghost brlapi.key
touch ${RPM_BUILD_ROOT}%{_sysconfdir}/brlapi.key touch ${RPM_BUILD_ROOT}%{_sysconfdir}/brlapi.key
chmod 0640 ${RPM_BUILD_ROOT}%{_sysconfdir}/brlapi.key
# disable xbrlapi gdm autostart, there is already orca # disable xbrlapi gdm autostart, there is already orca
rm -f ${RPM_BUILD_ROOT}%{_datadir}/gdm/greeter/autostart/xbrlapi.desktop rm -f ${RPM_BUILD_ROOT}%{_datadir}/gdm/greeter/autostart/xbrlapi.desktop
@ -414,16 +413,6 @@ popd
rm -f doc/Initramfs/Dracut/README* rm -f doc/Initramfs/Dracut/README*
rmdir doc/Initramfs/Dracut doc/Initramfs rmdir doc/Initramfs/Dracut doc/Initramfs
# workaround for multilib conflict (rhbz#1849675)
for f in config.h forbuild.h
do
sed -i 's|^\s*#define\s\+DRIVERS_DIRECTORY\s\+.*$|#if defined (__i386__)\
#define DRIVERS_DIRECTORY "/usr/lib/brltty"\
#else\
#define DRIVERS_DIRECTORY "/usr/lib64/brltty"\
#endif|' ${RPM_BUILD_ROOT}%{_includedir}/brltty/$f
done
%post %post
%systemd_post brltty.service %systemd_post brltty.service
@ -502,7 +491,7 @@ fi
%{_bindir}/xbrlapi %{_bindir}/xbrlapi
%{_libdir}/brltty/libbrlttybba.so %{_libdir}/brltty/libbrlttybba.so
%{_libdir}/libbrlapi.so.* %{_libdir}/libbrlapi.so.*
%ghost %verify(not group) %{_sysconfdir}/brlapi.key %ghost %{_sysconfdir}/brlapi.key
%doc Drivers/Braille/XWindow/README %doc Drivers/Braille/XWindow/README
%doc Documents/Manual-BrlAPI/ %doc Documents/Manual-BrlAPI/
%doc %{_mandir}/man1/xbrlapi.* %doc %{_mandir}/man1/xbrlapi.*
@ -548,14 +537,6 @@ fi
%config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/brltty/Initramfs/cmdline %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/brltty/Initramfs/cmdline
%changelog %changelog
* Wed Oct 21 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 5.6-32
- Fixed brlapi.key to pass the RPM verification
Resolves: rhbz#1889636
* Mon Oct 19 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 5.6-31
- Added workaround for brlapi-devel multilib conflict
Resolves: rhbz#1849675
* Fri Jul 10 2020 Artem Egorenkov <aegorenk@redhat.com> - 5.6-30 * Fri Jul 10 2020 Artem Egorenkov <aegorenk@redhat.com> - 5.6-30
- brltty requires brlapi deleted (duplication of automatically determined dependency) - brltty requires brlapi deleted (duplication of automatically determined dependency)
- isa macro deleted for brlapi requires brltty - isa macro deleted for brlapi requires brltty