specfile generates "error: no source number 1". Why?
Mihamina Rakotomandimby
mihamina.rakotomandimby at etu.univ-orleans.fr
Thu Dec 7 20:58:01 UTC 2006
Hi,
The attached specfile make rpmbuild to say
"error: no source number 1"
I dont understand why.
Would you know?
-------------- next part --------------
%define python_minver 2.4
%define zope_minver 2.8
%define zope_home %{_libdir}/zope
%define software_home %{zope_home}/lib/python
Name: plone
Version: 2.1.4
Release: 1%{?dist}
Summary: User friendly and powerful open source Content Management System
License: GPL
Group: System Environment/Daemons
URL: http://www.plone.org/
Source0: http://dl.sf.net/plone/Plone-2.1.4.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: zope >= %{zope_minver}
Requires: python >= %{python_minver}, python-imaging
%description
Plone is a user friendly and powerful content management system based on Zope.
It is easy to use, translated into over 30 languages and carefully follows
standards. It s under active development and easily extensible with add-on
products.
%prep
%setup -q -n Plone-%{version} -a 1
# Clean up sources
find . -type d -name CVS | xargs rm -rf
find . -type f -name .cvsignore | xargs rm -rf
find . -type d -name .svn | xargs rm -rf
find . -type f -name "*~" | xargs rm -rf
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{software_home}/Products
cp -pr * $RPM_BUILD_ROOT%{software_home}/Products
rm -rf $RPM_BUILD_ROOT%{software_home}/Products/BTreeFolder2
rm -f $RPM_BUILD_ROOT%{software_home}/Products/README.txt
rm -f $RPM_BUILD_ROOT%{software_home}/Products/CONTENTS.txt
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ "$1" -ge "2" ]; then # upgrade
/sbin/service zope condrestart >/dev/null 2>&1
fi
%files
%defattr(644,root,root,755)
%doc README.txt CONTENTS.txt
%{software_home}/Products/*
%changelog
* Thu Dec 07 2006 Mihamina Rakotomandimby <mihamina at rktmb.org> 2.1.4-1
- Version 2.1.4
- Remove Hotfix
* Thu Apr 13 2006 Aurelien Bompard <gauret[AT]free.fr> 2.1.2-2
- apply Plone Hotfix 2006-04-10 to fix CVE-2006-1711
- restart Zope on upgrade (will migrate it to %%postun for the
next release, but we need to make sure zope is restarted for
this one (security)
* Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 2.1.2-1
- version 2.1.2
* Sat Oct 22 2005 Aurelien Bompard <gauret[AT]free.fr> 2.1.1-1
- version 2.1.1
* Thu Sep 08 2005 Aurelien Bompard <gauret[AT]free.fr> 2.1-1
- version 2.1 final
* Thu Aug 11 2005 Aurelien Bompard <gauret[AT]free.fr>
- rebuild
* Thu Aug 11 2005 Aurelien Bompard <gauret[AT]free.fr> 2.1-0.3.rc2
- update to rc2
- drop buildarch: noarch since _libdir depends on arch (on x86_64)
- put readmes in %%doc
* Mon Aug 01 2005 Aurelien Bompard <gauret[AT]free.fr> 2.1-0.2.rc1
- update to rc1
* Wed Jun 15 2005 Aurelien Bompard <gauret[AT]free.fr> 2.1-0.1.alpha2
- update to 2.1 alpha2 to work with python >= 2.4 and zope >= 2.8
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* Fri Feb 11 2005 Aurelien Bompard <gauret[AT]free.fr> 2.0.5-2
- apply Matthias' suggestions: cleanup %%description, drop Epoch, and
use a better Group.
* Fri Feb 11 2005 Aurelien Bompard <gauret[AT]free.fr> 0:2.0.5-1
- initial Fedora Extras RPM
More information about the test
mailing list