rpms/epylog/FC-4 epylog.spec,1.5,1.6

Konstantin Ryabitsev (icon) fedora-extras-commits at redhat.com
Tue Jun 20 21:14:12 UTC 2006


Author: icon

Update of /cvs/extras/rpms/epylog/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13241/FC-4

Modified Files:
	epylog.spec 
Log Message:
Make Epylog build in mock/rawhide.



Index: epylog.spec
===================================================================
RCS file: /cvs/extras/rpms/epylog/FC-4/epylog.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- epylog.spec	26 Apr 2005 19:10:07 -0000	1.5
+++ epylog.spec	20 Jun 2006 21:14:12 -0000	1.6
@@ -1,20 +1,18 @@
 %{!?_python_sitelib: %define _python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
-
 Name:           epylog
 Version:        1.0.3
-Release:        3
+Release:        4%{?dist}
 Summary:        New logs analyzer and parser
 
 Group:          Applications/System
 License:        GPL
 URL:            http://linux.duke.edu/projects/epylog/
-
-Source:         http://linux.duke.edu/projects/epylog/download/epylog-1.0.3.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+Source:         http://linux.duke.edu/projects/epylog/download/epylog-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  python-devel
+BuildRequires:	libxml2-python
 Requires:       python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
 Requires:       libxml2-python
 
@@ -66,16 +64,16 @@
 
 
 %install
-rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
 ##
 # Remove installed docs
 #
-rm -rf %{buildroot}%{_docdir}
+rm -rf $RPM_BUILD_ROOT%{_docdir}
 
 
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 
 %files
@@ -93,15 +91,17 @@
 %{_mandir}/man5/*
 
 
-
 %files perl
 %defattr(-,root,root,-)
 %{perl_vendorlib}/epylog.pm
 %{_mandir}/man3/*
 
 
-
 %changelog
+* Tue Jun 20 2006 Konstantin Ryabitsev <icon at fedoraproject.org> - 1.0.3-4
+- Disttagging
+- BuildRequire libxml2-python
+
 * Mon Apr 25 2005 Konstantin Ryabitsev <icon at linux.duke.edu> 1.0.3-3
 - Do not redefine perl_vendorlib, since it's available in the default
   rpmmacros.




More information about the scm-commits mailing list