| |
@@ -1,6 +1,6 @@
|
| |
Name: epel-rpm-macros
|
| |
Version: 8
|
| |
- Release: 22
|
| |
+ Release: 23
|
| |
Summary: Extra Packages for Enterprise Linux RPM macros
|
| |
|
| |
Group: System Environment/Base
|
| |
@@ -15,6 +15,8 @@
|
| |
Source2: gpgverify
|
| |
Source3: pythondist.attr
|
| |
Source9: GPL
|
| |
+ # misc macros
|
| |
+ Source150: macros.build-constraints
|
| |
|
| |
BuildArch: noarch
|
| |
Requires: redhat-release >= %{version}
|
| |
@@ -42,12 +44,11 @@
|
| |
|
| |
%install
|
| |
#GPG Key
|
| |
- # Can't depend upon %%rpmmacrodir yet, since we're providing it
|
| |
install -Dpm 644 %{SOURCE0} \
|
| |
- %buildroot/usr/lib/rpm/macros.d/macros.epel-rpm-macros
|
| |
+ %{buildroot}%{_rpmmacrodir}/macros.epel-rpm-macros
|
| |
|
| |
install -Dpm 644 %{SOURCE1} \
|
| |
- %buildroot/etc/rpm/macros.zzz-epel-override
|
| |
+ %{buildroot}%{_sysconfdir}/rpm/macros.zzz-epel-override
|
| |
|
| |
install -Dpm 755 %{SOURCE2} \
|
| |
%{buildroot}%{_rpmconfigdir}/gpgverify
|
| |
@@ -55,16 +56,26 @@
|
| |
install -Dpm 644 %{SOURCE3} \
|
| |
%{buildroot}%{_fileattrsdir}/pythondist.attr
|
| |
|
| |
+ # misc macros
|
| |
+ install -Dpm 644 %{SOURCE150} \
|
| |
+ %{buildroot}%{_rpmmacrodir}/macros.build-constraints
|
| |
+
|
| |
|
| |
%files
|
| |
%license GPL
|
| |
- /usr/lib/rpm/macros.d/macros.epel-rpm-macros
|
| |
- /etc/rpm/macros.zzz-epel-override
|
| |
+ %{_rpmmacrodir}/macros.epel-rpm-macros
|
| |
+ %{_sysconfdir}/rpm/macros.zzz-epel-override
|
| |
%{_rpmconfigdir}/gpgverify
|
| |
%{_fileattrsdir}/pythondist.attr
|
| |
+ # misc macros
|
| |
+ %{_rpmmacrodir}/macros.build-constraints
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Mon Aug 2 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 8-23
|
| |
+ - Add macros.build-constraints
|
| |
+ - Refactor to use standard macros, not hard-coded paths
|
| |
+
|
| |
* Wed Jul 14 2021 Miro Hrončok <mhroncok@redhat.com> - 8-22
|
| |
- Introduce %%py3_check_import
|
| |
|
| |
For this Fedora 35 feature: https://bugzilla.redhat.com/show_bug.cgi?id=1982748
Having this in epel-rpm-macros would allow the same spec to also build on EPEL
I have provenpackager access, so if this looks good I'll also add it to epel7, but I would like at least one review first
Signed-off-by: Michel Alexandre Salim salimma@fedoraproject.org