rpms/inn/devel inn.spec,1.35,1.36
Ondrej Dvoracek (odvorace)
fedora-extras-commits at redhat.com
Tue Oct 2 10:48:36 UTC 2007
- Previous message: rpms/cupsddk/devel cupsddk-build.patch, NONE, 1.1 cupsddk.spec, 1.4, 1.5
- Next message: rpms/cupsddk/F-7 cupsddk-build.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 cupsddk.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: odvorace
Update of /cvs/extras/rpms/inn/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25248
Modified Files:
inn.spec
Log Message:
Added buildrequires for perl-devel and python
Index: inn.spec
===================================================================
RCS file: /cvs/extras/rpms/inn/devel/inn.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- inn.spec 1 Oct 2007 11:11:28 -0000 1.35
+++ inn.spec 2 Oct 2007 10:48:02 -0000 1.36
@@ -18,7 +18,7 @@
Patch6: inn-2.4.1.posix.patch
Patch7: inn-2.4.3.warn.patch
Patch8: inn-2.4.2-makedbz.patch
-BuildRequires: db4-devel byacc krb5-devel pam-devel e2fsprogs-devel
+BuildRequires: perl-devel python db4-devel byacc krb5-devel pam-devel e2fsprogs-devel
Prereq: /sbin/chkconfig, grep, coreutils, sed
Requires: bash >= 2.0, inews
@@ -40,7 +40,7 @@
newsgate or tin.
%package devel
-Summary: The INN (InterNetNews) library.
+Summary: The INN (InterNetNews) library
Group: Development/Libraries
Requires: inn = %{version}
@@ -53,7 +53,7 @@
system, you should install inn-devel.
%package -n inews
-Summary: Sends Usenet articles to a local news server for distribution.
+Summary: Sends Usenet articles to a local news server for distribution
Group: System Environment/Daemons
%description -n inews
@@ -89,16 +89,16 @@
%endif
with_tmp_path=/var/lib/news/tmp ./configure \
- --prefix=/usr/lib/news \
- --sysconfdir=/etc/news --mandir=%{_mandir} \
- --with-log-dir=/var/log/news --with-spool-dir=/var/spool/news\
- --with-db-dir=/var/lib/news --with-run-dir=/var/run/news \
- --with-etc-dir=/etc/news --with-tmp-dir=/var/lib/news/tmp \
- --with-perl --enable-shared --enable-uucp-rnews \
- --enable-pgp-verify --with-sendmail=/usr/sbin/sendmail \
- --with-news-user=news --with-news-group=news --with-news-master=news \
- --enable-ipv6 \
- %{_target_platform}
+ --prefix=/usr/lib/news \
+ --sysconfdir=/etc/news --mandir=%{_mandir} \
+ --with-log-dir=/var/log/news --with-spool-dir=/var/spool/news\
+ --with-db-dir=/var/lib/news --with-run-dir=/var/run/news \
+ --with-etc-dir=/etc/news --with-tmp-dir=/var/lib/news/tmp \
+ --with-perl --enable-shared --enable-uucp-rnews \
+ --enable-pgp-verify --with-sendmail=/usr/sbin/sendmail \
+ --with-news-user=news --with-news-group=news --with-news-master=news \
+ --enable-ipv6 \
+ %{_target_platform}
# XXX don't include <db1/ndbm.h> to avoid linking with -ldb1.
perl -pi -e 's/HAVE_DB1_NDBM_H/XXX_HAVE_DB1_NDBM_H/' ./include/config.h
@@ -170,25 +170,25 @@
rm -rf $RPM_BUILD_ROOT/usr/lib/news/include
echo "%defattr(-,news,news)" > files.list
find $RPM_BUILD_ROOT -type f -or -type l | \
- sed -e "s|$RPM_BUILD_ROOT||g" | \
- sed 's|^/etc/cron|%config(noreplace) %attr(-,root,root) &|' | \
- sed 's|^/etc/rc.d|%config(noreplace) %attr(-,root,root) &|' | \
- sed 's|^/etc|%config(noreplace) &|' | \
- sed 's|^/etc/news|%config(noreplace) %attr(0640,news,news) &|' | \
- sed 's|^/var/lib/news/|%config(noreplace) &|' | \
- sed 's|.*innshellvar|%config &|' | \
- sed 's|/var/log/news|%ghost &|' | \
- sed 's|/usr/lib/news/bin/inndstart$|%attr(4550,root,news) /usr/lib/news/bin/inndstart|' | \
- sed 's|/usr/lib/news/bin/startinnfeed$|%attr(4550,root,news) /usr/lib/news/bin/startinnfeed|' | \
- sed 's|/usr/lib/news/bin/rnews$|%attr(4550,uucp,news) /usr/lib/news/bin/rnews|' > files.list
- echo "/usr/lib/news/bin/filter/*.pyc" >> files.list
- echo "/usr/lib/news/bin/filter/*.pyo" >> files.list
-(echo "%defattr(-,news,news)" ; grep -v inews files.list | \
- egrep -v "\.(h|so|a|la)$" | \
- grep -v "news/inn.conf" | \
- grep -v "/man/") > files.main
-echo "%defattr(-,root,root)" > files.devel
-egrep "\.(h|so|a|la)$" files.list >> files.devel
+ sed -e "s|$RPM_BUILD_ROOT||g" | \
+ sed 's|^/etc/cron|%config(noreplace) %attr(-,root,root) &|' | \
+ sed 's|^/etc/rc.d|%config(noreplace) %attr(-,root,root) &|' | \
+ sed 's|^/etc|%config(noreplace) &|' | \
+ sed 's|^/etc/news|%config(noreplace) %attr(0640,news,news) &|' | \
+ sed 's|^/var/lib/news/|%config(noreplace) &|' | \
+ sed 's|.*innshellvar|%config &|' | \
+ sed 's|/var/log/news|%ghost &|' | \
+ sed 's|/usr/lib/news/bin/inndstart$|%attr(4550,root,news) /usr/lib/news/bin/inndstart|' | \
+ sed 's|/usr/lib/news/bin/startinnfeed$|%attr(4550,root,news) /usr/lib/news/bin/startinnfeed|' | \
+ sed 's|/usr/lib/news/bin/rnews$|%attr(4550,uucp,news) /usr/lib/news/bin/rnews|' > files.list
+ echo "/usr/lib/news/bin/filter/*.pyc" >> files.list
+ echo "/usr/lib/news/bin/filter/*.pyo" >> files.list
+ (echo "%defattr(-,news,news)" ; grep -v inews files.list | \
+ egrep -v "\.(h|so|a|la)$" | \
+ grep -v "news/inn.conf" | \
+ grep -v "/man/") > files.main
+ echo "%defattr(-,root,root)" > files.devel
+ egrep "\.(h|so|a|la)$" files.list >> files.devel
%clean
rm -rf $RPM_BUILD_ROOT
@@ -291,8 +291,9 @@
%{_mandir}/man1/inews*
%changelog
-* Mon Oct 01 2006 Ondrej Dvoracek <odvorace at redhat.com> 2.4.3-7
+* Tue Oct 02 2007 Ondrej Dvoracek <odvorace at redhat.com> 2.4.3-7
- initscript review (#246951)
+- added buildrequires for perl-devel and python
* Tue Aug 29 2006 Martin Stransky <stransky at redhat.com> 2.4.3-6
- added dist tag
- Previous message: rpms/cupsddk/devel cupsddk-build.patch, NONE, 1.1 cupsddk.spec, 1.4, 1.5
- Next message: rpms/cupsddk/F-7 cupsddk-build.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 cupsddk.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list