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

OBS-URL: https://build.opensuse.org/package/show/network:NIS/rpcsvc-proto?expand=0&rev=11
This commit is contained in:
Thorsten Kukuk 2018-02-23 10:25:36 +00:00 committed by Git OBS Bridge
parent 20bcef1459
commit cfb6f3b1bc
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 23 10:26:29 UTC 2018 - kukuk@suse.com
- Use %license instead of %doc [bsc#1082318]
-------------------------------------------------------------------
Mon Jan 15 15:52:34 CET 2018 - kukuk@suse.de

View File

@ -24,7 +24,6 @@ License: BSD-3-Clause
Group: System/Libraries
Url: http://github.com/thkukuk/rpcsvc-proto
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The rpcsvc-proto package includes several rpcsvc header files
@ -58,16 +57,15 @@ The input to rpcgen is a language similar to C known as RPC Language
make %{?_smp_mflags}
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%make_install
%files devel
%defattr(-,root,root)
%doc COPYING
%license COPYING
%dir %{_includedir}/rpcsvc
%{_includedir}/rpcsvc/*
%files -n rpcgen
%defattr(-,root,root)
%license COPYING
%{_bindir}/rpcgen
%{_mandir}/man1/rpcgen.1*