rpms/yap/devel yap.spec,1.2,1.3

Matthias Saou (thias) fedora-extras-commits at redhat.com
Sat Mar 5 20:07:11 UTC 2005


Author: thias

Update of /cvs/extras/rpms/yap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9148/yap/devel

Modified Files:
	yap.spec 
Log Message:
Mass letter "x"," y" and "z" update, one or more apply :
- Drop epoch: 0
- Remove %{epoch} requirements in sub-packages
- Remove trailing white spaces
- Keep consistent between spaces and tabs



Index: yap.spec
===================================================================
RCS file: /cvs/extras/rpms/yap/devel/yap.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- yap.spec	23 Feb 2005 03:27:57 -0000	1.2
+++ yap.spec	5 Mar 2005 20:07:09 -0000	1.3
@@ -1,18 +1,16 @@
-### Package needs review + approval.
 Name:		yap
 Version:	4.5.5
 Release:	1
-Epoch:		0
 Summary:	High-performance Prolog Compiler
 
 Group:		Development/Languages
 License:	Artistic/LGPL
 Source:		http://download.sourceforge.net/yap/Yap-4.5.5.tar.gz
-URL: 		http://www.ncc.up.pt/~vsc/Yap
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+URL:		http://www.ncc.up.pt/~vsc/Yap
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	readline-devel, gmp-devel
-Requires(post):	  /sbin/install-info
-Requires(postun): /sbin/install-info
+Requires(post):		/sbin/install-info
+Requires(postun):	/sbin/install-info
 
 %description
 A high-performance Prolog compiler developed at LIACC, Universidade do
@@ -43,7 +41,7 @@
 /sbin/install-info %{_infodir}/pillow_doc.info --section "Programming Languages" %{_infodir}/dir 2>/dev/null || :
 
 %postun
-if [ $1 = 0 ]; then
+if [ $1 -eq 0 ]; then
   /sbin/install-info --delete %{_infodir}/yap.info %{_infodir}/dir 2>/dev/null || :
   /sbin/install-info --delete %{_infodir}/pillow_doc.info %{_infodir}/dir 2>/dev/null || :
 fi




More information about the scm-commits mailing list