Accepting request 579434 from network:NIS

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

- Update to version 1.3.1
  - fix autogen.sh script
- Revert renames to tirpc, make it directly useable. glibc no
  longer contains this files.

OBS-URL: https://build.opensuse.org/request/show/579434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpcsvc-proto?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-03-01 10:59:27 +00:00 committed by Git OBS Bridge
commit ef4ef78cd0
4 changed files with 26 additions and 19 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bf7a7688b19ee5e7c0079ce4844786776f93e4c35622683dae614d3aeedfd89b
size 121194

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c376b14144cd6f388897382cb3058eb73d5226c8b31394f84b24697a36d203cb
size 121167

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
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
- Update to version 1.3.1
- fix autogen.sh script
- Revert renames to tirpc, make it directly useable. glibc no
longer contains this files.
-------------------------------------------------------------------
Fri Nov 24 09:24:01 UTC 2017 - kukuk@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package rpcsvc-proto
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -17,14 +17,13 @@
Name: rpcsvc-proto
Version: 1.3
Version: 1.3.1
Release: 0
Summary: RPC protocol definitions
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
@ -54,25 +53,20 @@ The input to rpcgen is a language similar to C known as RPC Language
%setup -q
%build
%configure --includedir=%{_includedir}/tirpc
%configure
make %{?_smp_mflags}
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
# Rename temporary to avoid conflict with glibc for easier migration
mv %{buildroot}%{_bindir}/rpcgen %{buildroot}%{_bindir}/rpcgen-tirpc
mv %{buildroot}%{_mandir}/man1/rpcgen.1 %{buildroot}%{_mandir}/man1/rpcgen-tirpc.1
%make_install
%files devel
%defattr(-,root,root)
%doc COPYING
%dir %{_includedir}/tirpc
%dir %{_includedir}/tirpc/rpcsvc
%{_includedir}/tirpc/rpcsvc/*
%license COPYING
%dir %{_includedir}/rpcsvc
%{_includedir}/rpcsvc/*
%files -n rpcgen
%defattr(-,root,root)
%{_bindir}/rpcgen-tirpc
%{_mandir}/man1/rpcgen-tirpc.1*
%license COPYING
%{_bindir}/rpcgen
%{_mandir}/man1/rpcgen.1*
%changelog