Перейти к основному контенту

Please enter the password for the PKCS#11 token PIV_II

sudo dnf install -y rpmdevtools
rpmdev-setuptree
mkdir -p ~/rpmbuild/SPECS
nano ~/rpmbuild/SPECS/fffix.spec

Name:           fffix
Version:        0.0.1
Release:        1%{?dist}
Summary:        Fixes Firefox

License:        BSD
URL:            None

Requires:       opensc

%description

%prep

%build

%install

%files

%post
echo "disable-in: google-chrome firefox opera thunderbird" > %{_prefix}/share/p11-kit/modules/opensc.module

%changelog
* Sat Mar 26 2022 Jonathan Dickinson
-

cd ~/rpmbuild/SPECS
rpmbuild -bb fffix.spec
sudo dnf install -y ~/rpmbuild/RPMS/x86_64/fffix-*.rpm
reboot