rpms/eric/devel eric.spec,1.28,1.29

Johan Cwiklinski trasher at fedoraproject.org
Sat Aug 23 21:02:18 UTC 2008


Author: trasher

Update of /cvs/extras/rpms/eric/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13406

Modified Files:
	eric.spec 
Log Message:
%%{buildir} was contained in one file



Index: eric.spec
===================================================================
RCS file: /cvs/extras/rpms/eric/devel/eric.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- eric.spec	15 Aug 2008 18:56:36 -0000	1.28
+++ eric.spec	23 Aug 2008 21:01:47 -0000	1.29
@@ -8,7 +8,7 @@
 Name:    eric
 Summary: Python IDE
 Version: 4.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: GPL+
 Group:   Development/Tools
@@ -70,6 +70,7 @@
 rm -rf %{buildroot}
 mkdir -p %{buildroot}/
 
+#path to install api files
 sed -i -e 's|qtDataDir = pyqtconfig._pkg_config\["qt_data_dir"\]|qtDataDir = "%{buildroot}" + pyqtconfig._pkg_config\["qt_data_dir"\]|' install.py
 
 %{__python} install.py \
@@ -77,6 +78,9 @@
   -b %{_bindir} \
   -d %{python_sitedir}
 
+#we have to correct api path to remove %{builddir}
+sed -i -e 's|%{buildroot}||' %{buildroot}%{python_sitedir}/eric4config.py
+
 desktop-file-install \
   --dir %{buildroot}/%{_datadir}/applications/ \
   --vendor="" \
@@ -141,6 +145,9 @@
 
 
 %changelog
+* Fri Aug 15 2008 Johan Cwiklinski <johan AT x-tnd DOT be> 4.2.0-2
+- %%{buildir} was contained in one file
+
 * Fri Aug 15 2008 Johan Cwiklinski <johan AT x-tnd DOT be> 4.2.0-1
 - 4.2.0
 - no longer noarch package (see bz #456761)




More information about the fedora-extras-commits mailing list