rpms/python-twisted-news/devel .cvsignore, 1.3, 1.4 python-twisted-news.spec, 1.6, 1.7 sources, 1.3, 1.4
Matthias Saou
thias at fedoraproject.org
Tue Dec 23 21:31:15 UTC 2008
- Previous message (by thread): rpms/python-twisted-names/devel .cvsignore, 1.3, 1.4 python-twisted-names.spec, 1.6, 1.7 sources, 1.3, 1.4
- Next message (by thread): rpms/python-twisted-web/devel .cvsignore, 1.3, 1.4 python-twisted-web.spec, 1.6, 1.7 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: thias
Update of /cvs/extras/rpms/python-twisted-news/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2375
Modified Files:
.cvsignore python-twisted-news.spec sources
Log Message:
Update to 8.1.0.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-news/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 5 Sep 2007 12:59:43 -0000 1.3
+++ .cvsignore 23 Dec 2008 21:30:44 -0000 1.4
@@ -1 +1 @@
-TwistedNews-0.3.0.tar.bz2
+TwistedNews-8.1.0.tar.bz2
Index: python-twisted-news.spec
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-news/devel/python-twisted-news.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- python-twisted-news.spec 30 Nov 2008 12:41:15 -0000 1.6
+++ python-twisted-news.spec 23 Dec 2008 21:30:44 -0000 1.7
@@ -1,23 +1,18 @@
-%{?!python:%define python python}
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
-%define origname TwistedNews
+%{!?python:%define python python}
+%{!?python_sitearch: %define python_sitearch %(%{python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: %{python}-twisted-news
-Version: 0.3.0
-Release: 5%{?dist}
-Summary: Twisted News is an NNTP server and programming library
-
+Version: 8.1.0
+Release: 2%{?dist}
+Summary: NNTP protocol implementation with client and server
Group: Development/Libraries
License: MIT
-URL: http://www.twistedmatrix.com
-Source0: http://tmrc.mit.edu/mirror/twisted/News/0.3/TwistedNews-%{version}.tar.bz2
+URL: http://www.twistedmatrix.com/trac/wiki/TwistedNews
+Source0: http://tmrc.mit.edu/mirror/twisted/News/8.1/TwistedNews-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: %{python}-twisted-core >= 2.5.0
-BuildRequires: python-devel
-
-Requires: %{python}-twisted-core >= 2.5.0
+BuildRequires: %{python}-twisted-core >= 8.1.0
+BuildRequires: %{python}-devel
+Requires: %{python}-twisted-core >= 8.1.0
Requires: %{python}-twisted-mail
# a noarch-turned-arch package should not have debuginfo
@@ -26,41 +21,58 @@
%description
Twisted is an event-based framework for internet applications.
-Twisted News is an NNTP protocol (Usenet) programming library. The
-library contains server and client protocol implementations. A simple
-NNTP server is also provided.
+Twisted News provides a very basic NNTP server, as well as an NNTP client
+protocol implementation. Two messages storage systems are supported: the DB-API
+2.0 backend stores and indexes messages in any compatible SQL database; the
+Twisted dirdbm backend uses serialized Python objects stored directly on the
+filesystem for message storage. Twisted News also has very rudimentary support
+for moderated groups.
%prep
-%setup -n %{origname}-%{version} -q
+%setup -q -n TwistedNews-%{version}
%build
+%{python} setup.py build
%install
-rm -rf $RPM_BUILD_ROOT
-# this is a pure python package, but extending the twisted namespace from
+%{__rm} -rf %{buildroot}
+
+# This is a pure python package, but extending the twisted namespace from
# python-twisted-core, which is arch-specific, so it needs to go in sitearch
-%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT --install-purelib %{python_sitearch}
+%{python} setup.py install -O1 --skip-build \
+ --install-purelib %{python_sitearch} --root %{buildroot}
-%clean
-rm -rf $RPM_BUILD_ROOT
+# See if there's any egg-info
+if [ -f %{buildroot}%{python_sitearch}/Twisted*.egg-info ]; then
+ echo %{buildroot}%{python_sitearch}/Twisted*.egg-info |
+ %{__sed} -e 's|^%{buildroot}||'
+fi > egg-info
-%post -p %{_libexecdir}/twisted-dropin-cache
+%clean
+%{__rm} -rf %{buildroot}
-%postun -p %{_libexecdir}/twisted-dropin-cache
+%post
+if [ -x %{_libexecdir}/twisted-dropin-cache ]; then
+ %{_libexecdir}/twisted-dropin-cache || :
+fi
+
+%postun
+if [ -x %{_libexecdir}/twisted-dropin-cache ]; then
+ %{_libexecdir}/twisted-dropin-cache || :
+fi
-%files
+%files -f egg-info
%defattr(-,root,root,-)
-%doc LICENSE NEWS README
-
+%doc LICENSE NEWS README
%{python_sitearch}/twisted/news/
-
%{python_sitearch}/twisted/plugins/twisted_news.py*
-%if 0%{?fedora} >= 9
- %{python_sitearch}/Twisted_News-%{version}-py?.?.egg-info
-%endif
-
%changelog
+* Tue Dec 23 2008 Matthias Saou <http://freshrpms.net/> 8.1.0-2
+- Update to 8.1.0.
+- Merge back changes from Paul Howarth.
+- Make sure the scriplets never return a non-zero exit status.
+
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.3.0-5
- Fix locations for Python 2.6
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-twisted-news/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 5 Sep 2007 12:59:43 -0000 1.3
+++ sources 23 Dec 2008 21:30:44 -0000 1.4
@@ -1 +1 @@
-cacbebf47882e57ca04d5c2ec3601830 TwistedNews-0.3.0.tar.bz2
+25849ad7d4aa8e516ca486986109eba0 TwistedNews-8.1.0.tar.bz2
- Previous message (by thread): rpms/python-twisted-names/devel .cvsignore, 1.3, 1.4 python-twisted-names.spec, 1.6, 1.7 sources, 1.3, 1.4
- Next message (by thread): rpms/python-twisted-web/devel .cvsignore, 1.3, 1.4 python-twisted-web.spec, 1.6, 1.7 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list