Accepting request 588517 from devel:CaaSP

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

OBS-URL: https://build.opensuse.org/request/show/588517
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnss_usrfiles?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-03-19 22:39:26 +00:00 committed by Git OBS Bridge
parent f9763c2577
commit 8016e94787
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 19 12:01:45 CET 2018 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
-------------------------------------------------------------------
Mon Jan 8 15:54:04 CET 2018 - kukuk@suse.de

View File

@ -22,14 +22,13 @@ Name: libnss_usrfiles
Version: 2.25
Release: 0
Summary: NSS usrfiles plugin for glibc
License: LGPL-2.1
License: LGPL-2.1-only
Group: System/Base
Url: http://github.com/thkukuk/libnss_usrfiles
URL: http://github.com/thkukuk/libnss_usrfiles
Source: %{name}-%{version}.tar.bz2
Source1: baselibs.conf
BuildRequires: autoconf
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The NSS usrfiles plugin additionally looks in %{_prefix}%{_sysconfdir} for passwd and
@ -55,9 +54,9 @@ group data.
make %{?_smp_mflags}
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%make_install
rm -v %{buildroot}/%{_lib}/%{name}.{a,la,so}
mkdir -p %{buildroot}%{_prefix}/etc
mkdir -p %{buildroot}%{_prefix}%{_sysconfdir}
%post -n libnss_usrfiles2
/sbin/ldconfig
@ -67,9 +66,9 @@ sed -i -e 's|^passwd: compat$|passwd: files usrfiles|g' -e 's|^group: compat$|g
%postun -n libnss_usrfiles2 -p /sbin/ldconfig
%files -n libnss_usrfiles2
%defattr(-,root,root)
%doc README.md COPYING
%license COPYING
%doc README.md
/%{_lib}/libnss_usrfiles.so.2*
%dir %{_prefix}/etc
%dir %{_prefix}%{_sysconfdir}
%changelog