Following is the list of topics that will be discussed in the FPC
meeting Thursday at 2019-08-15 16:00 UTC in #fedora-meeting-1 on irc.freenode.net.
Local time information (via. uitime):
================= Day: Thursday ==================
2019-08-15 09:00 PDT US/Pacific
2019-08-15 12:00 EDT --> US/Eastern <--
2019-08-15 16:00 UTC UTC
2019-08-15 17:00 BST Europe/London
2019-08-15 18:00 CEST Europe/Berlin
2019-08-15 18:00 CEST Europe/Paris
2019-08-15 21:30 IST Asia/Calcutta
---------------- New Day: Friday -----------------
2019-08-16 00:00 HKT Asia/Hong_Kong
2019-08-16 00:00 +08 Asia/Singapore
2019-08-16 01:00 JST Asia/Tokyo
2019-08-16 02:00 AEST Australia/Brisbane
Links to all tickets below can be found at:
https://pagure.io/packaging-committee/issues?status=Open&tags=meeting
= Followups =
#topic #902 Cleanup & enhance spec files
.fpc 902
https://pagure.io/packaging-committee/issue/902
#topic #904 Caret versioning
.fpc 904
https://pagure.io/packaging-committee/issue/904
#topic #907 Which %__foo macros for executables are acceptable?
.fpc 907
https://pagure.io/packaging-committee/issue/907
#topic #909 Suggest that linting/measuring-coverage is not for %check
.fpc 909
https://pagure.io/packaging-committee/issue/909
#topic #914 Automatic R runtime dependencies
.fpc 914
https://pagure.io/packaging-committee/issue/914
= Open Floor =
For more complete details, please visit each individual ticket. The
report of the agenda items can be found at:
https://pagure.io/packaging-committee/issues?status=Open&tags=meeting
If you would like to add something to this agenda, you can:
* Reply to this e-mail
* File a new ticket at: https://pagure.io/packaging-committee
* E-mail me directly
* 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.
Hi,
A fonts packaging policy rewrite proposal has been pushed to FPC today:
https://pagure.io/packaging-committee/pull-request/934
It should be clearer, more opinionated, and take into account:
– updates of The OpenType standard
– variable fonts
– web fonts
– upstream depreciation of non OpenType formats: final stages of the
Harfbuzz consolidation decided at the 2006 Text Layout summit
https://www.freedesktop.org/wiki/TextLayout/
– appstream & fonts
– weak dependencies
– and probably more I forget here
It is based on the new fonts-rpm-macros project for automation:
This project builds on tooling enhancements in redhat-rpm-config and rpm
itself, done during the past two years for the Forge and Go sets of
packaging macros. It started 2 years ago as a fork of fontpackages,
which is the core of our current fonts packaging guidelines.
It will require putting the fonts-srpm-macros package in the default
build root, like is done for other domain-specific packaging macro
sets.
Major additions:
– better documentation (clearer and more complete)
– better automation (less packager hassle for better and more complete
results)
Major removals:
– tools and scripts
– fixing metadata with ttname
Mostly because no one seems willing to maintain those scripts, or port
ttname to python 3.
https://copr.fedorainfracloud.org/coprs/nim/fonts-rpm-macros/builds/
showcases the new policy on 62 real-world source packages, generating
139 installation packages. Some of those are badly delayed updates to
Fedora packages, others are brand-new packages ready for Fedora
inclusion. They include major font packages such as Stix, DejaVu, Droid,
IBM Plex.
Existing Fedora packages will continue to build, the old fontpackages
macros are grandfathered in fonts-rpm-macros for now. They will be
removed in a few years to give packagers time to apply the new
guidelines.
Regards,
--
Nicolas Mailhot
Hello. I was hit by a infamous "replace a symlink to a directory with a
directory" problem in https://bugzilla.redhat.com/show_bug.cgi?id=1787079
/usr/lib/python3.8/site-packages/notebook/static/components/moment
This was a symbolic link, but now it is a directory. The error is:
Error: Transaction test error:
file
/usr/lib/python3.8/site-packages/notebook/static/components/moment/min/locales.js
from install of python3-notebook-6.0.2-2.fc32.noarch conflicts with file from
package js-moment-2.18.1-6.fc30.noarch
file
/usr/lib/python3.8/site-packages/notebook/static/components/moment/min/moment-with-locales.js
from install of python3-notebook-6.0.2-2.fc32.noarch conflicts with file from
package js-moment-2.18.1-6.fc30.noarch
file
/usr/lib/python3.8/site-packages/notebook/static/components/moment/moment.js
from install of python3-notebook-6.0.2-2.fc32.noarch conflicts with file from
package js-moment-2.18.1-6.fc30.noarch
file /usr/lib/python3.8/site-packages/notebook/static/components/moment from
install of python3-notebook-6.0.2-2.fc32.noarch conflicts with file from package
python3-notebook-6.0.2-1.fc32.noarch
When I add:
$ rpm -q --scripts -p python3-notebook-6.0.2-3.fc32.noarch.rpm
pretrans scriptlet (using <lua>):
path = "/usr/lib/python3.8/site-packages/notebook/static/components/moment"
st = posix.stat(path)
if st and st.type == "link" then
os.remove(path)
end
Code: https://src.fedoraproject.org/rpms/python-notebook/pull-request/17
I still get:
Error: Transaction test error:
file
/usr/lib/python3.8/site-packages/notebook/static/components/moment/min/locales.js
from install of python3-notebook-6.0.2-3.fc32.noarch conflicts with file from
package js-moment-2.18.1-6.fc30.noarch
file
/usr/lib/python3.8/site-packages/notebook/static/components/moment/min/moment-with-locales.js
from install of python3-notebook-6.0.2-3.fc32.noarch conflicts with file from
package js-moment-2.18.1-6.fc30.noarch
file
/usr/lib/python3.8/site-packages/notebook/static/components/moment/moment.js
from install of python3-notebook-6.0.2-3.fc32.noarch conflicts with file from
package js-moment-2.18.1-6.fc30.noarch
What am I doing wrong?
Note that I have tried to add this workaround instead:
mv moment moment.bundled
ln -vfs moment.bundled moment
But that clears the update path from 6.0.2-1, but breaks it from 6.0.2-2.
Error: Transaction test error:
file /usr/lib/python3.8/site-packages/notebook/static/components/moment from
install of python3-notebook-6.0.2-3.fc32.noarch conflicts with file from package
python3-notebook-6.0.2-2.fc32.noarch
And I would need to add the other (uglier) scriptlet to replace a directory with
a symbolic link :(
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
Hello,
we are considering to add a %pycached macro to be used in the %files section:
https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/37
We'd like to receive feedback. We plan to add it to rawhide and backport it to
all Fedoras + EPEL7+.
Usage:
%files
...
%pycached %{python3_sitelib}/foo.py
This will list:
/usr/lib/python3.8/site-packages/foo.py
/usr/lib/python3.8/site-packages/__pycache__/foo.cpython-38{,.opt-?}.pyc
Assuming the Python 3 version is 3.8.
The bytecode files are globbed, their presence is not checked.
This will fail:
%pycached %{python3_sitelib}/foo
error: %pycached can only be used with paths explicitly ending with .py
And so will any of this:
%pycached %{python3_sitelib}/*
%pycached %{python3_sitelib}/foo.*
%pycached %{python3_sitelib}/foo.p?
%pycached %{python3_sitelib}/foo.?y
%pycached %{python3_sitelib}/foo.??
But this will work:
%pycached %{python3_sitelib}/foo*.py
And it will generate the following globs:
/usr/lib/python3.8/site-packages/foo*.py
/usr/lib/python3.8/site-packages/__pycache__/foo*.cpython-38{,.opt-?}.pyc
When used with paths that include Python 3 version, it globs with the version:
%pycached /opt/python3.10/foo.py
Generates:
/opt/python3.10/foo.py
/opt/python3.10/__pycache__/foo.cpython-310{,.opt-?}.pyc
While paths without version have less strict globs:
%pycached /custom/foo.py
/custom/foo.py
/custom/__pycache__/foo.cpython-3*{,.opt-?}.pyc
This will generate a warning in RPM build:
warning: File listed twice: /custom/__pycache__/foo.cpython-38.opt-1.pyc
However it ensures the optimized bytecode is there.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
Following is the list of topics that will be discussed in the FPC
meeting Thursday at 2019-12-05 17:00 UTC in #fedora-meeting-1 on irc.freenode.net.
Local time information (via. uitime):
================= Day: Thursday ==================
2019-12-05 09:00 PST US/Pacific
2019-12-05 12:00 EST --> US/Eastern <--
2019-12-05 17:00 GMT Europe/London
2019-12-05 17:00 UTC UTC
2019-12-05 18:00 CET Europe/Berlin
2019-12-05 18:00 CET Europe/Paris
2019-12-05 22:30 IST Asia/Calcutta
---------------- New Day: Friday -----------------
2019-12-06 01:00 HKT Asia/Hong_Kong
2019-12-06 01:00 +08 Asia/Singapore
2019-12-06 02:00 JST Asia/Tokyo
2019-12-06 03:00 AEST Australia/Brisbane
Links to all tickets below can be found at:
https://pagure.io/packaging-committee/issues?status=Open&tags=meeting
= Followups =
#topic #907 Which %__foo macros for executables are acceptable?
.fpc 907
https://pagure.io/packaging-committee/issue/907
#topic #909 Suggest that linting/measuring-coverage is not for %check
.fpc 909
https://pagure.io/packaging-committee/issue/909
#topic #935 Fonts packaging policy rewrite
.fpc 935
https://pagure.io/packaging-committee/issue/935https://pagure.io/packaging-committee/pull-request/934
= Pull Requests =
#topic #814 Add SELinux Independent Policy Guidelines
https://pagure.io/packaging-committee/pull-request/814
= Open Floor =
For more complete details, please visit each individual ticket. The
report of the agenda items can be found at:
https://pagure.io/packaging-committee/issues?status=Open&tags=meeting
If you would like to add something to this agenda, you can:
* Reply to this e-mail
* File a new ticket at: https://pagure.io/packaging-committee
* E-mail me directly
* 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.