SPECS: gpp.spec - add provides/obsoletes cpp, and link do /lib/cpp

undefine undefine at pld-linux.org
Tue Jun 21 14:23:31 CEST 2005


Author: undefine                     Date: Tue Jun 21 12:23:31 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add provides/obsoletes cpp, and link do /lib/cpp

---- Files affected:
SPECS:
   gpp.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/gpp.spec
diff -u SPECS/gpp.spec:1.5 SPECS/gpp.spec:1.6
--- SPECS/gpp.spec:1.5	Fri Jun 10 23:38:52 2005
+++ SPECS/gpp.spec	Tue Jun 21 14:23:26 2005
@@ -12,6 +12,8 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libtool
+Provides:	cpp
+Obsoletes:	cpp
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -45,10 +47,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/lib
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+ln -sf %{_bindir}/gpp $RPM_BUILD_ROOT/lib/cpp
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -57,6 +62,7 @@
 %doc AUTHORS ChangeLog NEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
+/lib/cpp
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,6 +70,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/06/21 12:23:26  undefine
+- add provides/obsoletes cpp, and link do /lib/cpp
+
 Revision 1.5  2005/06/10 21:38:52  qboosh
 - direct URLs, pl fix
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gpp.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list