rpms/Pyrex/devel Pyrex.spec,1.21,1.22
Matthew Barnes (mbarnes)
fedora-extras-commits at redhat.com
Tue Jun 3 15:31:00 UTC 2008
Author: mbarnes
Update of /cvs/pkgs/rpms/Pyrex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14680
Modified Files:
Pyrex.spec
Log Message:
* Tue Jun 3 2008 Matthew Barnes <mbarnes at redhat.com> - 0:0.9.8.2-1
- Update to 0.9.8.2
- Also apply spec file cleanup from Kyle VanderBeek.
Index: Pyrex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/Pyrex/devel/Pyrex.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- Pyrex.spec 6 May 2008 20:03:05 -0000 1.21
+++ Pyrex.spec 3 Jun 2008 15:29:52 -0000 1.22
@@ -11,10 +11,10 @@
%endif
Name: Pyrex
-Version: 0.9.6.4
-Release: 2%{?dist}
-Epoch: 0
-BuildArch: noarch
+Version: 0.9.8.2
+Release: 1%{?dist}
+Epoch: 0
+BuildArch: noarch
Summary: A compiler/language for writing Python extension modules.
Group: Development/Languages
License: Public Domain
@@ -24,12 +24,13 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: pkgconfig
+BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: dos2unix
BuildRequires: findutils
BuildRequires: emacs emacs-el
-Requires: python-devel
+
+Requires: python-devel
%description
Pyrex is Python with C types. It is specially designed to allow you to
@@ -68,33 +69,22 @@
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install --skip-build --root $RPM_BUILD_ROOT --record=INSTALLED_FILES
+python setup.py install --skip-build --root $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{emacs_lispdir}
mkdir -p $RPM_BUILD_ROOT/%{emacs_startdir}
-cp Tools/pyrex-mode.* $RPM_BUILD_ROOT/%{emacs_lispdir}
-cp %{SOURCE1} $RPM_BUILD_ROOT/%{emacs_startdir}
-
-
-# Add directories to the INSTALLED_FILES
-find $RPM_BUILD_ROOT%{python_sitelib}/Pyrex -type d -print | \
-sed "s|$RPM_BUILD_ROOT|%dir |g" >>INSTALLED_FILES
+cp -p Tools/pyrex-mode.* $RPM_BUILD_ROOT/%{emacs_lispdir}
+cp -p %{SOURCE1} $RPM_BUILD_ROOT/%{emacs_startdir}
%clean
rm -rf $RPM_BUILD_ROOT
-%files -f INSTALLED_FILES
-%defattr(0644,root,root,0755)
-%doc USAGE.txt README.txt CHANGES.txt ToDo.txt Demos Doc
-
+%files
%defattr(-,root,root,-)
-%{python_sitelib}/Pyrex/*.pyo
-%{python_sitelib}/Pyrex/Compiler/*.pyo
-%{python_sitelib}/Pyrex/Distutils/*.pyo
-%{python_sitelib}/Pyrex/DistutilsOld/*.pyo
-%{python_sitelib}/Pyrex/Plex/*.pyo
-%{python_sitelib}/Pyrex/Unix/*.pyo
+%doc USAGE.txt README.txt CHANGES.txt ToDo.txt Demos Doc
+%{python_sitelib}/Pyrex
%exclude %{python_sitelib}/Pyrex/Mac
+%{_bindir}/pyrexc
%files -n emacs-pyrex
%defattr(-,root,root,-)
@@ -102,6 +92,12 @@
%changelog
+* Tue Jun 3 2008 Matthew Barnes <mbarnes at redhat.com> - 0:0.9.8.2-1
+- Update to 0.9.8.2
+
+* Mon Jun 2 2008 Kyle VanderBeek <kylev at kylev.com> - 0:0.9.6.4-3
+- rpmlint cleanup
+
* Mon May 6 2008 Matthew Barnes <mbarnes at redhat.com> - 0:0.9.6.4-2
- Require pkgconfig for building.
@@ -121,7 +117,7 @@
- rebuild against python 2.5
* Fri Sep 22 2006 Matthew Barnes <mbarnes at redhat.com> - 0.8.4-2.fc6
-- Don't %ghost .pyo files (bug #205445).
+- Don't %%ghost .pyo files (bug #205445).
* Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 0.9.4-1.1
- rebuild
@@ -198,7 +194,7 @@
- Merge changes from Michel Alexandre Salim <salimma[AT]users.sf.net>
+ Require build system's python version because directories are named
pythonX.Y
- + Create *.pyo files and %ghost them (Privleged user with python optimize
+ + Create *.pyo files and %%ghost them (Privleged user with python optimize
turned on may generate them, but they aren't needed for operation.
+ Do not include the Mac Pyrex compiler stuff
+ Change license to Public Domain
More information about the fedora-extras-commits
mailing list