-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathunitedrpms.spec
136 lines (97 loc) · 4.37 KB
/
unitedrpms.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
%global target_arch x86_64
Name: unitedrpms
Version: %{fedora}
Release: 20%{?dist}
Summary: UnitedRPMs Repository Configuration
Group: System Environment/Base
License: GPLv3
URL: https://unitedrpms.github.io/
Source0: https://raw.githubusercontent.com/UnitedRPMs/unitedrpms/master/unitedrpms-rawhide.repo
Source1: https://raw.githubusercontent.com/UnitedRPMs/unitedrpms/master/unitedrpms.repo
Source2: https://raw.githubusercontent.com/UnitedRPMs/unitedrpms/master/URPMS-GPG-PUBLICKEY-Fedora
BuildArch: noarch
Recommends: unitedrpms-appstream-data
%description
UnitedRPMs is the solution for people with unstable Fedora distributions,
increase technical skills, create a Copr-like build system for package with
licensing problems. UnitedRPMs it's not a branch maintenance of other projects,
it is only a road to give the user a fast solution without fool bureaucracy
where everyone can help.
This package contains the UnitedRPMs GPG key, which holds
software that is not considered as Open Source Software according to the
Fedora packaging guidelines.
%prep
echo "Nothing to prep"
%build
echo "Nothing to build"
%install
# Create dirs
install -d -m755 \
$RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg \
$RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
# GPG Key
%{__install} -Dp -m644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/pki/rpm-gpg
# Yum .repo files
%if 0%{?fedora} <= 36
%{__install} -p -m644 %{S:1} $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
%else
# echo rawhide
%{__install} -p -m644 %{S:0} $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d
%endif
# Signed repositories failed detecting variables $releasever and $basearch
# Sure a bug... https://bugzilla.redhat.com/show_bug.cgi?id=1636743
#sed -i 's|$releasever|%{fedora}|g' $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/unitedrpms.repo
#sed -i 's|$basearch|%{target_arch}|g' $RPM_BUILD_ROOT%{_sysconfdir}/yum.repos.d/unitedrpms.repo
%files
%{_sysconfdir}/pki/rpm-gpg/*
# config(noreplace) %{_sysconfdir}/yum.repos.d/*
%{_sysconfdir}/yum.repos.d/*
%changelog
* Wed Apr 13 2022 David Va <davidva AT tuta DOT io> - 30-20
- Config for Rawhide F37
* Sat Aug 14 2021 David Va <davidva AT tuta DOT io> - 30-19
- Config for Rawhide F36
* Sat Mar 06 2021 David Va <davidva AT tuta DOT io> - 30-18
- Config for Rawhide
* Sun May 17 2020 David Va <davidva AT tuta DOT io> - 30-17
- Mirrorlist enabled again
* Fri Feb 07 2020 David Va <davidva AT tuta DOT io> - 30-16
- Added templates for F33
* Fri Aug 30 2019 David Va <davidva AT tuta DOT io> - 28-15
- Added templates for F32
* Wed May 22 2019 David Va <davidva AT tuta DOT io> - 28-14
- Gpg keys updated
* Fri May 10 2019 David Va <davidva AT tuta DOT io> - 28-13
- Deleted failovermethod
* Wed Mar 13 2019 David Va <davidva AT tuta DOT io> - 28-12
- Enabled mirror list templates for F31
* Wed Nov 07 2018 David Va <davidva AT tuta DOT io> - 28-11
- Disabled mirrorlist; bugs in official variables in libdnf and dnf...
* Sat Nov 03 2018 David Va <davidva AT tuta DOT io> - 28-10
- Go back to variables by default
* Sat Oct 06 2018 David Va <davidva AT tuta DOT io> - 28-9
- Changed to specific architectures and release in mirror list
* Wed Mar 21 2018 David Vásquez <davidjeremias82 AT gmail DOT com> - 27-8
- Mirror list enabled
* Sun Nov 19 2017 David Vásquez <davidjeremias82 AT gmail DOT com> - 27-7
- Enabled metadata
- Weak dependency to unitedrpms-appstream-data
* Sat Jul 08 2017 Unitedrpms Project <unitedrpms AT protonmail DOT com> - 25-6
- Added priority for avoids problems with others third-party repositories
* Thu Jun 15 2017 Unitedrpms Project <unitedrpms AT protonmail DOT com> - 25-5
- Replaced old config for easy migration to new release Fedora
* Mon Jun 12 2017 Sérgio Basto <[email protected]> - 25-4
- Use baseurl instead mirrorlist because mirrorlist give us problems
- Better repo names
* Tue May 16 2017 David Vásquez <davidjeremias82 AT gmail DOT com>
- New changes
* Tue Mar 14 2017 Pavlo Rudyi <paulcarroty at riseup.net> - 27-1
- Reconfigure for Fedora 27
* Sun Oct 16 2016 Pavlo Rudyi <paulcarroty at riseup.net> - 26-1
- Reconfigure for Fedora 26
* Mon Jul 18 2016 Pavlo Rudyi <paulcarroty at riseup.net> - 25-1
- Reconfigure for Fedora 25
* Fri Jun 24 2016 David Vásquez <davidjeremias82 AT gmail DOT com> - 24-2
- Added local gpg keys
* Tue Jun 07 2016 David Vásquez <davidjeremias82 AT gmail DOT com> - 24-1
- Initial build