[libtirpc] minor spec cleanups, include COPYING
Tom Callaway
spot at fedoraproject.org
Tue Dec 16 19:20:11 UTC 2014
commit 7e5b13fa601fd95c4580b19600e4e02d0d5d943f
Author: Tom Callaway <spot at fedoraproject.org>
Date: Tue Dec 16 14:19:58 2014 -0500
minor spec cleanups, include COPYING
libtirpc.spec | 24 ++++++++++++++----------
1 files changed, 14 insertions(+), 10 deletions(-)
---
diff --git a/libtirpc.spec b/libtirpc.spec
index e877bea..4eb93a4 100644
--- a/libtirpc.spec
+++ b/libtirpc.spec
@@ -1,17 +1,16 @@
%define _root_libdir /%{_lib}
-Name: libtirpc
+Name: libtirpc
Version: 0.2.5
-Release: 1.0%{?dist}
+Release: 2%{?dist}
Summary: Transport Independent RPC Library
Group: System Environment/Libraries
License: SISSL and BSD
URL: http://nfsv4.bullopensource.org/
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2
-
-Patch001: libtirpc-0.2.6-rc1.patch
+Patch001: libtirpc-0.2.6-rc1.patch
BuildRequires: automake, autoconf, libtool, pkgconfig
BuildRequires: krb5-devel
@@ -29,10 +28,10 @@ by almost 70 vendors on all major operating systems. TS-RPC source code
(RPCSRC 4.0) remains available from several internet sites.
%package devel
-Summary: Development files for the libtirpc library
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-Requires: pkgconfig man-db
+Summary: Development files for the libtirpc library
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: pkgconfig man-db
%description devel
This package includes header files and libraries necessary for
@@ -92,6 +91,8 @@ rm -rf %{buildroot}
%files devel
%defattr(0644,root,root,755)
+%{!?_licensedir:%global license %%doc}
+%license COPYING
%dir %{_includedir}/tirpc
%dir %{_includedir}/tirpc/rpc
%dir %{_includedir}/tirpc/rpcsvc
@@ -131,6 +132,9 @@ rm -rf %{buildroot}
%{_mandir}/*/*
%changelog
+* Tue Dec 16 2014 Tom Callaway <spot at fedoraproject.org> 0.2.5-2
+- minor spec cleanups, add license texts
+
* Tue Nov 11 2014 Steve Dickson <steved at redhat.com> 0.2.5-1.0
- Update to latest RC release: libtirpc-0-2-6-rc1 (bz 1162711)
More information about the scm-commits
mailing list