Accepting request 477869 from home:sfalken:branches:Printing

- Changed how COPYING is installed.  The %doc macro is no longer
  properly expanding ${RPM_SOURCE_DIR}, and isn't handling things
  properly with having the COPYING file manually installed in
  this package.   Clears builderror in openSUSE:Factory.

OBS-URL: https://build.opensuse.org/request/show/477869
OBS-URL: https://build.opensuse.org/package/show/Printing/cups-backends?expand=0&rev=16
This commit is contained in:
Johannes Meixner 2017-03-09 08:23:56 +00:00 committed by Git OBS Bridge
parent 4c6f0f5725
commit 86a6dd5fb3
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Mar 9 04:48:05 UTC 2017 - sfalken@opensuse.org
- Changed how COPYING is installed. The %doc macro is no longer
properly expanding ${RPM_SOURCE_DIR}, and isn't handling things
properly with having the COPYING file manually installed in
this package. Clears builderror in openSUSE:Factory.
-------------------------------------------------------------------
Thu Mar 3 16:44:47 CET 2016 - jsmeix@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cups-backends
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -65,13 +65,16 @@ install -m 755 ${RPM_SOURCE_DIR}/pipe $RPM_BUILD_ROOT/usr/lib/cups/backend/pipe
# provided here but now named /usr/lib/cups/backend/beh.pl
# to avoid that cups-backends conflicts with cups-filters:
install -m 755 ${RPM_SOURCE_DIR}/beh $RPM_BUILD_ROOT/usr/lib/cups/backend/beh.pl
# Source100: COPYING
install -Dm 644 %{S:1} %{buildroot}%{_docdir}/%{name}/COPYING
%files
%defattr(-,root,root,-)
%doc ${RPM_SOURCE_DIR}/COPYING
%dir /usr/lib/cups
%dir /usr/lib/cups/backend
%dir %{_docdir}/%{name}
/usr/lib/cups/backend/pipe
/usr/lib/cups/backend/beh.pl
%{_docdir}/%{name}/COPYING
%changelog