Soft dependencies guidelines
by Miroslav Suchý
Hi,
rpm 4.12, which include soft dependencies landed in F21.
Are there plan to reflect this in our current Packaging Guidelines? Or we will wait till this feature will be recognized
by dnf, PackageKit and others?
--
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
8 years, 5 months
vim add-on and arch-dependent-file-in-usr-share
by Michele Baldessari
Hi all,
I am packaging vim-unite [1] and vim-proc [2] (will submit
review BZs some later time). vim-proc needs a shared object
for its functionality and places it here:
/usr/share/vim/vimfiles/autoload/vimproc_unix.so
Since /usr/share is generally for arch-independent data [3],
I thought this was a no-no (rpmlint complains with
arch-dependent-file-in-usr-share). I did notice that at least
pitivi, coccinelle and rubygem-gherkin all ship such .so files
under /usr/share so I wondered if this is tolerated when it makes
sense (arch-independent plugins which also need a shared object)
or should I see if there are different approaches ?
>From a quick look on Debian as well, I could not find a single VIM
plugin that ships a .so file, so I'd need to see where I'd actually
place it. Create /usr/lib64/vim/add-ons/vim-proc or something similar?
This will probably need some coordination with the vim maintainers in such
case.
Any thoughts on this?
cheers,
Michele
[1] http://acksyn.org/files/rpms/vim-unite/
[2] http://acksyn.org/files/rpms/vim-proc/
[3] http://www.linuxbase.org/betaspecs/fhs/fhs.html#usrshareArchitectureindep...
--
Michele Baldessari <michele(a)acksyn.org>
C2A5 9DA3 9961 4FFB E01B D0BC DDD4 DCCB 7515 5C6D
8 years, 6 months
Packaging of /usr/share/doc/{%name}-{%version} directories not 100% clear
by Alexander Todorov
Hi guys,
I was looking into bug #1114586 and it reveals a significant number (400+) of
RPM packages which leave empty directories under /usr/share/doc when installed
with --excludedocs.
I've looked at a few of them and they had either
%dir %{_docdir}/%{name}-%{version}
%doc %{_docdir}/%{name}-%{version}/some_file
or
%doc %{_docdir}/%{name}-%{version}
in their spec files.
The ones which don't leave behind empty directories specify only the
documentation files, not the name-version directories as part of the file list.
In my test all 400+ directories under /usr/share/doc are empty, no files in
them. Obviously we don't need these directories either. It is very likely people
who use --excludedocs will complain about these empty directories as well.
The Packaging Guide doesn't say anything about these name-version directories,
whether they should be specified in the spec file or only the indivisual files
specified. I'd like to hear your opinion on this packaging situation before I go
ahead and file hundreds of bugs into Bugzilla.
Thanks,
Alex
8 years, 6 months
Summary/Minutes from today's FPC Meeting (2014-11-20 17:00 - 18:30 UTC)
by James Antill
======================
#fedora-meeting-1: fpc
======================
Meeting started by geppetto at 17:00:23 UTC. The full logs are available
at
http://meetbot.fedoraproject.org/fedora-meeting-1/2014-11-20/fpc.2014-11-...
.
Meeting summary
---------------
* Roll Call (geppetto, 17:00:23)
* #469 Unified bootstrapping (geppetto, 17:01:49)
* LINK: https://fedorahosted.org/fpc/ticket/469 (geppetto, 17:01:54)
* LINK: https://etherpad.mozilla.org/d2nV4zZM5V (mirek-hm, 17:38:13)
* LINK: https://fedorahosted.org/fpc/ticket/469 ... section
"Bootstrapping" ... %{!? with_bootstrap: %global bootstrap 1}
(racor, 17:48:29)
* ACTION: Unified bootstrapping, with edits during meeting. (+1:6,
0:0, -1:0) (geppetto, 18:06:41)
* Open Floor (geppetto, 18:07:48)
* LINK: https://fedorahosted.org/fpc/report/14 (tibbs|w, 18:13:51)
Meeting ended at 18:30:09 UTC.
Action Items
------------
* Unified bootstrapping, with edits during meeting. (+1:6, 0:0, -1:0)
Action Items, by person
-----------------------
* **UNASSIGNED**
* Unified bootstrapping, with edits during meeting. (+1:6, 0:0, -1:0)
People Present (lines said)
---------------------------
* geppetto (76)
* mirek-hm (33)
* tibbs|w (30)
* mbooth (26)
* racor (16)
* tomspur (13)
* orionp (11)
* zodbot (10)
* Rathann (9)
* limburgher (8)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
8 years, 6 months
Schedule for Thursday's FPC Meeting (2014-11-20 17:00 UTC)
by James Antill
Following is the list of topics that will be discussed in the FPC
meeting Thursday at 2014-11-20 17:00 UTC in #fedora-meeting-1 on
irc.freenode.net.
Local time information (via. rktime):
2014-11-20 09:00 Thu US/Pacific PST
2014-11-20 12:00 Thu US/Eastern EST
2014-11-20 17:00 Thu UTC <-
2014-11-20 17:00 Thu Europe/London <-
2014-11-20 18:00 Thu Europe/Paris CET
2014-11-20 18:00 Thu Europe/Berlin CET
2014-11-20 22:30 Thu Asia/Calcutta IST
------------------new day----------------------
2014-11-21 01:00 Fri Asia/Singapore SGT
2014-11-21 01:00 Fri Asia/Hong_Kong HKT
2014-11-21 02:00 Fri Asia/Tokyo JST
2014-11-21 03:00 Fri Australia/Brisbane EST
Links to all tickets below can be found at:
https://fedorahosted.org/fpc/report/12
= Followups =
#topic #382 Go Packaging Guidelines Draft
.fpc 382
https://fedorahosted.org/fpc/ticket/382
(more info. needed)
#topic #454 Bundling exception for php-phpoffice-phpexcel
.fpc 454
https://fedorahosted.org/fpc/ticket/454
(needed policy, feature not accepted yet)
#topic #466 recommend Privatedevices and PrivateNetwork in systemd
guidelines
.fpc 466
https://fedorahosted.org/fpc/ticket/466
(needinfo, just package dep?)
#topic #468 Temporary modernizr packing exception for kimchi
.fpc 468
https://fedorahosted.org/fpc/ticket/468
= New business =
#topic #469 Unified bootstrapping
.fpc 469
https://fedorahosted.org/fpc/ticket/469
= Open Floor =
For more complete details, please visit each individual ticket. The
report of the agenda items can be found at:
https://fedorahosted.org/fpc/report/12
If you would like to add something to this agenda, you can reply to
this e-mail, file a new ticket at https://fedorahosted.org/fpc,
e-mail me directly, or bring it up at the end of the meeting, during
the open floor topic. Note that added topics may be deferred until
the following meeting.
8 years, 6 months
Summary/Minutes from today's FPC Meeting (2014-11-13 17:00 - 18:40 UTC)
by James Antill
======================
#fedora-meeting-1: fpc
======================
Meeting started by geppetto at 17:01:19 UTC. The full logs are available
at
http://meetbot.fedoraproject.org/fedora-meeting-1/2014-11-13/fpc.2014-11-...
.
Meeting summary
---------------
* Roll Call (geppetto, 17:01:20)
* #467 Consider requiring all files in /usr to be world-readable
(geppetto, 17:06:06)
* LINK: https://fedorahosted.org/fpc/ticket/467 (geppetto, 17:06:15)
* LINK: http://fpaste.org/150547/89981314/ (tibbs, 17:30:28)
* LINK: http://fpaste.org/150558/01488141/ (geppetto, 17:58:30)
* #468 Temporary modernizr packing exception for kimchi (geppetto,
18:14:12)
* LINK: https://fedorahosted.org/fpc/ticket/468 (geppetto, 18:14:18)
* LINK: https://bugzilla.redhat.com/show_bug.cgi?id=1126990 is the
review for kimchi (orionp, 18:16:24)
* ACTION: Just package modernizr, instead of bundling it. (geppetto,
18:17:33)
* ACTION: If still desire to bundle it, please answer the std.
bundling questions. (geppetto, 18:18:02)
* Open Floor (geppetto, 18:18:16)
* #471 Bootstrap exception for Gradle (geppetto, 18:21:13)
* ACTION: Bootstrap exception for Gradle (+1:5, 0:0, -1:0) (geppetto,
18:27:30)
* Open Floor (geppetto, 18:27:36)
* LINK:
http://pkgs.fedoraproject.org/cgit/activemq-cpp.git/tree/activemq-cpp.spe...
:/ (tomspur, 18:31:18)
Meeting ended at 18:40:18 UTC.
Action Items
------------
* Just package modernizr, instead of bundling it.
* If still desire to bundle it, please answer the std. bundling
questions.
* Bootstrap exception for Gradle (+1:5, 0:0, -1:0)
Action Items, by person
-----------------------
* **UNASSIGNED**
* Just package modernizr, instead of bundling it.
* If still desire to bundle it, please answer the std. bundling
questions.
* Bootstrap exception for Gradle (+1:5, 0:0, -1:0)
People Present (lines said)
---------------------------
* geppetto (94)
* tibbs (53)
* Rathann (29)
* orionp (17)
* mbooth (16)
* tomspur (16)
* limburgher (15)
* racor (13)
* zodbot (11)
* SmootherFrOgZ (2)
* jsmith (2)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
8 years, 6 months
Schedule for Thursday's FPC Meeting (2014-11-13 17:00 UTC)
by James Antill
Following is the list of topics that will be discussed in the FPC
meeting Thursday at 2014-11-13 17:00 UTC in #fedora-meeting-1 on
irc.freenode.net.
Local time information (via. rktime):
2014-11-13 09:00 Thu US/Pacific PST
2014-11-13 12:00 Thu US/Eastern EST
2014-11-13 17:00 Thu UTC <-
2014-11-13 17:00 Thu Europe/London <-
2014-11-13 18:00 Thu Europe/Paris CET
2014-11-13 18:00 Thu Europe/Berlin CET
2014-11-13 22:30 Thu Asia/Calcutta IST
------------------new day----------------------
2014-11-14 01:00 Fri Asia/Singapore SGT
2014-11-14 01:00 Fri Asia/Hong_Kong HKT
2014-11-14 02:00 Fri Asia/Tokyo JST
2014-11-14 03:00 Fri Australia/Brisbane EST
Links to all tickets below can be found at:
https://fedorahosted.org/fpc/report/12
= Followups =
#topic #382 Go Packaging Guidelines Draft
.fpc 382
https://fedorahosted.org/fpc/ticket/382
(more info. needed)
#topic #454 Bundling exception for php-phpoffice-phpexcel
.fpc 454
https://fedorahosted.org/fpc/ticket/454
(needed policy, feature not accepted yet)
#topic #466 recommend Privatedevices and PrivateNetwork in systemd
guidelines
.fpc 466
https://fedorahosted.org/fpc/ticket/466
= New business =
#topic #467 Consider requiring all files in /usr to be world-readable
.fpc 467
https://fedorahosted.org/fpc/ticket/467
#topic #468 Temporary modernizr packing exception for kimchi
.fpc 468
https://fedorahosted.org/fpc/ticket/468
= Open Floor =
For more complete details, please visit each individual ticket. The
report of the agenda items can be found at:
https://fedorahosted.org/fpc/report/12
If you would like to add something to this agenda, you can reply to
this e-mail, file a new ticket at https://fedorahosted.org/fpc,
e-mail me directly, or bring it up at the end of the meeting, during
the open floor topic. Note that added topics may be deferred until
the following meeting.
8 years, 6 months
Schedule for Thursday's FPC Meeting (2014-11-06 17:00 UTC)
by James Antill
Following is the list of topics that will be discussed in the FPC
meeting Thursday at 2014-11-06 17:00 UTC in #fedora-meeting-1 on
irc.freenode.net.
Local time information (via. rktime):
2014-11-06 09:00 Thu US/Pacific PST
2014-11-06 12:00 Thu US/Eastern EST
2014-11-06 17:00 Thu UTC <-
2014-11-06 17:00 Thu Europe/London <-
2014-11-06 18:00 Thu Europe/Paris CET
2014-11-06 18:00 Thu Europe/Berlin CET
2014-11-06 22:30 Thu Asia/Calcutta IST
------------------new day----------------------
2014-11-07 01:00 Fri Asia/Singapore SGT
2014-11-07 01:00 Fri Asia/Hong_Kong HKT
2014-11-07 02:00 Fri Asia/Tokyo JST
2014-11-07 03:00 Fri Australia/Brisbane EST
Links to all tickets below can be found at:
https://fedorahosted.org/fpc/report/12
= Followups =
#topic #382 Go Packaging Guidelines Draft
.fpc 382
https://fedorahosted.org/fpc/ticket/382
(more info. needed)
#topic #454 Bundling exception for php-phpoffice-phpexcel
.fpc 454
https://fedorahosted.org/fpc/ticket/454
(needed policy, feature not accepted yet)
#topic #466 recommend Privatedevices and PrivateNetwork in systemd
guidelines
.fpc 466
https://fedorahosted.org/fpc/ticket/466
= New business =
#topic #467 Consider requiring all files in /usr to be world-readable
.fpc 467
https://fedorahosted.org/fpc/ticket/467
#topic #468 Temporary modernizr packing exception for kimchi
.fpc 468
https://fedorahosted.org/fpc/ticket/468
= Open Floor =
For more complete details, please visit each individual ticket. The
report of the agenda items can be found at:
https://fedorahosted.org/fpc/report/12
If you would like to add something to this agenda, you can reply to
this e-mail, file a new ticket at https://fedorahosted.org/fpc,
e-mail me directly, or bring it up at the end of the meeting, during
the open floor topic. Note that added topics may be deferred until
the following meeting.
8 years, 7 months
Expanding RPM macros
by Peter Lemenkov
Hello All!
One of my packages defines an essential information regarding the API
(API version string) during the %build stage. It's possible to extract
this information by invoking a binary from the %{buildroot} with
certain parameters. I'd love to add this information to the spec-file
during to Provides. Something like
Provides: %{name}_api_ver = %(%{buildroot}/bin/app --some params)
Unfortunately it seems that rpmbuild tries to expand all macros at the
very initial stage when this binary isn't available yet (not built
yet). I've tied playing with %{eval: ...} but without any luck.
Could anyone tell me if it's possible at all? And if possible how
could this be achieved?
Also I wonder why even rpmbuild -bs performs macro expansion? I
thought it should just pack spec-file and sources/patches together.
--
With best regards, Peter Lemenkov.
8 years, 7 months