paper1-utils: rename /usr/bin/paperconf to resolve conflict with paper-utils [release 1.1.28-5mamba;Sun Apr 16 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 05:21:06 +01:00
parent f3773f5469
commit bfdc4211f0

View File

@ -4,7 +4,7 @@
Name: libpaper1
Epoch: 2
Version: 1.1.28
Release: 4mamba
Release: 5mamba
Summary: An open source viewer for Portable Document Format (PDF) files
Group: System/Libraries
Vendor: openmamba
@ -70,6 +70,8 @@ ln -sf libpaper.so.%{libver} %{buildroot}%{_libdir}/libpaper.so.%{libmajver}
install -d %{buildroot}%{_sysconfdir}
echo "a4" > %{buildroot}%{_sysconfdir}/papersize
mv %{buildroot}%{_bindir}/paperconf{,1}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -92,13 +94,16 @@ echo "a4" > %{buildroot}%{_sysconfdir}/papersize
%files -n paper1-utils -f %{name}.lang
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/papersize
%{_bindir}/paperconf
%{_bindir}/paperconf1
%{_sbindir}/paperconfig
%{_mandir}/man1/paperconf.*
%{_mandir}/man5/papersize.*
%{_mandir}/man8/paperconfig.*
%changelog
* Sun Apr 16 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.28-5mamba
- paper1-utils: rename /usr/bin/paperconf to resolve conflict with paper-utils
* Thu Nov 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.28-4mamba
- legacy package