1ebe369
Name:           epel-rpm-macros
ec361e3
Version:        9
ec361e3
Release:        1
1ebe369
Summary:        Extra Packages for Enterprise Linux RPM macros
1ebe369
1ebe369
Group:          System Environment/Base
1ebe369
License:        GPLv2
1ebe369
1ebe369
# This is a EPEL maintained package which is specific to
1ebe369
# our distribution.  Thus the source is only available from
1ebe369
# within this srpm.
1ebe369
URL:            http://download.fedoraproject.org/pub/epel
1ebe369
Source0:        macros.epel-rpm-macros
1ebe369
Source1:        macros.zzz-epel-override
4bf0de7
Source2:        gpgverify
0a2c9ff
Source3:        pythondist.attr
1ebe369
Source9:        GPL
f44829e
# misc macros
f44829e
Source150:      macros.build-constraints
1ebe369
1ebe369
BuildArch:      noarch
1ebe369
Requires:       redhat-release >= %{version}
ec3dee4
# For FPC buildroot macros
ec361e3
Recommends:     fpc-srpm-macros
ccc4dda
# pyproject-rpm-macros in CRB thus not required by python3-devel or python3-rpm-macros
ccc4dda
#   https://bugzilla.redhat.com/show_bug.cgi?id=2001034
ccc4dda
Requires: pyproject-rpm-macros if python3-rpm-macros
1ebe369
1ebe369
%description
1ebe369
This package contains the Extra Packages for Enterprise Linux (EPEL) RPM
1ebe369
macros for building EPEL packages.
1ebe369
1ebe369
%prep
1ebe369
%setup -cT
1ebe369
install -pm 644 %{SOURCE9} .
1ebe369
1ebe369
%install
1ebe369
#GPG Key
1ebe369
install -Dpm 644 %{SOURCE0} \
4e27a74
    %{buildroot}%{_rpmmacrodir}/macros.epel-rpm-macros
1ebe369
1ebe369
install -Dpm 644 %{SOURCE1} \
4e27a74
    %{buildroot}%{_sysconfdir}/rpm/macros.zzz-epel-override
1ebe369
4bf0de7
install -Dpm 755 %{SOURCE2} \
4bf0de7
    %{buildroot}%{_rpmconfigdir}/gpgverify
4bf0de7
f44829e
# misc macros
f44829e
install -Dpm 644 %{SOURCE150} \
4e27a74
    %{buildroot}%{_rpmmacrodir}/macros.build-constraints
f44829e
3d7bea8
1ebe369
%files
1ebe369
%license GPL
4e27a74
%{_rpmmacrodir}/macros.epel-rpm-macros
4e27a74
%{_sysconfdir}/rpm/macros.zzz-epel-override
4bf0de7
%{_rpmconfigdir}/gpgverify
f44829e
# misc macros
4e27a74
%{_rpmmacrodir}/macros.build-constraints
1ebe369
1ebe369
1ebe369
%changelog
ec361e3
* Mon Oct 25 2021 Troy Dawson <tdawson@redhat.com> - 9-1
ec361e3
- Make an initial macro set for 9
ec361e3
deb0434
* Wed Sep  1 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 8-24
deb0434
- Fix macros.build-constraints' %%limit_build
deb0434
  - number of CPUs will never be set to less than 1
deb0434
  - this now outputs build flag overrides to be used with %%make_build etc.
deb0434
  - add documentation
deb0434
4e27a74
* Mon Aug  2 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 8-23
f44829e
- Add macros.build-constraints
4e27a74
- Refactor to use standard macros, not hard-coded paths
f44829e
05b5b0a
* Wed Jul 14 2021 Miro Hrončok <mhroncok@redhat.com> - 8-22
05b5b0a
- Introduce %%py3_check_import
05b5b0a
81296b6
* Wed May 19 2021 Neal Gompa <ngompa13@gmail.com> - 8-21
81296b6
- Drop custom CMake macros, RHEL 8.4 includes them now (cf. rhbz#1858983)
81296b6
03f860c
* Sat May 01 2021 Todd Zullinger <tmz@pobox.com> - 8-20
03f860c
- Backport %%gpgverify API simplification
41f19b8
- Remove exec perms from /etc/rpm/macros.zzz-epel-override-cmake
3cb4370
- Silence rpmlint warnings about non-issues
03f860c
2962b79
* Tue Dec 22 2020 Miro Hrončok <mhroncok@redhat.com> - 8-19
2962b79
- Define %%python_disable_dependency_generator
2962b79
f73450a
* Fri Sep 25 2020 Miro Hrončok <mhroncok@redhat.com> - 8-18
f73450a
- Add %%python3_platform_triplet and %%python3_ext_suffix
f73450a
- https://fedoraproject.org/wiki/Changes/Python_Upstream_Architecture_Names
f73450a
d08dbfe
* Tue Sep  8 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 8-17
d08dbfe
- Add a Requires for lua-srpm-macros
d08dbfe
e93d8e2
* Thu Jul 30 2020 Neal Gompa <ngompa13@gmail.com> - 8-16
e93d8e2
- Use legacy behavior for cmake-configure
e93d8e2
3d7bea8
* Wed Jul 29 2020 Neal Gompa <ngompa13@gmail.com> - 8-15
3d7bea8
- Backport support for out-of-source builds controlled by __cmake_in_source_build macro (#1861329)
3d7bea8
- Backport cmake_build and cmake_install macros
3d7bea8
- Backport ctest macro
3d7bea8
ec3dee4
* Sun Jun 28 2020 Artur Iwicki <fedora@svgames.pl> - 8-14
ec3dee4
- Add a Requires for fpc-srpm-macros
ec3dee4
307b333
* Fri Jun 19 2020 Troy Dawson <tdawson@redhat.com> - 8-13
307b333
- Use Suggests for python36-rpm-macros
307b333
054c9b6
* Sun Jun 07 2020 Miro Hrončok <mhroncok@redhat.com> - 8-12
054c9b6
- Backport %%py_shebang_fix, %%pytest, %%py_provides
07f430f
- Allow to combine %%pycached with other macros (e.g. %%exclude or %%ghost) (#1838992)
054c9b6
93fbfe9
* Thu Apr 30 2020 Troy Dawson <tdawson@redhat.com> - 8-11
93fbfe9
- Install python36-rpm-macros or python38-rpm-macros correctly
93fbfe9
db76dd3
* Tue Apr 14 2020 Miro Hrončok <mhroncok@redhat.com> - 8-10
db76dd3
- Define %%python, but make it work only if %%__python is redefined
64bc4a7
- Add the %%pycached macro
db76dd3
7d7c796
* Fri Apr 03 2020 Troy Dawson <tdawson@redhat.com> - 8-9
3cb4370
- Add %%qt5_qtwebengine_arches to macros
7d7c796
55df886
* Thu Nov 21 2019 Troy Dawson <tdawson@redhat.com> - 8-8
55df886
- Bump release to be in sync with playground build.
55df886
0a2c9ff
* Wed Nov 20 2019 Troy Dawson <tdawson@redhat.com> - 8-6
0a2c9ff
- Enable python requires generator
0a2c9ff
76a0765
* Wed Nov 13 2019 Kevin Fenzi <kevin@scrye.com> - 8-5
76a0765
- Bump release, because 8-4 was built in epel8-playground
76a0765
4bf0de7
* Wed Oct 30 2019 Orion Poplawski <orion@nwra.com> - 8-4
4bf0de7
- Add gpgverify macro and script
4bf0de7
c32cf91
* Mon Oct 21 2019 Miro Hrončok <mhroncok@redhat.com> - 8-3
c32cf91
- Make sure EPEL8's Python 3 packages use /usr/bin/python3.6 instead of /usr/libexec/platform-python
c32cf91
77c53c7
* Mon Sep 30 2019 Miro Hrončok <mhroncok@redhat.com> - 8-2
77c53c7
- Define %%python2 and %%python3
77c53c7
1ebe369
* Wed Jun  5 2019 Stephen Smoogen <smooge@smoogen-laptop.localdomain> - 8-1
1ebe369
- Make an initial macro set for 8. 
1ebe369
1ebe369
* Fri Jun 15 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-19
1ebe369
- Add %%set_build_flags macro.
1ebe369
1ebe369
* Mon May 14 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-18
1ebe369
- Add various %%build_* macros from Fedora.
1ebe369
1ebe369
* Fri Apr 20 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-17
1ebe369
- Add %%_rpmmacrodir from Fedora.
1ebe369
1ebe369
* Fri Apr 20 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-16
1ebe369
- Add %%_metainfodir macro.
1ebe369
1ebe369
* Thu Feb 15 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-15
1ebe369
- Add %%vimfiles_root (bug #1545901)
1ebe369
1ebe369
* Mon Jan 29 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7-14
1ebe369
- Backport ldconfig macros
1ebe369
1ebe369
* Thu Dec 15 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-13
1ebe369
- Backport vpath macros.
1ebe369
1ebe369
* Fri Dec 9 2016 Orion Poplawski <orion@cora.nwra.com> 7-12
1ebe369
- Fix override macro file name
1ebe369
1ebe369
* Tue Dec 6 2016 Orion Poplawski <orion@cora.nwra.com> 7-11
1ebe369
- Override %%_pkgdocdir (bug #1392354)
1ebe369
1ebe369
* Fri Sep 16 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-10
1ebe369
- Add overrides file (seems that it must be in /etc/rpm) and override
1ebe369
  %%nodejs_arches.
1ebe369
1ebe369
* Thu Aug 11 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-9
1ebe369
- Add %%bash_completion_dir.
1ebe369
1ebe369
* Wed Mar 30 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-8
1ebe369
- Use simpler definition of %%epel.
1ebe369
1ebe369
* Thu Feb 18 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-7
1ebe369
- Add mono macros requested in rhbz 1295117.
1ebe369
1ebe369
* Mon Jan 25 2016 Orion Poplawski <orion@cora.nwra.com> 7-6
1ebe369
- Bring in python macros via the python-rpm-macros packages
1ebe369
- Use %%setup so fedpkg local works
1ebe369
1ebe369
* Mon Jan 4 2016 Orion Poplawski <orion@cora.nwra.com> 7-5
1ebe369
- Fix python_provide macro for EPEL7 python3 package names
1ebe369
1ebe369
* Thu Oct  8 2015 Thomas Spura <tomspur@fedoraproject.org> - 7-4
1ebe369
- Fix python_provide macro to use epoch and obsolete previous python- package
1ebe369
1ebe369
* Tue Aug 18 2015 Orion Poplawski <orion@cora.nwra.com> 7-3
1ebe369
- Fix py2_install macro
1ebe369
- Cleanup spec
1ebe369
1ebe369
* Sat Aug 01 2015 Kevin Fenzi <kevin@scrye.com> 7-2
1ebe369
- Add python macros. Fixes bug #1241655
1ebe369
1ebe369
* Wed Apr 29 2015 Kevin Fenzi <kevin@scrye.com> 7-1
1ebe369
- Initial version for epel.