Accepting request 636897 from home:Andreas_Schwab:Factory

- Avoid running dependency generation which can produce spurious errors
- Use %license

OBS-URL: https://build.opensuse.org/request/show/636897
OBS-URL: https://build.opensuse.org/package/show/Base:System/dd_rescue?expand=0&rev=43
This commit is contained in:
Kurt Garloff 2018-09-20 15:16:19 +00:00 committed by Git OBS Bridge
parent 31a010fa6a
commit e5800efbc6
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 20 13:16:41 UTC 2018 - schwab@suse.de
- Avoid running dependency generation which can produce spurious errors
- Use %license
-------------------------------------------------------------------
Sat May 12 12:06:29 CEST 2018 - kurt@garloff.de

View File

@ -133,6 +133,8 @@ sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/g" dd_rescue.c
autoheader
autoconf
%configure
# avoid running dependency generation step
touch .dep
make RPM_OPT_FLAGS="%{optflags}" LIBDIR=%{_libdir} LIB=%{_lib} %{?_smp_mflags}
%install
@ -147,7 +149,8 @@ make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}" check
%files
%defattr(-,root,root,-)
%doc COPYING README.dd_rescue TODO
%doc README.dd_rescue TODO
%license COPYING
%{_bindir}/dd_rescue
/bin/dd_rescue
%{_libdir}/libddr_hash.so