SPECS: OpenSceneGraph.spec - strict internal deps, unified example...

qboosh qboosh at pld-linux.org
Mon Dec 26 18:44:17 CET 2005


Author: qboosh                       Date: Mon Dec 26 17:44:17 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- strict internal deps, unified examplesdir

---- Files affected:
SPECS:
   OpenSceneGraph.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/OpenSceneGraph.spec
diff -u SPECS/OpenSceneGraph.spec:1.12 SPECS/OpenSceneGraph.spec:1.13
--- SPECS/OpenSceneGraph.spec:1.12	Tue Mar  1 22:04:32 2005
+++ SPECS/OpenSceneGraph.spec	Mon Dec 26 18:44:12 2005
@@ -36,7 +36,7 @@
 Summary:	Header files for Open Scene Graph
 Summary(pl):	Pliki nagłówkowe dla Open Scene Graph
 Group:		Development/Libraries
-Requires:	%{name} = %{version}
+Requires:	%{name} = %{version}-%{release}
 
 %description devel
 Headers file for OSD library.
@@ -48,7 +48,7 @@
 Summary:	Examples for Open Scene Graph
 Summary(pl):	Przykłady dla Open Scene Graph
 Group:		Development/Libraries
-Requires:	%{name} = %{version}
+Requires:	%{name} = %{version}-%{release}
 
 %description examples
 Examples for Open Scene Graph Library.
@@ -61,7 +61,7 @@
 #Summary:	Plugins for Open Scene Graph
 #Summary(pl):	Wtyczki dla biblioteki Open Scene Graph
 #Group:		Libraries
-#Requires:	%{name} = %{version}
+#Requires:	%{name} = %{version}-%{release}
 #
 #%description plugin
 #Plugins for Open Scene Graph library.
@@ -83,11 +83,11 @@
 	INST_LOCATION=$RPM_BUILD_ROOT%{_prefix} \
 	INST_SHARE_PREFIX=$RPM_BUILD_ROOT%{_prefix} \
 	INST_EXAMPLES=$RPM_BUILD_ROOT%{_bindir} \
-	INST_EXAMPLE_SRC=$RPM_BUILD_ROOT%{_examplesdir}/%{name}
+	INST_EXAMPLE_SRC=$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
 install Make/openscenegraph.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
-find $RPM_BUILD_ROOT%{_examplesdir}/%{name} -name Linux??.Opt -type d |xargs rm -rf
+find $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} -name Linux??.Opt -type d |xargs rm -rf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -109,7 +109,7 @@
 %files examples
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
-%{_examplesdir}/%{name}
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -117,6 +117,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2005/12/26 17:44:12  qboosh
+- strict internal deps, unified examplesdir
+
 Revision 1.12  2005/03/01 21:04:32  sparky
 - added pkgconfig file
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/OpenSceneGraph.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list