SHA256
1
0
forked from pool/tar

Accepting request 593416 from home:kukuk:branches:Base:System

- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/593416
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=85
This commit is contained in:
Kristyna Streitova 2018-04-09 09:41:22 +00:00 committed by Git OBS Bridge
parent f231c29c9f
commit d8018f71b3
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 3 14:58:19 CEST 2018 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 4 13:24:20 UTC 2018 - kstreitova@suse.com Thu Jan 4 13:24:20 UTC 2018 - kstreitova@suse.com

View File

@ -22,7 +22,7 @@ Name: tar
Version: 1.30 Version: 1.30
Release: 0 Release: 0
Summary: GNU implementation of ((t)ape (ar)chiver) Summary: GNU implementation of ((t)ape (ar)chiver)
License: GPL-3.0+ License: GPL-3.0-or-later
Group: Productivity/Archiving/Backup Group: Productivity/Archiving/Backup
Url: https://www.gnu.org/software/tar/ Url: https://www.gnu.org/software/tar/
Source0: https://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2 Source0: https://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2
@ -152,7 +152,7 @@ install -D -m 644 scripts/backup-specs %{buildroot}%{_sysconfdir}/backup/backup-
mv %{buildroot}%{_sbindir}/restore %{buildroot}%{_sbindir}/restore.sh mv %{buildroot}%{_sbindir}/restore %{buildroot}%{_sbindir}/restore.sh
rm -f %{buildroot}%{_infodir}/dir rm -f %{buildroot}%{_infodir}/dir
install -D -m 644 -t %{buildroot}%{_docdir}/%{name} README* ABOUT-NLS AUTHORS NEWS THANKS \ install -D -m 644 -t %{buildroot}%{_docdir}/%{name} README* ABOUT-NLS AUTHORS NEWS THANKS \
ChangeLog TODO COPYING ChangeLog TODO
install -d -m 755 %{buildroot}%{_localstatedir}/lib/tests install -d -m 755 %{buildroot}%{_localstatedir}/lib/tests
cp -r tests %{buildroot}%{_localstatedir}/lib/tests/tar cp -r tests %{buildroot}%{_localstatedir}/lib/tests/tar
rm %{buildroot}%{_localstatedir}/lib/tests/tar/*.{c,h,o} rm %{buildroot}%{_localstatedir}/lib/tests/tar/*.{c,h,o}
@ -207,6 +207,7 @@ fi
%ghost %{_sysconfdir}/alternatives/rmt.1%{ext_man} %ghost %{_sysconfdir}/alternatives/rmt.1%{ext_man}
%files doc %files doc
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/NEWS %{_docdir}/%{name}/NEWS
%{_docdir}/%{name}/README %{_docdir}/%{name}/README
%{_docdir}/%{name}/ABOUT-NLS %{_docdir}/%{name}/ABOUT-NLS
@ -217,12 +218,11 @@ fi
%{_infodir}/%{name}.info* %{_infodir}/%{name}.info*
%files %files
%license COPYING
#UsrMerge #UsrMerge
/bin/%{name} /bin/%{name}
#EndUsrMerge #EndUsrMerge
%{_bindir}/%{name} %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{ext_man} %{_mandir}/man1/%{name}.1%{ext_man}
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/COPYING
%changelog %changelog