rpms/apt/FC-5 apt.spec,1.21,1.22

Axel Thimm (athimm) fedora-extras-commits at redhat.com
Sat Sep 16 09:45:13 UTC 2006


Author: athimm

Update of /cvs/extras/rpms/apt/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15853/apt/FC-5

Modified Files:
	apt.spec 
Log Message:
Un%ghost pyo


Index: apt.spec
===================================================================
RCS file: /cvs/extras/rpms/apt/FC-5/apt.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- apt.spec	22 Jun 2006 09:53:04 -0000	1.21
+++ apt.spec	16 Sep 2006 09:45:13 -0000	1.22
@@ -6,7 +6,7 @@
 Summary:        Debian's Advanced Packaging Tool with RPM support
 Name:           apt
 Version:        0.5.15lorg3.2
-Release:        6%{?dist}
+Release:        7%{?dist}
 Group:          System Environment/Base
 URL:            http://apt-rpm.org/
 License:        GPL
@@ -130,7 +130,7 @@
 make %{?_smp_mflags}
 
 make -C python %{?_smp_mflags} PYTHON="%{__python}"
-%{__python} -c "import py_compile; py_compile.compile('python/apt.py')"
+%{__python} -O -c "import py_compile; py_compile.compile('python/apt.py')"
 
 cp -p %{SOURCE5} rpmpriorities
 %if %{generate_rpmpriorities}
@@ -180,7 +180,7 @@
 # The python bindings
 mkdir -p $RPM_BUILD_ROOT%{python_sitearch}/
 install -pm 755 python/_apt.so $RPM_BUILD_ROOT%{python_sitearch}/
-install -pm 644 python/apt.py{c,} $RPM_BUILD_ROOT%{python_sitearch}/
+install -pm 644 python/apt.py* $RPM_BUILD_ROOT%{python_sitearch}/
 touch $RPM_BUILD_ROOT%{python_sitearch}/apt.pyo
 
 # Nightly updater scripts & default config
@@ -270,9 +270,7 @@
 %files python
 %defattr(-,root,root,-)
 %{python_sitearch}/_apt.so
-%{python_sitearch}/apt.py
-%{python_sitearch}/apt.pyc
-%ghost %{python_sitearch}/apt.pyo
+%{python_sitearch}/apt.py*
 
 %if 0%{?_with_groupinstall:1}
 %files groupinstall
@@ -286,6 +284,9 @@
 
 
 %changelog
+* Sat Sep 16 2006 Axel Thimm <Axel.Thimm at ATrpms.net> - 0.5.15lorg3.2-7
+- Un%%ghost pyo files.
+
 * Thu Jun 22 2006 Axel Thimm <Axel.Thimm at ATrpms.net> - 0.5.15lorg3.2-6
 - Update to 0.5.15lorg3.2.
 




More information about the scm-commits mailing list