rpm and %find_lang macro: odd behavior
by Mattia Verga
While trying to upgrade kstars to the latest version I'm seeing an odd behavior of rpm filelist and the %find_lang macro.
After having set '%find_lang kstars --with-kde' in the install section, the documentation directories are correctly listed in the kstars.lang file:
%lang(en) /usr/share/doc/HTML/en/kstars
%lang(de) /usr/share/doc/HTML/de/kstars
%lang(sv) /usr/share/doc/HTML/sv/kstars
%lang(es) /usr/share/doc/HTML/es/kstars
%lang(uk) /usr/share/doc/HTML/uk/kstars
%lang(pt) /usr/share/doc/HTML/pt_BR/kstars
%lang(nl) /usr/share/doc/HTML/nl/kstars
%lang(ca) /usr/share/doc/HTML/ca/kstars
%lang(it) /usr/share/doc/HTML/it/kstars
But this doesn't seem sufficient to rpm to package those files:
Installed (but unpackaged) file(s) found:
/usr/share/doc/HTML/it/kstars/Add_Object_to_Session_plan.png
/usr/share/doc/HTML/it/kstars/Add_Object_to_Session_plan.png
/usr/share/doc/HTML/it/kstars/KStars_Neptune.png
/usr/share/doc/HTML/it/kstars/KStars_Neptune.png
[...]
I need to manually add '%{_kf5_docdir}/HTML/*/kstars/*' to the %files section to build the package successfully.
Is this how it's supposed to work? It seems that all the lines '%lang(xx) /usr/share/doc/HTML/it/kstars' in the .language files are treated like '%dir %lang(xx) /usr/share/doc/HTML/it/kstars' and don't include directories content.
6 years, 7 months
Summary/Minutes from today's FPC Meeting (2017-09-06 17:00 - 17:55 UTC)
by James Antill
======================
#fedora-meeting-2: fpc
======================
Meeting started by geppetto at 17:00:36 UTC. The full logs are available
at
https://meetbot.fedoraproject.org/fedora-meeting-2/2017-09-06/fpc.2017-09...
.
Meeting summary
---------------
* Roll Call (geppetto, 17:00:36)
* Schedule (geppetto, 17:10:30)
* LINK:
https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproje...
(geppetto, 17:10:35)
* #713 Forward-looking conditionals by default (geppetto, 17:13:12)
* ACTION: ignatenkobrain To write a draft for changing the default to
enable python3 when no distro. macros are in use (geppetto,
17:35:25)
* Open Floor (geppetto, 17:41:55)
Meeting ended at 17:55:26 UTC.
Action Items
------------
* ignatenkobrain To write a draft for changing the default to enable
python3 when no distro. macros are in use
Action Items, by person
-----------------------
* ignatenkobrain
* ignatenkobrain To write a draft for changing the default to enable
python3 when no distro. macros are in use
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* tibbs (56)
* geppetto (40)
* ignatenkobrain (34)
* limburgher (17)
* zodbot (10)
* sgallagh (8)
* Rathann (7)
* orionp (1)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
6 years, 7 months
Re: Verifying sources against gpg signature during RPM build ?
by Igor Gnatenko
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Mon, 2017-09-04 at 11:29 +0100, Daniel P. Berrange wrote:
> A number of packages that I maintain have GPG signatures provided
> alongside
> the sources for new releases. Is there any best pratice approach /
> RPM macro
> magic for verifying the GPG signature of sources during build, or are
> packagers just (re)inventing the wheel each time ?
There is some draft[0] available, but I can't find FPC ticket on it.
>
> Regards,
> Daniel
> --
> > : https://berrange.com
> > -o- https://www.flickr.com/photos/dberrange :|
> > : https://libvirt.org
> > -o- https://fstop138.berrange.com :|
> > : https://entangle-photo.org
> > -o- https://www.instagram.com/dberrange :|
>
[0] https://fedoraproject.org/wiki/PackagingDrafts:GPGSignatures
- --
- -Igor Gnatenko
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAlmtNhAACgkQaVcUvRu8
X0zULg/+NFtXY54w+MEmkv8OHCyXvHnyMhJWKLYnNIncs7pwBuVWWS6ZbxfcbEXC
7r+lKlhRmMEDbnmW8P4lzSzfNh3njiq8MH23w6DT6m9bbh+UeSYoZ49lFoARM63X
ltNtcHd53h8+8CcX7I5WdlWY48wqwZZU/qYU7pE0ZvyPrt0l53IFGujjUw76bDdm
H0VyM1F4tVW0Tae+uIwtK1woQEN4uGigHBR3KYatEi/xdKnCEriWL2gS7IZrn3Ek
vddr7hXaNWuUid79SxsYvA6Q4gpEBLlRrCpeTVCJgTZhY9bIkghfid4p3ZA022sS
TZAVvwYGC94DOePTOvxERZLp1wNZzxQRXBGdxMryVwetZK+d+qHc+Bb+owx7fTVg
WBLTnp48G/KCLWiVyV817fq/S8Nn/jqucF3ool3k91DDD4McNFYGqigqflYe41jy
9hLP6Pzb7RCxR2Nk+pZrfe8Zwk6DRO3Y6sZuFQTBVgxyxinIaEQ+kXOreW6wXi7J
mgvJ0QD4X8+i5++yMFPBau5PQxdojJm/rzYLm9ePJsUdS/vg0tx2sLUh2YVwsbC9
rRlLN7ziegv7YCJK1uDi60QwOzRLgRWwKUVhj5MNKPlUMXaepOFj3nt66j+jBD/U
Be18rCG6vJAR4796Gziy8a+ueu2rN3F+QiIYvm9EtuWz/DZzwP0=
=Epz5
-----END PGP SIGNATURE-----
6 years, 7 months