[Bug 600243] Review Request: libjpeg-turbo - MMX/SSE accelerated libjpeg

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 9 14:49:51 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=600243

--- Comment #6 from Chen Lei <supercyper1 at gmail.com> 2010-06-09 10:49:46 EDT ---
> > 2.
> > Obsoletes: libjpeg < 6b-47.fc12
> > Provides: libjpeg = 6b-47.fc12
> > 
> > Provides is not needed here.    
> If I read
> http://fedoraproject.org/wiki/PackageNamingGuidelines#Renaming.2Freplacing_existing_packages
> correctly it is needed, isn't it?
> New spec + SRPM:
> http://atkac.fedorapeople.org/libjpeg-turbo/libjpeg-turbo.spec
> http://atkac.fedorapeople.org/libjpeg-turbo/libjpeg-turbo-0.0.93-2.fc14.src.rpm    
If a package supersedes/replaces an existing package without being a compatible
enough replacement as defined in above, use only the Obsoletes from above. 

For packages that are not usually pulled in by using the package name as the
dependency such as library only packages (which are pulled in through library
soname depenencies), there's usually no need to add the Provides. Note however
that the -devel subpackages of lib packages are pulled in as build dependencies
using the package name, so adding the Provides is often appropriate there. 

So for libjpeg-turbo and libjpeg-turbo-tools provides are not needed. Upgrade
path is not related to provides at all.

I'm not sure if obsoletes is needed for libjpeg-turbo since the -tools
subpackage already depends on soname, you may need check it using yum.

yum install libjpeg from official repo.

Then koji-build libjpeg-turbo, download them to one directory.

Type: createrepo <directory>

Use a repo file such as this one:
[tmp]
name=tmp
baseurl=file:///tmp/rpm
enabled=1
gpgcheck=0

Type: yum upgrade

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list