[libnfsidmap] Drop unnecessary doc dir references from specfile.

Ville Skyttä scop at fedoraproject.org
Fri Jul 26 19:26:08 UTC 2013


commit 7f43e0f08ffd370f934d7d02dc469f5fecc2887d
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Jul 26 22:25:54 2013 +0300

    Drop unnecessary doc dir references from specfile.
    
    - Fix bogus dates in %changelog.

 libnfsidmap.spec |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/libnfsidmap.spec b/libnfsidmap.spec
index e7e4f57..79b0211 100644
--- a/libnfsidmap.spec
+++ b/libnfsidmap.spec
@@ -3,14 +3,12 @@
 Summary: NFSv4 User and Group ID Mapping Library
 Name: libnfsidmap
 Version: 0.25
-Release: 5%{?dist}
+Release: 6%{?dist}
 Provides: nfs-utils-lib
 Obsoletes: nfs-utils-lib
 URL: http://www.citi.umich.edu/projects/nfsv4/linux/
 License: BSD
 
-%define _docdir %{_defaultdocdir}/%{name}-%{version}
-
 Source0: http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/%{name}-%{version}.tar.gz
 
 Patch001: libnfsidmap-0.26-rc1.patch
@@ -51,7 +49,6 @@ rm -rf %{buildroot}
 make install DESTDIR=%{buildroot} \
     libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig
 
-mkdir -p %{buildroot}/%{_docdir}
 mkdir -p %{buildroot}%{_sysconfdir}
 mkdir -p %{buildroot}%{_mandir}/man5
 
@@ -70,13 +67,11 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%dir  %{_docdir}
-
+%doc AUTHORS ChangeLog NEWS README COPYING
 %config(noreplace) %{_sysconfdir}/idmapd.conf
 %{_root_libdir}/*.so.*
 %{_root_libdir}/%{name}/*.so
 %{_mandir}/*/*
-%doc AUTHORS ChangeLog NEWS README COPYING
 
 %files devel
 %defattr(0644,root,root,755)
@@ -85,6 +80,10 @@ rm -rf %{buildroot}
 %{_root_libdir}/*.so
 
 %changelog
+* Fri Jul 26 2013 Ville Skyttä <ville.skytta at iki.fi> - 0.25-6
+- Drop unnecessary doc dir references from specfile.
+- Fix bogus dates in %%changelog.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.25-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
@@ -126,8 +125,8 @@ rm -rf %{buildroot}
 - Updated to latest upstream release: 0.24
 - Obsoleted nfs-utils-lib
 
-* Mon Dec  6 2006 Steve Dickson <steved at redhat.com>  0.23-3
+* Tue Dec  7 2006 Steve Dickson <steved at redhat.com>  0.23-3
 - Maded corrections in spec per review comments.
 
-* Fri Dec  3 2006 Steve Dickson <steved at redhat.com>  0.23-2
+* Fri Dec  3 2010 Steve Dickson <steved at redhat.com>  0.23-2
 - Initial commit


More information about the scm-commits mailing list