645bb5b
Summary:        Fedora package repositories
645bb5b
Name:           fedora-repos
ae2f175
Version:        32
32f4788
Release:        0.7%{?_module_build:%{?dist}}
645bb5b
License:        MIT
270c89b
URL:            https://fedoraproject.org/
270c89b
645bb5b
Provides:       fedora-repos(%{version})
645bb5b
Requires:       system-release(%{version})
Mohan Boddu be22d0c
Requires:       fedora-repos-rawhide = %{version}-%{release}
7fe1864
Requires:       fedora-gpg-keys >= %{version}-%{release}
26a3771
Obsoletes:      fedora-repos-anaconda < 22-0.3
7b32bee
Obsoletes:      fedora-repos-modular < 29-0.6
7b32bee
Provides:       fedora-repos-modular = %{version}-%{release}
645bb5b
BuildArch:      noarch
645bb5b
270c89b
Source1:        archmap
270c89b
Source2:        fedora.repo
270c89b
Source3:        fedora-updates.repo
270c89b
Source4:        fedora-updates-testing.repo
270c89b
Source5:        fedora-rawhide.repo
270c89b
Source6:        fedora-cisco-openh264.repo
270c89b
270c89b
Source10:       RPM-GPG-KEY-fedora-7-primary
270c89b
Source11:       RPM-GPG-KEY-fedora-8-primary
270c89b
Source12:       RPM-GPG-KEY-fedora-8-primary-original
270c89b
Source13:       RPM-GPG-KEY-fedora-9-primary
270c89b
Source14:       RPM-GPG-KEY-fedora-9-primary-original
270c89b
Source15:       RPM-GPG-KEY-fedora-9-secondary
270c89b
Source16:       RPM-GPG-KEY-fedora-10-primary
270c89b
Source17:       RPM-GPG-KEY-fedora-11-primary
270c89b
Source18:       RPM-GPG-KEY-fedora-12-primary
270c89b
Source19:       RPM-GPG-KEY-fedora-13-primary
270c89b
Source20:       RPM-GPG-KEY-fedora-13-secondary
270c89b
Source21:       RPM-GPG-KEY-fedora-14-primary
270c89b
Source22:       RPM-GPG-KEY-fedora-14-secondary
270c89b
Source23:       RPM-GPG-KEY-fedora-15-primary
270c89b
Source24:       RPM-GPG-KEY-fedora-15-secondary
270c89b
Source25:       RPM-GPG-KEY-fedora-16-primary
270c89b
Source26:       RPM-GPG-KEY-fedora-16-secondary
270c89b
Source27:       RPM-GPG-KEY-fedora-17-primary
270c89b
Source28:       RPM-GPG-KEY-fedora-17-secondary
270c89b
Source29:       RPM-GPG-KEY-fedora-18-primary
270c89b
Source30:       RPM-GPG-KEY-fedora-18-secondary
270c89b
Source31:       RPM-GPG-KEY-fedora-19-primary
270c89b
Source32:       RPM-GPG-KEY-fedora-19-secondary
270c89b
Source33:       RPM-GPG-KEY-fedora-20-primary
270c89b
Source34:       RPM-GPG-KEY-fedora-20-secondary
270c89b
Source35:       RPM-GPG-KEY-fedora-21-primary
270c89b
Source36:       RPM-GPG-KEY-fedora-21-secondary
270c89b
Source37:       RPM-GPG-KEY-fedora-22-primary
270c89b
Source38:       RPM-GPG-KEY-fedora-22-secondary
270c89b
Source39:       RPM-GPG-KEY-fedora-23-primary
270c89b
Source40:       RPM-GPG-KEY-fedora-23-secondary
270c89b
Source41:       RPM-GPG-KEY-fedora-24-primary
270c89b
Source42:       RPM-GPG-KEY-fedora-24-secondary
270c89b
Source43:       RPM-GPG-KEY-fedora-25-primary
270c89b
Source44:       RPM-GPG-KEY-fedora-25-secondary
270c89b
Source45:       RPM-GPG-KEY-fedora-26-primary
270c89b
Source46:       RPM-GPG-KEY-fedora-26-secondary
270c89b
Source47:       RPM-GPG-KEY-fedora-27-primary
270c89b
Source48:       RPM-GPG-KEY-fedora-28-primary
270c89b
Source49:       RPM-GPG-KEY-fedora-29-primary
9928782
Source50:       RPM-GPG-KEY-fedora-30-primary
81ae6bc
Source51:       RPM-GPG-KEY-fedora-31-primary
e5d8ab4
Source52:       RPM-GPG-KEY-fedora-32-primary
5a7ce7c
Source53:       RPM-GPG-KEY-fedora-33-primary
270c89b
270c89b
Source100:      fedora-modular.repo
270c89b
Source101:      fedora-updates-modular.repo
270c89b
Source102:      fedora-updates-testing-modular.repo
270c89b
Source103:      fedora-rawhide-modular.repo
270c89b
Source104:      RPM-GPG-KEY-fedora-modularity
270c89b
c66776f
Source150:      RPM-GPG-KEY-fedora-iot-2019
Sinny Kumari 6efa142
Source151:      fedora.conf
c66776f
645bb5b
%description
645bb5b
Fedora package repository files for yum and dnf along with gpg public keys
645bb5b
645bb5b
%package rawhide
645bb5b
Summary:        Rawhide repo definitions
645bb5b
Requires:       fedora-repos = %{version}-%{release}
26a3771
Obsoletes:      fedora-release-rawhide <= 22-0.3
7b32bee
Obsoletes:      fedora-repos-rawhide-modular < 29-0.6
7b32bee
Provides:       fedora-repos-rawhide-modular = %{version}-%{release}
645bb5b
645bb5b
%description rawhide
645bb5b
This package provides the rawhide repo definitions.
645bb5b
645bb5b
Patrick Uiterwijk 90d89ea
%package -n fedora-gpg-keys
Patrick Uiterwijk 90d89ea
Summary:        Fedora RPM keys
Patrick Uiterwijk 90d89ea
Obsoletes:      fedora-release-rawhide <= 22-0.3
Patrick Uiterwijk 90d89ea
Patrick Uiterwijk 90d89ea
%description -n fedora-gpg-keys
Patrick Uiterwijk 90d89ea
This package provides the RPM signature keys.
Patrick Uiterwijk 90d89ea
Patrick Uiterwijk 90d89ea
Sinny Kumari 6efa142
%package ostree
Sinny Kumari 6efa142
Summary:        OSTree specific files
Sinny Kumari 6efa142
Sinny Kumari 6efa142
%description ostree
Sinny Kumari 6efa142
This package provides ostree specfic files like remote config from
Sinny Kumari 6efa142
where client's system will pull OSTree updates.
Sinny Kumari 6efa142
Sinny Kumari 6efa142
Sinny Kumari 6efa142
645bb5b
%prep
645bb5b
645bb5b
%build
645bb5b
645bb5b
%install
645bb5b
# Install the keys
645bb5b
install -d -m 755 $RPM_BUILD_ROOT/etc/pki/rpm-gpg
270c89b
install -m 644 %{_sourcedir}/RPM-GPG-KEY* $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
645bb5b
645bb5b
# Link the primary/secondary keys to arch files, according to archmap.
645bb5b
# Ex: if there's a key named RPM-GPG-KEY-fedora-19-primary, and archmap
645bb5b
#     says "fedora-19-primary: i386 x86_64",
645bb5b
#     RPM-GPG-KEY-fedora-19-{i386,x86_64} will be symlinked to that key.
645bb5b
pushd $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
645bb5b
for keyfile in RPM-GPG-KEY*; do
645bb5b
    key=${keyfile#RPM-GPG-KEY-} # e.g. 'fedora-20-primary'
270c89b
    arches=$(sed -ne "s/^${key}://p" %{_sourcedir}/archmap) \
645bb5b
        || echo "WARNING: no archmap entry for $key"
645bb5b
    for arch in $arches; do
645bb5b
        # replace last part with $arch (fedora-20-primary -> fedora-20-$arch)
645bb5b
        ln -s $keyfile ${keyfile%%-*}-$arch # NOTE: RPM replaces %% with %
645bb5b
    done
645bb5b
done
645bb5b
# and add symlink for compat generic location
645bb5b
ln -s RPM-GPG-KEY-fedora-%{version}-primary RPM-GPG-KEY-%{version}-fedora
645bb5b
popd
645bb5b
645bb5b
install -d -m 755 $RPM_BUILD_ROOT/etc/yum.repos.d
270c89b
for file in %{_sourcedir}/fedora*repo ; do
645bb5b
  install -m 644 $file $RPM_BUILD_ROOT/etc/yum.repos.d
645bb5b
done
645bb5b
Sinny Kumari 6efa142
# Install ostree remote config
Sinny Kumari 6efa142
install -d -m 755 $RPM_BUILD_ROOT/etc/ostree/remotes.d/
Sinny Kumari 6efa142
install -m 644 %{_sourcedir}/fedora.conf $RPM_BUILD_ROOT/etc/ostree/remotes.d/
645bb5b
645bb5b
%files
645bb5b
%dir /etc/yum.repos.d
645bb5b
%config(noreplace) /etc/yum.repos.d/fedora.repo
Mohan Boddu 9542f62
%config(noreplace) /etc/yum.repos.d/fedora-modular.repo
Mohan Boddu fc5e45e
%config(noreplace) /etc/yum.repos.d/fedora-cisco-openh264.repo
Mohan Boddu c82041b
%config(noreplace) /etc/yum.repos.d/fedora-updates.repo
Mohan Boddu c82041b
%config(noreplace) /etc/yum.repos.d/fedora-updates-testing.repo
Mohan Boddu c82041b
%config(noreplace) /etc/yum.repos.d/fedora-modular.repo
Mohan Boddu c82041b
%config(noreplace) /etc/yum.repos.d/fedora-updates-modular.repo
Mohan Boddu c82041b
%config(noreplace) /etc/yum.repos.d/fedora-updates-testing-modular.repo
Mohan Boddu c82041b
7b32bee
%files rawhide
7b32bee
%config(noreplace) /etc/yum.repos.d/fedora-rawhide.repo
Mohan Boddu 9542f62
%config(noreplace) /etc/yum.repos.d/fedora-rawhide-modular.repo
645bb5b
7b32bee
Patrick Uiterwijk 90d89ea
%files -n fedora-gpg-keys
Patrick Uiterwijk 90d89ea
%dir /etc/pki/rpm-gpg
270c89b
/etc/pki/rpm-gpg/RPM-GPG-KEY-*
Patrick Uiterwijk 90d89ea
7b32bee
Sinny Kumari 6efa142
%files ostree
Sinny Kumari 6efa142
%dir /etc/ostree/remotes.d/
Sinny Kumari 6efa142
/etc/ostree/remotes.d/fedora.conf
Sinny Kumari 6efa142
645bb5b
%changelog
32f4788
* Sat Feb 22 2020 Neal Gompa <ngompa13@gmail.com> - 32-0.7
32f4788
- Enable fedora-cisco-openh264 repo by default
32f4788
20f8921
* Wed Feb 19 2020 Adam Williamson <awilliam@redhat.com> - 32-0.6
20f8921
- Restore baseurl lines, but with example domain
20f8921
ae2f175
* Tue Feb 11 2020 Mohan Boddu <mboddu@bhujji.com> - 32-0.5
ae2f175
- Disable rawhide repos
ae2f175
- Enable fedora, updates, updates-testing repos
0ffaa0b
55b4e67
* Tue Feb 11 2020 Mohan Boddu <mboddu@bhujji.com> - 32-0.4
55b4e67
- Remove baseurl download.fp.o (puiterwijk)
55b4e67
- Enabling dnf countme
55b4e67
5a7ce7c
* Tue Jan 28 2020 Mohan Boddu <mboddu@bhujji.com> - 32-0.3
5a7ce7c
- Adding F33 key
5a7ce7c
a12c809
* Mon Aug 19 2019 Kevin Fenzi <kevin@scrye.com> - 32-0.2
a12c809
- Fix f32 key having extra spaces.
a12c809
e5d8ab4
* Tue Aug 13 2019 Mohan Boddu <mboddu@bhujji.com> - 32-0.1
e5d8ab4
- Adding F32 key
e5d8ab4
- Setup for rawhide being f32
e5d8ab4
7fe1864
* Tue Mar 12 2019 Vít Ondruch <vondruch@redhat.com> - 31-0.3
7fe1864
- Allow to use newer GPG keys, so Rawhide can be updated after branch.
7fe1864
Sinny Kumari 6efa142
* Thu Mar 07 2019 Sinny Kumari <skumari@redhat.com> - 31-0.2
Sinny Kumari 6efa142
- Create fedora-repos-ostree sub-package
Sinny Kumari 6efa142
8a02be3
* Tue Feb 19 2019 Tomas Hrcka <thrcka@redhat.com> - 31-0.1
8a02be3
- Setup for rawhide being f31
8a02be3
81ae6bc
* Mon Feb 18 2019 Mohan Boddu <mboddu@bhujji.com> - 30-0.4
81ae6bc
- Adding F31 key
81ae6bc
78cf06f
* Sat Jan 05 2019 Kevin Fenzi <kevin@scrye.com> - 30-0.3
82530f8
- Add fedora-7-primary to archmap. Fixes bug #1531957
78cf06f
- Remove failovermethod option in repos (augenauf(Florian H))
82530f8
c66776f
* Tue Nov 13 2018 Mohan Boddu <mboddu@bhujji.com> - 30-0.2
c66776f
- Adding fedora-iot-2019 key
c66776f
- Enable skip_if_unavailable for cisco-openh264 repo
c66776f
dcd53fb
* Tue Aug 14 2018 Mohan Boddu <mboddu@bhujji.com> - 30-0.1
dcd53fb
- Setup for rawhide being f30