This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import bugzilla | |
import sys | |
import logging | |
assert sys.version_info[0] > 2, 'Needs Python 3' | |
PKG = sys.argv[1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Copyright (c) 2020-2021 Fedora Project | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%spdx() %{lua: | |
local licenses = require 'fedora.licenses' | |
local expr = rpm.expand('%*') | |
local function convert(spdx) | |
if spdx == '' then | |
return '' | |
end | |
local fedoras = licenses.spdx2fedora[spdx] | |
if fedoras == nil then | |
rpm.expand('%{warn:Unknown SPDX license "' .. spdx .. '", using literally}') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import functools | |
import sys | |
import dnf | |
import hawkey | |
DNF_CACHEDIR = "_dnf_cache_dir" | |
ARCH = "x86_64" | |
METALINK = "https://mirrors.fedoraproject.org/metalink" | |
KOJI = "http://kojipkgs.fedoraproject.org" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer