SHA256
3
0
forked from pool/xz

Accepting request 1009384 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1009384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=71
This commit is contained in:
Dominique Leuenberger 2022-10-13 13:39:37 +00:00 committed by Git OBS Bridge
commit b153371c50
2 changed files with 7 additions and 25 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 4 20:36:09 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- Move localised man pages to lang subpackage
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 30 21:20:14 UTC 2022 - C J <c.j@tuta.io> Fri Sep 30 21:20:14 UTC 2022 - C J <c.j@tuta.io>

27
xz.spec
View File

@ -108,7 +108,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie"
%install %install
%make_install %make_install
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name} %find_lang %{name} --all-name --with-man
install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew
install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1
rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2}
@ -116,10 +116,8 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2}
%post -n liblzma5 -p /sbin/ldconfig %post -n liblzma5 -p /sbin/ldconfig
%postun -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig
%if 0%{?lang_package:1}
%files lang -f %{name}.lang %files lang -f %{name}.lang
%{_mandir}/de/man1/*.1%{ext_man} %dir %{_mandir}/fr_FR
%endif
%files %files
%license COPYING COPYING.GPLv2 %license COPYING COPYING.GPLv2
@ -172,27 +170,6 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2}
%{_mandir}/man1/xzless.1%{ext_man} %{_mandir}/man1/xzless.1%{ext_man}
%{_mandir}/man1/xzmore.1%{ext_man} %{_mandir}/man1/xzmore.1%{ext_man}
%{_mandir}/man1/xznew.1%{ext_man} %{_mandir}/man1/xznew.1%{ext_man}
%dir %{_mandir}/fr_FR
%dir %{_mandir}/fr_FR/man1
%{_mandir}/fr_FR/man1/lzcat.1%{ext_man}
%{_mandir}/fr_FR/man1/lzcmp.1%{ext_man}
%{_mandir}/fr_FR/man1/lzdiff.1%{ext_man}
%{_mandir}/fr_FR/man1/lzless.1%{ext_man}
%{_mandir}/fr_FR/man1/lzma.1%{ext_man}
%{_mandir}/fr_FR/man1/lzmadec.1%{ext_man}
%{_mandir}/fr_FR/man1/lzmore.1%{ext_man}
%{_mandir}/fr_FR/man1/unlzma.1%{ext_man}
%{_mandir}/fr_FR/man1/unxz.1%{ext_man}
%{_mandir}/fr_FR/man1/xz.1%{ext_man}
%{_mandir}/fr_FR/man1/xzcat.1%{ext_man}
%{_mandir}/fr_FR/man1/xzcmp.1%{ext_man}
%{_mandir}/fr_FR/man1/xzdec.1%{ext_man}
%{_mandir}/fr_FR/man1/xzdiff.1%{ext_man}
%{_mandir}/fr_FR/man1/xzless.1%{ext_man}
%{_mandir}/fr_FR/man1/xzmore.1%{ext_man}
%if 0%{!?lang_package:1}
%{_datadir}/locale/*/LC_MESSAGES/xz.mo
%endif
%files -n liblzma5 %files -n liblzma5
%{_libdir}/liblzma.so.5* %{_libdir}/liblzma.so.5*