|
|
|
@ -1,11 +1,10 @@
|
|
|
|
|
Name: rpmdevtools
|
|
|
|
|
Version: 9.6
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Version: 9.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: RPM Development Tools
|
|
|
|
|
|
|
|
|
|
# rpmdev-md5 and rpmdev-setuptree are GPL-2.0-only,
|
|
|
|
|
# everything else is GPL-2.0-or-later.
|
|
|
|
|
License: GPL-2.0-or-later AND GPL-2.0-only
|
|
|
|
|
# rpmdev-setuptree is GPLv2, everything else GPLv2+
|
|
|
|
|
License: GPLv2+ and GPLv2
|
|
|
|
|
URL: https://pagure.io/rpmdevtools
|
|
|
|
|
Source0: https://releases.pagure.org/rpmdevtools/%{name}-%{version}.tar.xz
|
|
|
|
|
Source1: progressbar.py
|
|
|
|
@ -27,37 +26,33 @@ BuildRequires: perl-generators
|
|
|
|
|
# python dependencies for spectool
|
|
|
|
|
# spectool is executed for creating man page
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
%if ! 0%{?rhel}
|
|
|
|
|
BuildRequires: python3dist(progressbar2)
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: python3dist(requests)
|
|
|
|
|
BuildRequires: python3dist(rpm)
|
|
|
|
|
# emacs-common >= 1:22.3-3 for macros.emacs
|
|
|
|
|
BuildRequires: emacs-common >= 1:22.3-3
|
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
# xemacs-common >= 21.5.29-8 for macros.xemacs
|
|
|
|
|
BuildRequires: xemacs-common >= 21.5.29-8
|
|
|
|
|
%endif
|
|
|
|
|
Requires: curl
|
|
|
|
|
Requires: diffutils
|
|
|
|
|
%if ! 0%{?rhel}
|
|
|
|
|
Requires: fakeroot
|
|
|
|
|
%endif
|
|
|
|
|
Requires: file
|
|
|
|
|
Requires: findutils
|
|
|
|
|
Requires: gawk
|
|
|
|
|
Requires: grep
|
|
|
|
|
Requires: rpm-build >= 4.4.2.3
|
|
|
|
|
Requires: python3dist(argcomplete)
|
|
|
|
|
%if ! 0%{?rhel}
|
|
|
|
|
Requires: python3dist(progressbar2)
|
|
|
|
|
%endif
|
|
|
|
|
Requires: python3dist(requests)
|
|
|
|
|
Requires: python3dist(rpm)
|
|
|
|
|
Requires: python%{python3_version}dist(argcomplete)
|
|
|
|
|
Requires: python%{python3_version}dist(requests)
|
|
|
|
|
Requires: python%{python3_version}dist(rpm)
|
|
|
|
|
Requires: sed
|
|
|
|
|
Requires: emacs-filesystem
|
|
|
|
|
# Optionally support rpmautospec
|
|
|
|
|
Recommends: python%{python3_version}dist(rpmautospec)
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
Requires: xemacs-filesystem
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package contains scripts and Emacs support files to aid in
|
|
|
|
|
This package contains scripts and (X)Emacs support files to aid in
|
|
|
|
|
development of RPM packages.
|
|
|
|
|
rpmdev-setuptree Create RPM build tree within user's home directory
|
|
|
|
|
rpmdev-diff Diff contents of two archives
|
|
|
|
@ -75,12 +70,10 @@ rpmdev-bumpspec Bump revision in specfile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -N
|
|
|
|
|
%autopatch -p1 %{!?rhel:-M2000}
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
grep -lF "%{_bindir}/python " * \
|
|
|
|
|
| xargs sed -i -e "s|%{_bindir}/python |%{_bindir}/python3 |"
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
# Let spectool find the bundled progressbar2 implementation
|
|
|
|
|
cp %{SOURCE1} .
|
|
|
|
|
sed -i \
|
|
|
|
@ -89,7 +82,6 @@ sed -i \
|
|
|
|
|
'sys.path.insert(1, "%{_datadir}/rpmdevtools")\n'\
|
|
|
|
|
'\1\nsys.path.pop(1)|' \
|
|
|
|
|
rpmdev-spectool
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -104,7 +96,11 @@ echo %%{_datadir}/bash-completion > %{name}.files
|
|
|
|
|
[ -d %{buildroot}%{_sysconfdir}/bash_completion.d ] && \
|
|
|
|
|
echo %%{_sysconfdir}/bash_completion.d > %{name}.files
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
for dir in %{_emacs_sitestartdir} %{_xemacs_sitestartdir} ; do
|
|
|
|
|
%else
|
|
|
|
|
for dir in %{_emacs_sitestartdir} ; do
|
|
|
|
|
%endif
|
|
|
|
|
install -dm 755 %{buildroot}$dir
|
|
|
|
|
ln -s %{_datadir}/rpmdevtools/rpmdev-init.el %{buildroot}$dir
|
|
|
|
|
touch %{buildroot}$dir/rpmdev-init.elc
|
|
|
|
@ -114,10 +110,8 @@ done
|
|
|
|
|
ln -sr %{buildroot}%{_bindir}/rpmdev-spectool %{buildroot}%{_bindir}/spectool
|
|
|
|
|
echo ".so man1/rpmdev-spectool.1" > %{buildroot}%{_mandir}/man1/spectool.1
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
cp %{SOURCE1} %{buildroot}%{_datadir}/rpmdevtools/
|
|
|
|
|
%py_byte_compile %{python3} %{buildroot}%{_datadir}/rpmdevtools/
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
@ -128,58 +122,27 @@ cp %{SOURCE1} %{buildroot}%{_datadir}/rpmdevtools/
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_emacs_sitestartdir}/rpmdev-init.el
|
|
|
|
|
%ghost %{_emacs_sitestartdir}/rpmdev-init.elc
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%{_xemacs_sitestartdir}/rpmdev-init.el
|
|
|
|
|
%ghost %{_xemacs_sitestartdir}/rpmdev-init.elc
|
|
|
|
|
%endif
|
|
|
|
|
%{_mandir}/man[18]/*.[18]*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 9.6-9
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 9.6-8
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 9.6-8
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9.6-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9.6-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Aug 25 2023 Petr Pisar <ppisar@redhat.com> - 9.6-5
|
|
|
|
|
- Convert a license tag to SPDX format
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.6-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.6-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 04 2022 Neal Gompa <ngompa@fedoraproject.org> - 9.6-1
|
|
|
|
|
- Update to 9.6
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.5-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 9 2021 Jerry James <loganjerry@gmail.com> - 9.5-3
|
|
|
|
|
- Drop XEmacs support in F36 and later
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Fri Dec 10 2021 Michal Domonkos <mdomonko@redhat.com> - 9.5-1
|
|
|
|
|
- Rebase to 9.5 (#2005756)
|
|
|
|
|
|
|
|
|
|
* Sat Jul 17 2021 Neal Gompa <ngompa@fedoraproject.org> - 9.5-1
|
|
|
|
|
- Update to 9.5
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 9.3-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Sat Jul 17 2021 Neal Gompa <ngompa@fedoraproject.org> - 9.4-1
|
|
|
|
|
- Update to 9.4
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 9.3-6
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Mon Feb 15 2021 Miro Hrončok <mhroncok@redhat.com> - 9.3-5
|
|
|
|
|
- Require any Python version of the Python packages
|
|
|
|
|
* Thu Feb 11 2021 Michal Domonkos <mdomonko@redhat.com> - 9.3-5
|
|
|
|
|
- Drop progressbar2 dependency and bundle a tiny replacement (#1927784)
|
|
|
|
|
- Drop fakeroot dependency and qa-robot scripts (#1905465)
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.3-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|