[Bug 576023] Review Request: libwebcam - user-space configuration of the uvcvideo driver

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 14 08:37:54 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=576023

--- Comment #14 from Hans de Goede <hdegoede at redhat.com> 2010-07-14 04:37:51 EDT ---
Hi,

(In reply to comment #13)
> (In reply to comment #12)
> > Can you please create 1 single spec file which builds both libwebcam and
> > uvcdynctrl, and then mark bug 613857 as a duplicate of this one?
> 
> Do you have a preference on name? I left them split so I could have a
> "libwebcam" and "uvcdynctrl" package name.

Ah, see below.

> If they are merged I would have to
> have "libwebcam-uvcdynctrl" or "uvcdynctrl-libs" package name, which I wasn't
> fond of.

No that is not necessary, by adding the "-n" option to all places where you
add a sub package name, the $srcrpmname- prefix gets removed.

So lets name the src.rpm / main package libwebcam. If you then want to add a
sub-package named just uvcdynctrl rather then libwebcam-uvcdynctrl, put the
following in the spec:

%package -n uvcdynctrl
Summary: ...
Requires: libwebcam = %{version}-%{release}

%description -n uvcdynctrl
Development libraries and headers for libwebcam.

...

%post -n uvcdynctrl
<stuff here if needed>

%files -n uvcdynctrl


> I realize they rely on each other and are from one SCM.
> 
> I propose "libwebcam-*" and have a Provides for "uvcdynctrl" to
> "libwebcam-uvcdynctrl".
>

Not necessary, see above :)

> I will also take a moment to write a autobiography:
> The open source Idea has inspired me for about the past 10 years when I first
> downloaded a Linux distro. A few years ago I moved beyond having it as a hobby
> into using it for my $DAYJOB as a C programmer, which I am still active in. My
> experiences include time with OpenSSL, libxml, GTK, MinGW, and many more open
> source efforts. I've also written Debian packages for my Nokia N900 (stopish
> app and a FLAC metadata plugin). I give back to Fedora and other open source
> communities when I can with discussions and, yes, patches. I currently have
> several packages across the Red Hat Bugzilla and others that have patches
> either accepted or in limbo. My FAS account is "mooninite" and you can see my
> activities as a semi-active QA member. I also try to stay active in the mailing
> lists as I use many Fedora/Red Hat packaged tools in my $DAYJOB so I am
> involved in everything from koji/build-sys to devel to users and to test. I'm
> not one to fancy any credit or glory so my name may not be as popular as some
> we all know, but I do wish to contribute where and when I can.    

Nice to meet you!

Regards,

Hans

-- 
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