[man-pages-zh-CN] Clean up spec
Peng Wu
pwu at fedoraproject.org
Wed Dec 12 03:45:18 UTC 2012
commit 43c41c789ba39c1184e6706c53a981deab86338a
Author: Peng Wu <alexepico at gmail.com>
Date: Wed Dec 12 11:43:08 2012 +0800
Clean up spec
man-pages-zh-CN.spec | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/man-pages-zh-CN.spec b/man-pages-zh-CN.spec
index 671796e..6f9e1a4 100644
--- a/man-pages-zh-CN.spec
+++ b/man-pages-zh-CN.spec
@@ -3,13 +3,12 @@
Summary: Chinese Man Pages from Chinese Man Pages Project
Name: man-pages-zh-CN
Version: 1.5.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GFDL
Group: Documentation
#Vendor: From CMPP (Chinese Man Pages Project)
URL: http://code.google.com/p/manpages-zh/
Source0: https://github.com/downloads/lidaobing/manpages-zh/%{origname}-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArchitectures: noarch
Summary(zh_CN): 中文 man pages
@@ -41,7 +40,6 @@ CMPP 项目现在可能已经死亡,原主页(cmpp.linuxforum.net)已不能访
%install
-%__rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_mandir}/zh_CN
%__make install DESTDIR=$RPM_BUILD_ROOT
# Remove file conflict
@@ -57,15 +55,15 @@ mkdir -p $RPM_BUILD_ROOT%{_mandir}/zh_CN
%__rm %{manDest}/man8/userdel.8
-%clean
-%__rm -rf ${RPM_BUILD_ROOT}
-
%files
%defattr(-, root,root, -)
%doc COPYING README NEWS
%{_mandir}/zh_CN/man*/*
%changelog
+* Wed Dec 12 2012 Peng Wu <pwu at redhat.com> - 1.5.2-2
+- Clean up spec
+
* Thu Aug 23 2012 Peng Wu <pwu at redhat.com> - 1.5.2-1
- Update to 1.5.2
More information about the scm-commits
mailing list