- spec-cleaner run
OBS-URL: https://build.opensuse.org/package/show/Base:System/dd_rescue?expand=0&rev=49
This commit is contained in:
parent
b25444fc3d
commit
8d466df5f3
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 13 09:31:27 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- spec-cleaner run
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 19 16:01:24 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
Mon Oct 19 16:01:24 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dd_rescue
|
# spec file for package dd_rescue
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -16,11 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%ifarch aarch64 %arm
|
%ifarch aarch64 %{arm}
|
||||||
# boo#1176219
|
# boo#1176219
|
||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: dd_rescue
|
Name: dd_rescue
|
||||||
Version: 1.99.8
|
Version: 1.99.8
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -39,10 +38,9 @@ Patch4: ddr_1998-testhole.diff
|
|||||||
Patch5: ddr_1998-ossl11-warn.diff
|
Patch5: ddr_1998-ossl11-warn.diff
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: lzo-devel
|
BuildRequires: lzo-devel
|
||||||
%if 0%{?suse_version} >= 1200
|
|
||||||
BuildRequires: lzop
|
BuildRequires: lzop
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
Requires: bc
|
Requires: bc
|
||||||
@ -53,9 +51,6 @@ Recommends: libfallocate0
|
|||||||
# ddrescue was last used in openSUSE 11.4 (version 1.14_0.0.6)
|
# ddrescue was last used in openSUSE 11.4 (version 1.14_0.0.6)
|
||||||
Provides: ddrescue = %{version}
|
Provides: ddrescue = %{version}
|
||||||
Obsoletes: ddrescue < %{version}
|
Obsoletes: ddrescue < %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
#BuildRequires: pkgconfig(libcrypto)
|
|
||||||
BuildRequires: libopenssl-devel
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
dd_rescue helps when nothing else can: your disk has crashed and you
|
dd_rescue helps when nothing else can: your disk has crashed and you
|
||||||
@ -137,7 +132,7 @@ autoconf
|
|||||||
%configure
|
%configure
|
||||||
# avoid running dependency generation step
|
# avoid running dependency generation step
|
||||||
touch .dep
|
touch .dep
|
||||||
make RPM_OPT_FLAGS="%{optflags}" LIBDIR=%{_libdir} LIB=%{_lib} %{?_smp_mflags}
|
%make_build RPM_OPT_FLAGS="%{optflags}" LIBDIR=%{_libdir} LIB=%{_lib}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install RPM_OPT_FLAGS="%{optflags}" INSTALLDIR=%{buildroot}/%{_bindir} LIB=%{_lib} LIBDIR=%{_libdir} \
|
%make_install RPM_OPT_FLAGS="%{optflags}" INSTALLDIR=%{buildroot}/%{_bindir} LIB=%{_lib} LIBDIR=%{_libdir} \
|
||||||
@ -149,10 +144,9 @@ ln -sf %{_bindir}/dd_rescue %{buildroot}/bin
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags} -fcommon" check
|
%make_build RPM_OPT_FLAGS="%{optflags}" check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README.dd_rescue TODO
|
%doc README.dd_rescue TODO
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/dd_rescue
|
%{_bindir}/dd_rescue
|
||||||
@ -162,17 +156,15 @@ make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags} -fcommon" check
|
|||||||
%{_libdir}/libddr_hash.so
|
%{_libdir}/libddr_hash.so
|
||||||
%{_libdir}/libddr_MD5.so
|
%{_libdir}/libddr_MD5.so
|
||||||
%{_libdir}/libddr_null.so
|
%{_libdir}/libddr_null.so
|
||||||
%{_mandir}/man1/dd_rescue.1%{ext_man}
|
%{_mandir}/man1/dd_rescue.1%{?ext_man}
|
||||||
|
|
||||||
%files crypt
|
%files crypt
|
||||||
%defattr(-,root,root)
|
%{_mandir}/man1/ddr_crypt.1%{?ext_man}
|
||||||
%{_mandir}/man1/ddr_crypt.1%{ext_man}
|
|
||||||
%{_libdir}/libddr_crypt.so
|
%{_libdir}/libddr_crypt.so
|
||||||
|
|
||||||
%files lzo
|
%files lzo
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libddr_lzo.so
|
%{_libdir}/libddr_lzo.so
|
||||||
%{_mandir}/man1/ddr_lzo.1%{ext_man}
|
%{_mandir}/man1/ddr_lzo.1%{?ext_man}
|
||||||
%doc CRYPT_TODO PADDING
|
%doc CRYPT_TODO PADDING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user