diff --git a/python-pypet.spec b/python-pypet.spec index b3fa40d..17883a7 100644 --- a/python-pypet.spec +++ b/python-pypet.spec @@ -21,7 +21,18 @@ Version: 0.5.2 Release: %autorelease Summary: Parameter exploration toolbox -License: BSD +# The entire source is BSD-3-Clause, except: +# +# CC0-1.0: +# - ciscripts/appveyor/install.ps1 +# +# While the CI script is clearly code, and CC0-1.0 is allowed only for content +# in Fedora, the file is covered by the exception for pre-existing code files +# in +# https://gitlab.com/fedora/legal/fedora-license-data/-/issues/91#note_1151947383. +# Furthermore, we remove the file in %%prep to show that it does not contribute +# to the license of the binary RPMs. +License: BSD-3-Clause URL: https://github.com/SmokinCaterpillar/pypet Source: %{url}/archive/%{version}/pypet-%{version}.tar.gz @@ -65,8 +76,9 @@ Documentation for %{name}. %prep %autosetup -n pypet-%{version} rm -rf pypet.egg-info - find . -type f -name .gitignore -print -delete +# This file is CC0-1.0. Remove it to show it doesn’t contribute to the build. +rm -v ciscripts/appveyor/install.ps1 %build %py3_build