You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
194 lines
6.4 KiB
194 lines
6.4 KiB
Name: epel-rpm-macros
|
|
Version: 8
|
|
Release: 16
|
|
Summary: Extra Packages for Enterprise Linux RPM macros
|
|
|
|
Group: System Environment/Base
|
|
License: GPLv2
|
|
|
|
# This is a EPEL maintained package which is specific to
|
|
# our distribution. Thus the source is only available from
|
|
# within this srpm.
|
|
URL: http://download.fedoraproject.org/pub/epel
|
|
Source0: macros.epel-rpm-macros
|
|
Source1: macros.zzz-epel-override
|
|
Source2: gpgverify
|
|
Source3: pythondist.attr
|
|
Source9: GPL
|
|
|
|
# CMake macro backport for until RHEL 8 updates to CMake 3.17+
|
|
# Cf. https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds
|
|
# Cf. https://bugzilla.redhat.com/show_bug.cgi?id=1858941
|
|
Source21: cmake-configure
|
|
Source22: cmake-build
|
|
Source23: cmake-install
|
|
Source24: macros.zzz-epel-override-cmake
|
|
|
|
BuildArch: noarch
|
|
Requires: redhat-release >= %{version}
|
|
# For FPC buildroot macros
|
|
Requires: fpc-srpm-macros
|
|
# For python buildroot macros
|
|
Requires: python-srpm-macros
|
|
# Since the RHEL python-devel package doesn't require them, bring them in here
|
|
Requires: python-rpm-macros
|
|
Requires: python2-rpm-macros
|
|
# Make sure EPEL8's Python 3 packages use /usr/bin/python3.6 or python3.8
|
|
# instead of /usr/libexec/platform-python
|
|
Requires: (python-modular-rpm-macros if python3-devel)
|
|
Suggests: python36-rpm-macros
|
|
|
|
%description
|
|
This package contains the Extra Packages for Enterprise Linux (EPEL) RPM
|
|
macros for building EPEL packages.
|
|
|
|
%prep
|
|
%setup -cT
|
|
install -pm 644 %{SOURCE9} .
|
|
|
|
%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
|
|
|
|
install -Dpm 644 %{SOURCE1} \
|
|
%buildroot/etc/rpm/macros.zzz-epel-override
|
|
|
|
install -Dpm 755 %{SOURCE2} \
|
|
%{buildroot}%{_rpmconfigdir}/gpgverify
|
|
|
|
install -Dpm 644 %{SOURCE3} \
|
|
%{buildroot}%{_fileattrsdir}/pythondist.attr
|
|
|
|
# Install CMake stuff
|
|
install -Dpm 755 %{SOURCE21} \
|
|
%{buildroot}%{_rpmconfigdir}/cmake-configure
|
|
install -Dpm 755 %{SOURCE22} \
|
|
%{buildroot}%{_rpmconfigdir}/cmake-build
|
|
install -Dpm 755 %{SOURCE23} \
|
|
%{buildroot}%{_rpmconfigdir}/cmake-install
|
|
install -Dpm 755 %{SOURCE24} \
|
|
%{buildroot}/etc/rpm/macros.zzz-epel-override-cmake
|
|
|
|
|
|
%files
|
|
%license GPL
|
|
/usr/lib/rpm/macros.d/macros.epel-rpm-macros
|
|
/etc/rpm/macros.zzz-epel-override
|
|
%{_rpmconfigdir}/gpgverify
|
|
%{_fileattrsdir}/pythondist.attr
|
|
%{_rpmconfigdir}/cmake-*
|
|
/etc/rpm/macros.zzz-epel-override-cmake
|
|
|
|
|
|
%changelog
|
|
* Thu Jul 30 2020 Neal Gompa <ngompa13@gmail.com> - 8-16
|
|
- Use legacy behavior for cmake-configure
|
|
|
|
* Wed Jul 29 2020 Neal Gompa <ngompa13@gmail.com> - 8-15
|
|
- Backport support for out-of-source builds controlled by __cmake_in_source_build macro (#1861329)
|
|
- Backport cmake_build and cmake_install macros
|
|
- Backport ctest macro
|
|
|
|
* Sun Jun 28 2020 Artur Iwicki <fedora@svgames.pl> - 8-14
|
|
- Add a Requires for fpc-srpm-macros
|
|
|
|
* Fri Jun 19 2020 Troy Dawson <tdawson@redhat.com> - 8-13
|
|
- Use Suggests for python36-rpm-macros
|
|
|
|
* Sun Jun 07 2020 Miro Hrončok <mhroncok@redhat.com> - 8-12
|
|
- Backport %%py_shebang_fix, %%pytest, %%py_provides
|
|
- Allow to combine %%pycached with other macros (e.g. %%exclude or %%ghost) (#1838992)
|
|
|
|
* Thu Apr 30 2020 Troy Dawson <tdawson@redhat.com> - 8-11
|
|
- Install python36-rpm-macros or python38-rpm-macros correctly
|
|
|
|
* Tue Apr 14 2020 Miro Hrončok <mhroncok@redhat.com> - 8-10
|
|
- Define %%python, but make it work only if %%__python is redefined
|
|
- Add the %%pycached macro
|
|
|
|
* Fri Apr 03 2020 Troy Dawson <tdawson@redhat.com> - 8-9
|
|
- Add %qt5_qtwebengine_arches to macros
|
|
|
|
* Thu Nov 21 2019 Troy Dawson <tdawson@redhat.com> - 8-8
|
|
- Bump release to be in sync with playground build.
|
|
|
|
* Wed Nov 20 2019 Troy Dawson <tdawson@redhat.com> - 8-6
|
|
- Enable python requires generator
|
|
|
|
* Wed Nov 13 2019 Kevin Fenzi <kevin@scrye.com> - 8-5
|
|
- Bump release, because 8-4 was built in epel8-playground
|
|
|
|
* Wed Oct 30 2019 Orion Poplawski <orion@nwra.com> - 8-4
|
|
- Add gpgverify macro and script
|
|
|
|
* Mon Oct 21 2019 Miro Hrončok <mhroncok@redhat.com> - 8-3
|
|
- Make sure EPEL8's Python 3 packages use /usr/bin/python3.6 instead of /usr/libexec/platform-python
|
|
|
|
* Mon Sep 30 2019 Miro Hrončok <mhroncok@redhat.com> - 8-2
|
|
- Define %%python2 and %%python3
|
|
|
|
* Wed Jun 5 2019 Stephen Smoogen <smooge@smoogen-laptop.localdomain> - 8-1
|
|
- Make an initial macro set for 8.
|
|
|
|
* Fri Jun 15 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-19
|
|
- Add %%set_build_flags macro.
|
|
|
|
* Mon May 14 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-18
|
|
- Add various %%build_* macros from Fedora.
|
|
|
|
* Fri Apr 20 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-17
|
|
- Add %%_rpmmacrodir from Fedora.
|
|
|
|
* Fri Apr 20 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-16
|
|
- Add %%_metainfodir macro.
|
|
|
|
* Thu Feb 15 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-15
|
|
- Add %%vimfiles_root (bug #1545901)
|
|
|
|
* Mon Jan 29 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7-14
|
|
- Backport ldconfig macros
|
|
|
|
* Thu Dec 15 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-13
|
|
- Backport vpath macros.
|
|
|
|
* Fri Dec 9 2016 Orion Poplawski <orion@cora.nwra.com> 7-12
|
|
- Fix override macro file name
|
|
|
|
* Tue Dec 6 2016 Orion Poplawski <orion@cora.nwra.com> 7-11
|
|
- Override %%_pkgdocdir (bug #1392354)
|
|
|
|
* Fri Sep 16 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-10
|
|
- Add overrides file (seems that it must be in /etc/rpm) and override
|
|
%%nodejs_arches.
|
|
|
|
* Thu Aug 11 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-9
|
|
- Add %%bash_completion_dir.
|
|
|
|
* Wed Mar 30 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-8
|
|
- Use simpler definition of %%epel.
|
|
|
|
* Thu Feb 18 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-7
|
|
- Add mono macros requested in rhbz 1295117.
|
|
|
|
* Mon Jan 25 2016 Orion Poplawski <orion@cora.nwra.com> 7-6
|
|
- Bring in python macros via the python-rpm-macros packages
|
|
- Use %%setup so fedpkg local works
|
|
|
|
* Mon Jan 4 2016 Orion Poplawski <orion@cora.nwra.com> 7-5
|
|
- Fix python_provide macro for EPEL7 python3 package names
|
|
|
|
* Thu Oct 8 2015 Thomas Spura <tomspur@fedoraproject.org> - 7-4
|
|
- Fix python_provide macro to use epoch and obsolete previous python- package
|
|
|
|
* Tue Aug 18 2015 Orion Poplawski <orion@cora.nwra.com> 7-3
|
|
- Fix py2_install macro
|
|
- Cleanup spec
|
|
|
|
* Sat Aug 01 2015 Kevin Fenzi <kevin@scrye.com> 7-2
|
|
- Add python macros. Fixes bug #1241655
|
|
|
|
* Wed Apr 29 2015 Kevin Fenzi <kevin@scrye.com> 7-1
|
|
- Initial version for epel.
|