.NET Core Fedora RPM packages
This repository contains the spec files for building .NET Core RPM's.
These are the base for what will hopefully become the official .NET Core packages in Fedora.
These packages are maintained by the Fedora DotNet SIG (Special Interest Group). You can find out more about the DotNet SIG at:
Packages from this repository are available the DotNet SIG copr at https://copr.fedorainfracloud.org/coprs/g/dotnet-sig/dotnet/
Please see the copr repository for steps on how to install the packages and use them.
Please report any issues here.
/usr/lib64/dotnetYou will need credentials and permissions to build in copr.
copr-cli commands. See
https://copr.fedorainfracloud.org/api/ for how to get a token.Fork the dotnet-sig repo via copr. You should now have a repo with the web url https://pagure.io/fork/$USER/dotnet-2-2
Checkout the forked repository
git clone ssh://git@pagure.io/forks/$USER/dotnet-2-2.gitcd dotnet-2-2Bump version/release in the spec file. Add a Changelog. Make sure
the Source tag corresponds to the new tarball name, if there is a
new tarball.
./update-release script to
do everything. For example: ./update-release 2.2.3 2.2.105Do local builds:
fedpkg localFix any errors that come up and rebuild until it works locally.
Upload the new tarball to a public URL, if there is a new tarball. I use:
scp dotnet-2.2.100.tar.gz omajid.fedorapeople.org:public_html/dotnet/Make sure spectool -g /path/to/dotnet.spec can download this
tarball from the public URL.
Commit the changes to the git repo and do a build on copr.
git add # any new files, such as new patchesgit remove # old files, such as old patchesgit commit -agit push./copr-buildIf it fails, update spec file/patches and rebuild with the same set of steps.
Pull down the packages from copr, and install them:
dnf copr enable @dotnet-sig/dotnetdnf install dotnet-sdk-2.2OR, if you already have the packages installed:
dnf upgrade 'dotnet*'Make sure it installs the version you just built. Sometimes it takes a few minutes to an hour for the latest version to show up in the copr repos.
Run some smoke tests
dotnet new console -o ConsoleApplicationdotnet rundotnet publish -c Release -r linux-x64