[Bug 13] Review request: rpmfusion-package-config-smart - RPM Fusion configuration files for the Smart package manager

RPM Fusion Bugzilla noreply at rpmfusion.org
Wed Dec 3 13:06:35 CET 2008


http://bugzilla.rpmfusion.org/show_bug.cgi?id=13





--- Comment #5 from David Timms <dtimms at iinet.net.au>  2008-12-03 13:06:35 ---
(In reply to comment #4)
> I've updated the paths and split up the .channel files to match the way we
> split up the .repo files:
> SRPM:
> http://downloads.diffingo.com/rpmfusion/rpmfusion-package-config-smart-9-2.src.rpm

bugz in the .channel files:
---------------------------
rpmfusion-free-rawhide.channel:
l3: delete trailing disabled=yes

rpmfusion-nonfree-rawhide.channel:
l3,l9,l15: nonnonfree -> nonfree

With the existing sed command:   
sed -i 's/\$ARCH/%{_target_cpu}/'
$RPM_BUILD_ROOT%{_sysconfdir}/smart/channels/$(basename $channel) ,
just want to clarify that when the builder builds this, the mod is done to the
.channel files that make it into the arch specific.rpm. And then the %files
part of the spec does it's %config(noreplace) decision on whether to use the
name or append rpmnew as the user installs the package ?  {my initial thought
was that the sed would attempt to work on the filenames that are on users disk,
unexpectedly potentially modifying them if the match text was found in config
files already on disk}.

Also, with this arrangement, there will need to be equivalent .channel files
for F10 and F8, as well as EL-X 's that rf will support. Is there a way to
specify the release, like yum configs, and not have to have separate channel
files for each release ?  Or maybe with sed's like you have done for arch ?

I also remember thl tossing up whether it would be worth it to place the smart
configs into the main rpmfusion-*free-release packages. The biggest
disadvantage that I can see is that to properly own the .../channel directory,
the package would need to require smart. This would then cause all users to
install smart, whether or not they want to smart as the package manager. What
do you think ?
(In reply to comment #4)
> AFAIK smart doesn't support mirrorlists in the config file or multiple
> baseurls, so we're stuck with the main mirror.
> 
> I've updated the paths and split up the .channel files to match the way we
> split up the .repo files:
> SPEC:
> http://downloads.diffingo.com/rpmfusion/rpmfusion-package-config-smart.spec
> SRPM:
> http://downloads.diffingo.com/rpmfusion/rpmfusion-package-config-smart-9-2.src.rpm

$ rpmlint
/home/davidt/rpmbuild/SRPMS/rpmfusion-package-config-smart-9-2.src.rpm 
/home/davidt/rpmbuild/RPMS/i386/rpmfusion-package-config-smart-9-2.i386.rpm
rpmfusion-package-config-smart.i386: E: no-binary
2 packages and 0 specfiles checked; 1 errors, 0 warnings.
  - as before, that's OK since it's not a real binary package.


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


More information about the rpmfusion-developers mailing list