Thinkpad HDD head parking support?
by Jeff Gustafson
Hi all,
I decided to check out the Test4 release on my Thinkpad T60p.
Although the bay eject didn't work with the kernel that was in the test4
distribution, the latest version available in Rawhide did support the
bay drive eject. I'm looking forward to this since FC6 doesn't seem to
support the T60 bay. Now if only ATI would get their drivers to work
with the newer Xorg releases, I'll be set.
I do have one suggestion though. Would it be possible for the
drive head parking support be added into the kernel? The kernels seem
to support the sensor, but without the parking patch, the sensor is
basically useless.
The newest patch that I could find for this support is here:
http://article.gmane.org/gmane.linux.drivers.hdaps.devel/993
...Jeff
16 years, 12 months
DeltaRPM works great on Fedora Core 6 (yum presto plugin)
by Valent Turkovic
I installed all versions of yum-presto DeltaRPM package for Fedora
Core 6 since 0.34 and they all worked great! I didn't have any issues.
Now I run 0.38 and it works perfectly.
I can't wait to test it on Fedora 7 test 3 I have on my other machine
becuase I saw that it still needs a bit of polish to start running
fine on Fedora 7.
RPM build speed is also much better that SUSE updater!
Bravo for yum-presto team!
What experience do others have regarding yum-presto? Do you like it?
Do you have any feature ideas?
I would like to see the yum-presto status after update with bandwidth
savings in human readable notation. If I'm not wrong there was that
status in 0.34 but I didn't see it later version - correct me if I'm
overlooking it.
Thank you,
Valent from Croatia.
--
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241
Skype: valent.turkovic
16 years, 12 months
Re: rpms/curl/devel curl.spec,1.47,1.48
by Patrice Dumas
On Thu, May 10, 2007 at 09:33:55AM -0400, Jindrich Novy wrote:
> Author: jnovy
>
> Update of /cvs/extras/rpms/curl/devel
> In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31062
>
> Modified Files:
> curl.spec
> Log Message:
> - package libcurl.m4 in curl-devel (#239664), thanks to Quy Tonthat
Only looking at the diff it seems to me that %_datadir/aclocal
can be unowned after curl-devel removal. There is more than one way to
solve this issue (Requires automake, own the directory...) but one
should be used.
--
Pat
16 years, 12 months
Hello again
by Ignacio Vazquez-Abrams
Hello all. I realize that I've been gone for a long time, but I'd like
to resume helping the Fedora Project where possible. I've been digesting
wiki pages and mailing list archives as fast as I can, and I'm hoping to
be able to get back into the swing of things by this weekend.
I apologize for my long silence, and I realize that it wasn't fair of me
to just run off leaving you hanging. What I have been doing for the past
9 or so months is a series of topics for when I'm very, VERY drunk, but
rest assured that I will apply the various lessons learned about
teamwork and leadership towards my efforts within the Project.
Yours Faithfully,
Ignacio Vazquez-Abrams <ivazqueznet+ext(a)gmail.com>
16 years, 12 months
CVS server load?
by Orion Poplawski
Lots of timeouts and waiting for locks....
[orion@cynosure hdf]$ cvs ci
cvs commit: Examining .
cvs commit: Examining EL-4
cvs commit: Examining EL-5
cvs commit: Examining FC-3
cvs commit: Examining FC-4
cvs commit: Examining FC-5
cvs commit: Examining FC-6
cvs commit: Examining common
cvs commit: Examining devel
? devel/make.log
? devel/make-production.log
? devel/i386
? devel/hdf-4.2r1-12.fc7.src.rpm
? devel/HDF4.2r1.tar.gz
? devel/4.2r1-hrepack-p4
? devel/.build-4.2r1-12.fc7.log
? FC-4/hdf-4.2r1-6.fc4.src.rpm
? EL-4/HDF4.2r1.tar.gz
? spec.patch
**** Access allowed: orion is in ACL for rpms/hdf/EL-5.
**** Access allowed: orion is in ACL for rpms/hdf/FC-6.
**** Access allowed: orion is in ACL for rpms/hdf/devel.
Checking in EL-5/hdf.spec;
/cvs/pkgs/rpms/hdf/EL-5/hdf.spec,v <-- hdf.spec
new revision: 1.14; previous revision: 1.13
done
Traceback (most recent call last):
File "/cvs/pkgs/CVSROOT/getnotifylist", line 26, in ?
owners = owners.OwnerList(populate_all = 0)
File "/cvs/pkgs/CVSROOT/owners.py", line 49, in __init__
self.populate_users()
File "/cvs/pkgs/CVSROOT/owners.py", line 64, in populate_users
f =
urllib2.urlopen("http://app2.fedora.phx.redhat.com/admin/accounts/dump-group.cgi?group=cla...")
File "/usr/lib64/python2.3/urllib2.py", line 129, in urlopen
return _opener.open(url, data)
File "/usr/lib64/python2.3/urllib2.py", line 326, in open
'_open', req)
File "/usr/lib64/python2.3/urllib2.py", line 306, in _call_chain
result = func(*args)
File "/usr/lib64/python2.3/urllib2.py", line 901, in http_open
return self.do_open(httplib.HTTP, req)
File "/usr/lib64/python2.3/urllib2.py", line 886, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error (110, 'Connection timed out')>
Running syncmail...
Mailing cvsextras(a)fedora.redhat.com ...
...syncmail done.
cvs diff: [15:18:46] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
Running syncmail...
Mailing relnotes@fedoraproject.org...
...syncmail done.
Checking in FC-6/hdf.spec;
/cvs/pkgs/rpms/hdf/FC-6/hdf.spec,v <-- hdf.spec
new revision: 1.14; previous revision: 1.13
done
cvs diff: [15:19:16] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:19:46] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:20:16] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:20:46] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:21:16] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:21:46] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
Traceback (most recent call last):
File "/cvs/pkgs/CVSROOT/getnotifylist", line 26, in ?
owners = owners.OwnerList(populate_all = 0)
File "/cvs/pkgs/CVSROOT/owners.py", line 49, in __init__
self.populate_users()
File "/cvs/pkgs/CVSROOT/owners.py", line 64, in populate_users
f =
urllib2.urlopen("http://app2.fedora.phx.redhat.com/admin/accounts/dump-group.cgi?group=cla...")
File "/usr/lib64/python2.3/urllib2.py", line 129, in urlopen
return _opener.open(url, data)
File "/usr/lib64/python2.3/urllib2.py", line 326, in open
'_open', req)
File "/usr/lib64/python2.3/urllib2.py", line 306, in _call_chain
result = func(*args)
File "/usr/lib64/python2.3/urllib2.py", line 901, in http_open
return self.do_open(httplib.HTTP, req)
File "/usr/lib64/python2.3/urllib2.py", line 886, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error (110, 'Connection timed out')>
Running syncmail...
Mailing cvsextras(a)fedora.redhat.com ...
...syncmail done.
cvs diff: [15:21:56] waiting for orion's lock in /cvs/pkgs/rpms/hdf/FC-6
Running syncmail...
Mailing relnotes@fedoraproject.org...
...syncmail done.
Checking in devel/hdf.spec;
/cvs/pkgs/rpms/hdf/devel/hdf.spec,v <-- hdf.spec
new revision: 1.14; previous revision: 1.13
done
cvs diff: [15:22:16] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:22:26] waiting for orion's lock in /cvs/pkgs/rpms/hdf/FC-6
cvs diff: [15:22:46] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:22:56] waiting for orion's lock in /cvs/pkgs/rpms/hdf/FC-6
cvs diff: [15:23:16] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:23:26] waiting for orion's lock in /cvs/pkgs/rpms/hdf/FC-6
cvs diff: [15:23:46] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:23:56] waiting for orion's lock in /cvs/pkgs/rpms/hdf/FC-6
cvs diff: [15:24:16] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:24:26] waiting for orion's lock in /cvs/pkgs/rpms/hdf/FC-6
cvs diff: [15:24:46] waiting for orion's lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:24:56] waiting for orion's lock in /cvs/pkgs/rpms/hdf/FC-6
Traceback (most recent call last):
File "/cvs/pkgs/CVSROOT/getnotifylist", line 26, in ?
owners = owners.OwnerList(populate_all = 0)
File "/cvs/pkgs/CVSROOT/owners.py", line 49, in __init__
self.populate_users()
File "/cvs/pkgs/CVSROOT/owners.py", line 64, in populate_users
f =
urllib2.urlopen("http://app2.fedora.phx.redhat.com/admin/accounts/dump-group.cgi?group=cla...")
File "/usr/lib64/python2.3/urllib2.py", line 129, in urlopen
return _opener.open(url, data)
File "/usr/lib64/python2.3/urllib2.py", line 326, in open
'_open', req)
File "/usr/lib64/python2.3/urllib2.py", line 306, in _call_chain
result = func(*args)
File "/usr/lib64/python2.3/urllib2.py", line 901, in http_open
return self.do_open(httplib.HTTP, req)
File "/usr/lib64/python2.3/urllib2.py", line 886, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error (110, 'Connection timed out')>
Running syncmail...
Mailing cvsextras(a)fedora.redhat.com ...
...syncmail done.
cvs diff: [15:25:05] waiting for orion's lock in /cvs/pkgs/rpms/hdf/devel
Running syncmail...
Mailing relnotes@fedoraproject.org...
...syncmail done.
cvs diff: [15:25:16] obtained lock in /cvs/pkgs/rpms/hdf/EL-5
cvs diff: [15:25:26] obtained lock in /cvs/pkgs/rpms/hdf/FC-6
cvs diff: [15:25:35] obtained lock in /cvs/pkgs/rpms/hdf/devel
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
16 years, 12 months
Fedora Extras Package Build Report 2007-05-10
by Fedora Koji Build System
Packages built and released for Fedora Extras 6: 15
asymptote-1.28-1.fc6
blender-2.42a-21.fc6
NEW boolstuff-0.1.11-1.fc6 : Disjunctive Normal Form boolean expression library
espeak-1.24-1.fc6
NEW FlightGear-0.9.10-6.fc6 : The FlightGear Flight Simulator
gallery2-2.2-0.3.svn20070506.fc6
gdal-1.4.1-1.fc6
gnash-0.7.2-2.fc6
NEW perl-Class-C3-XS-0.03-2.fc6 : XS speedups for Class::C3
perl-JSON-1.13-1.fc6
php-pear-HTML-QuickForm-ElementGrid-0.1.1-1.fc6
php-pear-Net-Socket-1.0.8-1.fc6
NEW pmount-0.9.13-1.fc6 : Enable normal user mount
NEW pygoocanvas-0.6.0-2.fc6 : GooCanvas python bindings
rosegarden4-1.5.1-1.fc6
Packages built and released for Fedora Extras 5: 11
asymptote-1.28-1.fc5
blender-2.42a-21.fc5
espeak-1.24-1.fc5
funtools-1.3.0-0.5.b33.fc5
gallery2-2.2-0.3.svn20070506.fc5
gnash-0.7.2-2.fc5
perl-CGI-Ex-2.11-1.fc5
NEW perl-Class-C3-XS-0.03-2.fc5 : XS speedups for Class::C3
perl-JSON-1.13-1.fc5
php-pear-HTML-QuickForm-ElementGrid-0.1.1-1.fc5
php-pear-Net-Socket-1.0.8-1.fc5
Changes in Fedora Extras 6:
asymptote-1.28-1.fc6
--------------------
* Tue May 08 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.28-1
- Update to 1.28.
* Sat May 05 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.27-1
- Update to 1.27.
blender-2.42a-21.fc6
--------------------
* Mon May 07 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.42a-21
- Fix security issue (#239338)
* Sun Apr 22 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.42a-20
- Remove the package from the x86_64 arch (#237423)
boolstuff-0.1.11-1.fc6
----------------------
* Sun May 06 2007 Patrice Dumas <pertusus(a)free.fr> 0.1.11-1
- update to 0.1.11
- use a directory for in-source docs
espeak-1.24-1.fc6
-----------------
* Tue May 08 2007 Francois Aucamp <faucamp(a)csir.co.za> - 1.24-1
- Update to version 1.24
FlightGear-0.9.10-6.fc6
-----------------------
* Wed Apr 18 2007 Fabrice Bellet <fabrice(a)bellet.info> 0.9.10-6
- desktop-database update
- add icons from Josh Babcock
* Mon Apr 16 2007 Fabrice Bellet <fabrice(a)bellet.info> 0.9.10-5
- doc files cleanup
- remove -fPIC from CXXFLAGS
- add a desktop file (but no dedicated icon is available)
- spec file cleanup
gallery2-2.2-0.3.svn20070506.fc6
--------------------------------
* Wed May 09 2007 John Berninger <johnw at berningeronline dot net> - 2.2-0.3.svn20070506
- Mark the config.php symlink as a config file so that the config.php from 2.1
installs doesn't get overwritten. Yes, I did a Bad Thing.
gdal-1.4.1-1.fc6
----------------
* Wed May 09 2007 Balint Cristian <cbalint(a)redhat.com> 1.4.1-1
- new upstream release.
- disable temporary grass-devel requirement untill find a
resonable solution for gdal-grass egg-chicken dep problem.
* Fri Apr 20 2007 Balint Cristian <cbalint(a)redhat.com> 1.4.0-22
- and olso dont attempt pack missing docs.
* Fri Apr 20 2007 Balint Cristian <cbalint(a)redhat.com> 1.4.0-21
- exclude some docs, doxygen segfault with those now upstream.
* Fri Apr 20 2007 Balint Cristian <cbalint(a)redhat.com> 1.4.0-20
- rebuild against latest fedora upstream tree.
gnash-0.7.2-2.fc6
-----------------
* Wed May 09 2007 Patrice Dumas <pertusus(a)free.fr> 0.7.2-2
- fix CVE-2007-2500 (fix 239213)
perl-Class-C3-XS-0.03-2.fc6
---------------------------
* Wed May 09 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 0.03-2
- bump
* Wed May 09 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 0.03-1
- update to 0.03
* Fri May 04 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 0.02-1
- Specfile autogenerated by cpanspec 1.71.
perl-JSON-1.13-1.fc6
--------------------
* Wed May 09 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 1.13-1
- update to 1.13
* Fri May 04 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 1.12-1
- update to 1.12
- add t/ to %doc
php-pear-HTML-QuickForm-ElementGrid-0.1.1-1.fc6
-----------------------------------------------
* Tue May 08 2007 Christohper Stone <chris.stone(a)gmail.com> 0.1.1-1
- Upstream sync
php-pear-Net-Socket-1.0.8-1.fc6
-------------------------------
* Tue May 08 2007 Remi Collet <Fedora(a)FamilleCollet.com> 1.0.8-1
- update to 1.0.8
pmount-0.9.13-1.fc6
-------------------
* Sun Sep 24 2006 Patrice Dumas <pertusus(a)free.fr> 0.9.13-1
- initial packaging
pygoocanvas-0.6.0-2.fc6
-----------------------
* Fri May 04 2007 Bernard Johnson <bjohnson(a)symetrix.com> - 0.6.0-2
- enable docbook build
rosegarden4-1.5.1-1.fc6
-----------------------
* Wed May 02 2007 Callum Lerwick <seg(a)haxxed.com> - 1.5.1-1
- New upstream version.
* Tue Feb 13 2007 Callum Lerwick <seg(a)haxxed.com> - 1.5.0-1
- New upstream version.
Changes in Fedora Extras 5:
asymptote-1.28-1.fc5
--------------------
* Tue May 08 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.28-1
- Update to 1.28.
* Sat May 05 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.27-1
- Update to 1.27.
* Wed Apr 25 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.26-1
- Update to 1.26.
blender-2.42a-21.fc5
--------------------
* Mon May 07 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.42a-21
- Fix security issue (#239338)
* Sun Apr 22 2007 Jochen Schmitt <Jochen herr-schmitt de> 2.42a-20
- Remove the package from the x86_64 arch (#237423)
espeak-1.24-1.fc5
-----------------
* Tue May 08 2007 Francois Aucamp <faucamp(a)csir.co.za> - 1.24-1
- Update to version 1.24
funtools-1.3.0-0.5.b33.fc5
--------------------------
* Thu May 03 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 1.3.0-0.5.b33
- New upstream version
gallery2-2.2-0.3.svn20070506.fc5
--------------------------------
* Wed May 09 2007 John Berninger <johnw at berningeronline dot net> - 2.2-0.3.svn20070506
- Mark the config.php symlink as a config file so that the config.php from 2.1
installs doesn't get overwritten. Yes, I did a Bad Thing.
* Mon May 07 2007 John Berninger <johnw at berningeronline dot net> - 2.2-0.2.svn20070506
- Requires PHP 4.3.0, not 4.1.0
- Add statement of support for DB2, MS SQL server
- Don't hardcode /srv/gallery2 in install section, use the g2datadir variable
- Up PHP memory chunk to 24M
- Known issue - downloading modules and themes from within Gallery will not
work with G2 being in /usr/share - esp if /usr is read-only. Would need
exception to Fedora packaging guidelines to enable this feature
* Sun May 06 2007 John Berninger <johnw at berningeronline dot net> - 2.2-0.1.svn20070506
- Switch to upstream ver 2.2 base
- Add digibug, dynamicalbum, ecard, flashvideo, httpauth, itemadd, keyalbum, mp3audio, multiroot, replica, webdav modules
- Add ajaxian, carbon themes
- Refactor login.txt and config.php references, update readme for same
gnash-0.7.2-2.fc5
-----------------
* Wed May 09 2007 Patrice Dumas <pertusus(a)free.fr> 0.7.2-2
- fix CVE-2007-2500 (fix 239213)
perl-CGI-Ex-2.11-1.fc5
----------------------
* Wed May 09 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 2.11-1
- update to 2.11
- add split br's
perl-Class-C3-XS-0.03-2.fc5
---------------------------
* Wed May 09 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 0.03-2
- bump
* Wed May 09 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 0.03-1
- update to 0.03
* Fri May 04 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 0.02-1
- Specfile autogenerated by cpanspec 1.71.
perl-JSON-1.13-1.fc5
--------------------
* Wed May 09 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 1.13-1
- update to 1.13
* Fri May 04 2007 Chris Weyl <cweyl(a)alumni.drew.edu> 1.12-1
- update to 1.12
- add t/ to %doc
php-pear-HTML-QuickForm-ElementGrid-0.1.1-1.fc5
-----------------------------------------------
* Tue May 08 2007 Christohper Stone <chris.stone(a)gmail.com> 0.1.1-1
- Upstream sync
php-pear-Net-Socket-1.0.8-1.fc5
-------------------------------
* Tue May 08 2007 Remi Collet <Fedora(a)FamilleCollet.com> 1.0.8-1
- update to 1.0.8
* Sat Mar 31 2007 Remi Collet <Fedora(a)FamilleCollet.com> 1.0.7-1
- remove PEAR from sumnary
- update to 1.0.7
- spec cleanup
- add generated CHANGELOG
For more information about the built packages please see the repository
or the Fedora Info Feed: http://fedoraproject.org/infofeed/
17 years
Python 2.4.4 FC6 SRPM
by Debarshi Ray
I installed the Python 2.4.4 FC6 SRPM on my Fedora 7 test 4 system and
tried to build it using: $ rpmbuild -ba python.spec. However this
leads to an error in the %build stage.
gcc -pthread -fPIC -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC
-I/usr/kerberos/include -I. -I./Include -I/usr/include/db4 -c
./Modules/_bsddb.c -o Modules/_bsddb.o
./Modules/_bsddb.c: In function 'DBEnv_set_lk_max':
./Modules/_bsddb.c:3844: error: 'DB_ENV' has no member named 'set_lk_max'
./Modules/_bsddb.c: In function 'init_bsddb':
./Modules/_bsddb.c:5042: error: 'DB_CACHED_COUNTS' undeclared (first
use in this function)
./Modules/_bsddb.c:5042: error: (Each undeclared identifier is
reported only once
./Modules/_bsddb.c:5042: error: for each function it appears in.)
./Modules/_bsddb.c:5077: error: 'DB_RECORDCOUNT' undeclared (first use
in this function)
make: *** [Modules/_bsddb.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.54845 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.54845 (%build)
What is wrong?
Happy hacking,
Debarshi
--
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu
17 years
Pidgin Icons gone
by David Hunter
Since the demise of Gaim being replaced with pidgin, many of the old Icons
from gaim have been changed. Any way to get them back? or is it a change for
good? Is it a bug or known issue?
--
David Hunter
17 years
Python 2.5 F7 SPEC
by Debarshi Ray
I wonder if the following modification will make the Python 2.5
package more tolerant towards systems having some other version of
Python (make altinstall).
--- python.spec 2007-04-10 19:53:41.000000000 +0530
+++ python.spec.new 2007-05-10 01:01:34.000000000 +0530
@@ -359,7 +359,11 @@ rm -fr $RPM_BUILD_ROOT
%defattr(-, root, root)
%doc LICENSE README
%{_bindir}/pydoc*
-%{_bindir}/python*
+%{_bindir}/python
+%{_bindir}/python2
+%{_bindir}/python%{pybasever}
+%{_bindir}/python-config
+%{_bindir}/python%{pybassever}-config
%{_mandir}/*/*
Happy hacking,
Debarshi
--
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu
17 years
[Guidelines Change] Conflicts
by Tom Callaway
A new document was added to the Packaging/ hierarchy: Conflicts.
This document is also linked from the Packaging/Guidelines.
For convenience, the contents of the current Packaging/Conflicts policy
is presented below:
================
Conflicts
Whenever possible, Fedora packages should avoid conflicting with each
other. Unfortunately, this is not always possible. These guidelines
illustrate how conflicts should be handled in Fedora, specifically
concerning when and when not to use the Conflicts: field.
Acceptable Uses of Conflicts:
As a general rule, Fedora packages must NOT contain any usage of the
Conflicts: field. This field is commonly misused, when a Requires: would
usually be more appropriate. It confuses depsolvers and end-users for no
good reason. However, there are some cases in which using the Conflicts:
field is appropriate and acceptable.
Implicit Conflicts
Keep in mind that implicit conflicts are NEVER acceptable. If your
package conflicts with another package, then you must either resolve the
conflict, or mark it with Conflicts:.
Optional Functionality
Some software can utilize other optional software applications if
present, but do not require them to be installed. If they are not
installed, the software will still function properly. However, if those
other "optional applications" are too old, then the software won't work.
This is an acceptable use of the Conflicts: field. The packager must
document the reason in a comment above the Conflicts: field:
Example:
# If the unrar utility is present, super-unpacker can open rar files. However, it only works with unrar >= 2.0. Unrar is not required for this app to function.
Conflicts: unrar < 2.0
If the software links to the libraries of another package, it must use
Requires: instead of Conflicts: to mark that dependency. Also, if the
software does not function properly without another package being
installed, it must use Requires: instead of Conflicts:.
The packager should ask:
If the package (at the correct version) in Conflicts: is not present,
will my package be functional?
If the answer is yes, then it is probably a valid use of Conflicts:. If
the answer is no, then it is almost certainly a better case for
Requires:.
For example, if foo-game needs libbar to run, but will not work with
libbar that is older than 1.2.3:
WRONG: Conflicts: libbar < 1.2.3
RIGHT: Requires: libbar >= 1.2.3
Packagers should keep usage of Conflicts: to a bare minimum. Only
upgrading from two previous release of Fedora is supported, so Conflicts
against older packages than that, while technically correct, are
unnecessary, and should not be included.
Compat Package Conflicts
It is acceptable to use Conflicts: in some cases involving compat
packages. These are the cases where it is not feasible to patch
applications to look in alternate locations for the -compat files, so
the foo-devel and foo-compat-devel packages need to Conflict:. Whenever
possible, this should be avoided.
Conflicting Files
There are many types of files which can conflict between multiple
packages. Fedora strongly discourages using Conflicts: to resolve these
cases. Here are some suggestions which can be used to resolve these
conflicts (note that not all file conflict cases are listed, nor are all
possible solutions):
Man Page Name Conflicts
* Rename the man pages to slightly alter the suffix of the man
page (e.g man1/check.1.gz and man1/check.1foo.gz)
* Rename the man pages to include a prefix of the providing
package (e.g. foo-check.1.gz and bar-check.1.gz)
Library Name Conflicts
* Put the library in a subdirectory of /usr/lib or /lib and
include a ld.so.conf file in /etc/ld.so.conf.d/.
Header Name Conflicts
* Put the headers in a subdirectory of /usr/include.
Binary Name Conflicts
* Convince upstream to rename the binaries to something less
generic (or just less conflicting).
* In the case where the conflicting binaries provide the same
functionality, you can then rename the binaries with a prefix,
and use "alternatives" to let the end user to select which
generic name is the default. Note that this is usually not the
case.
Other Uses of Conflicts:
If you find yourself in a situation where you feel that your package has
to conflict with another package (either explicitly or implicitly), but
does not fit the documented accepted cases above, then you need to make
your case to the Fedora Packaging Committee. If they agree, then, and
only then can you use Conflicts: in a Fedora package. Remember, whenever
you use Conflicts:, you are also required to include the reasoning in a
comment next to the Conflicts: entry, so that it will be abundantly
clear why it needed to exist.
~spot
17 years