SPECS: viewcvs.spec - 2.9.3 - adapterized - misc fixes

glen glen at pld-linux.org
Wed Jun 15 23:14:40 CEST 2005


Author: glen                         Date: Wed Jun 15 21:14:39 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 2.9.3
- adapterized
- misc fixes

---- Files affected:
SPECS:
   viewcvs.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/viewcvs.spec
diff -u SPECS/viewcvs.spec:1.17 SPECS/viewcvs.spec:1.18
--- SPECS/viewcvs.spec:1.17	Thu Jun  2 20:14:45 2005
+++ SPECS/viewcvs.spec	Wed Jun 15 23:14:34 2005
@@ -1,21 +1,20 @@
 # $Revision$, $Date$
-
 Summary:	Tool for browsing CVS on the Web
 Summary(pl):	Narzędzie do przeglądania CVS przez WWW
 Name:		viewcvs
-Version:	0.9.2
-Release:	2.7
+Version:	0.9.3
+Release:	0.1
 License:	distributable
 Group:		Development/Tools
-Source0:	http://viewcvs.sourceforge.net/viewcvs-0.9.2.tar.gz
-# Source0-md5:	c7857b1ed05240ad1f691ea40044daf2
+Source0:	http://viewcvs.sourceforge.net/%{name}-%{version}.tar.gz
+# Source0-md5:	8be527279feaaa6ecf184bcf714e2f22
 Patch0:		%{name}-install_dir.patch
 Patch1:		%{name}-pager.patch
 Patch2:		%{name}-enscript.patch
 URL:		http://viewcvs.sourceforge.net/
 BuildRequires:	python > 1.5
 BuildRequires:	python-modules
-BuildRequires:	perl-base
+BuildRequires:	sed >= 4.0
 Requires:	enscript
 Requires:	python > 1.5
 Requires:	rcs
@@ -27,8 +26,8 @@
 feature set over cvsweb.
 
 %description -l pl
-Jest to narzędzie do przeglądania repozytoriów CVS poprzez WWW. Ma znacznie
-bogatszą funkcjonalność od cvsweb.
+Jest to narzędzie do przeglądania repozytoriów CVS poprzez WWW. Ma
+znacznie bogatszą funkcjonalność od cvsweb.
 
 %prep
 %setup -q
@@ -43,9 +42,7 @@
 %define	_py_sitedir %(echo "%{py_sitedir}" | sed -e 's@/@@')
 echo "$RPM_BUILD_ROOT" | ./viewcvs-install "%{_py_sitedir}"
 
-find $RPM_BUILD_ROOT -type f -exec \
-	%{__perl} -pi -e \
-	's@'$RPM_BUILD_ROOT'@@g;' {} \;
+find $RPM_BUILD_ROOT -type f -print0 | xargs -0r sed -i -e "s@$RPM_BUILD_ROOT@@g;"
 
 # Hell, I don't know how to make apache to run *.pyo via python :(
 # Nasty hack but it seems that there is no way to compile non-.py files.
@@ -57,6 +54,8 @@
 %{py_comp} $RPM_BUILD_ROOT%{py_sitedir}
 %{py_ocomp} $RPM_BUILD_ROOT%{py_sitedir}
 
+%{?py_postclean}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -66,7 +65,7 @@
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
 %{py_sitedir}/*.py[co]
-%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
 %attr(755,root,root) /home/services/httpd/cgi-bin/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -75,6 +74,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2005/06/15 21:14:34  glen
+- 2.9.3
+- adapterized
+- misc fixes
+
 Revision 1.17  2005/06/02 18:14:45  glen
 - findutils already required by rpm-build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/viewcvs.spec?r1=1.17&r2=1.18&f=u




More information about the pld-cvs-commit mailing list