Accepting request 898158 from Base:System
OBS-URL: https://build.opensuse.org/request/show/898158 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xz?expand=0&rev=67
This commit is contained in:
commit
a842219c6c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 7 11:45:15 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Upgrade old rpm constructs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 18 11:11:48 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
Wed Mar 18 11:11:48 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
26
xz.spec
26
xz.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xz
|
# spec file for package xz
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,7 +22,7 @@ Name: xz
|
|||||||
Version: 5.2.5
|
Version: 5.2.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm
|
Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm
|
||||||
License: LGPL-2.1-or-later AND GPL-2.0-or-later AND SUSE-Public-Domain
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND SUSE-Public-Domain
|
||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
URL: http://tukaani.org/xz/
|
URL: http://tukaani.org/xz/
|
||||||
Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz
|
Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz
|
||||||
@ -94,24 +94,19 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie"
|
|||||||
--with-pic \
|
--with-pic \
|
||||||
--docdir=%{_docdir}/%{name}
|
--docdir=%{_docdir}/%{name}
|
||||||
%if 0%{?do_profiling}
|
%if 0%{?do_profiling}
|
||||||
make %{?_smp_mflags} CFLAGS="${CFLAGS} %{cflags_profile_generate}"
|
%make_build CFLAGS="${CFLAGS} %{cflags_profile_generate}"
|
||||||
make check %{?_smp_mflags}
|
%make_build
|
||||||
make clean
|
%make_build clean
|
||||||
make %{?_smp_mflags} CFLAGS="${CFLAGS} %{cflags_profile_feedback}"
|
%make_build CFLAGS="${CFLAGS} %{cflags_profile_feedback}"
|
||||||
%else
|
%else
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
%make_build check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?make_install:1}
|
|
||||||
%make_install
|
%make_install
|
||||||
%else
|
|
||||||
# Retain this line, with trailing #, to work around an overly eager spec-cleaner
|
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} #
|
|
||||||
%endif
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew
|
install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew
|
||||||
@ -123,12 +118,10 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2}
|
|||||||
|
|
||||||
%if 0%{?lang_package:1}
|
%if 0%{?lang_package:1}
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_mandir}/de/man1/*.1%{ext_man}
|
%{_mandir}/de/man1/*.1%{ext_man}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
|
||||||
%license COPYING COPYING.GPLv2
|
%license COPYING COPYING.GPLv2
|
||||||
%{_docdir}/%{name}
|
%{_docdir}/%{name}
|
||||||
%{_bindir}/lzcat
|
%{_bindir}/lzcat
|
||||||
@ -184,11 +177,9 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n liblzma5
|
%files -n liblzma5
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_libdir}/liblzma.so.5*
|
%{_libdir}/liblzma.so.5*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_includedir}/lzma.h
|
%{_includedir}/lzma.h
|
||||||
%dir %{_includedir}/lzma/
|
%dir %{_includedir}/lzma/
|
||||||
%{_includedir}/lzma/*
|
%{_includedir}/lzma/*
|
||||||
@ -196,7 +187,6 @@ rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2}
|
|||||||
%{_libdir}/pkgconfig/liblzma.pc
|
%{_libdir}/pkgconfig/liblzma.pc
|
||||||
|
|
||||||
%files static-devel
|
%files static-devel
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_libdir}/liblzma.a
|
%{_libdir}/liblzma.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user