Compare commits

...

No commits in common. 'i10cs' and 'c9' have entirely different histories.
i10cs ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/rpmdevtools-9.6.tar.xz SOURCES/rpmdevtools-9.5.tar.xz

@ -1 +1 @@
b86e11d69be901b903042fb73cf59cb101eb84e6 SOURCES/rpmdevtools-9.6.tar.xz 4432c26735efe656fcf67febb984c3e9b71c587d SOURCES/rpmdevtools-9.5.tar.xz

@ -1,11 +1,10 @@
Name: rpmdevtools Name: rpmdevtools
Version: 9.6 Version: 9.5
Release: 9%{?dist} Release: 1%{?dist}
Summary: RPM Development Tools Summary: RPM Development Tools
# rpmdev-md5 and rpmdev-setuptree are GPL-2.0-only, # rpmdev-setuptree is GPLv2, everything else GPLv2+
# everything else is GPL-2.0-or-later. License: GPLv2+ and GPLv2
License: GPL-2.0-or-later AND GPL-2.0-only
URL: https://pagure.io/rpmdevtools URL: https://pagure.io/rpmdevtools
Source0: https://releases.pagure.org/rpmdevtools/%{name}-%{version}.tar.xz Source0: https://releases.pagure.org/rpmdevtools/%{name}-%{version}.tar.xz
Source1: progressbar.py Source1: progressbar.py
@ -27,37 +26,33 @@ BuildRequires: perl-generators
# python dependencies for spectool # python dependencies for spectool
# spectool is executed for creating man page # spectool is executed for creating man page
BuildRequires: python3-devel BuildRequires: python3-devel
%if ! 0%{?rhel}
BuildRequires: python3dist(progressbar2)
%endif
BuildRequires: python3dist(requests) BuildRequires: python3dist(requests)
BuildRequires: python3dist(rpm) BuildRequires: python3dist(rpm)
# emacs-common >= 1:22.3-3 for macros.emacs # emacs-common >= 1:22.3-3 for macros.emacs
BuildRequires: emacs-common >= 1:22.3-3 BuildRequires: emacs-common >= 1:22.3-3
BuildRequires: bash-completion 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: curl
Requires: diffutils Requires: diffutils
%if ! 0%{?rhel}
Requires: fakeroot
%endif
Requires: file Requires: file
Requires: findutils Requires: findutils
Requires: gawk Requires: gawk
Requires: grep Requires: grep
Requires: rpm-build >= 4.4.2.3 Requires: rpm-build >= 4.4.2.3
Requires: python3dist(argcomplete) Requires: python%{python3_version}dist(argcomplete)
%if ! 0%{?rhel} Requires: python%{python3_version}dist(requests)
Requires: python3dist(progressbar2) Requires: python%{python3_version}dist(rpm)
%endif
Requires: python3dist(requests)
Requires: python3dist(rpm)
Requires: sed Requires: sed
Requires: emacs-filesystem Requires: emacs-filesystem
# Optionally support rpmautospec %if 0%{?fedora}
Recommends: python%{python3_version}dist(rpmautospec) Requires: xemacs-filesystem
%endif
%description %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. development of RPM packages.
rpmdev-setuptree Create RPM build tree within user's home directory rpmdev-setuptree Create RPM build tree within user's home directory
rpmdev-diff Diff contents of two archives rpmdev-diff Diff contents of two archives
@ -75,12 +70,10 @@ rpmdev-bumpspec Bump revision in specfile
%prep %prep
%autosetup -N %autosetup -p1
%autopatch -p1 %{!?rhel:-M2000}
grep -lF "%{_bindir}/python " * \ grep -lF "%{_bindir}/python " * \
| xargs sed -i -e "s|%{_bindir}/python |%{_bindir}/python3 |" | xargs sed -i -e "s|%{_bindir}/python |%{_bindir}/python3 |"
%if 0%{?rhel}
# Let spectool find the bundled progressbar2 implementation # Let spectool find the bundled progressbar2 implementation
cp %{SOURCE1} . cp %{SOURCE1} .
sed -i \ sed -i \
@ -89,7 +82,6 @@ sed -i \
'sys.path.insert(1, "%{_datadir}/rpmdevtools")\n'\ 'sys.path.insert(1, "%{_datadir}/rpmdevtools")\n'\
'\1\nsys.path.pop(1)|' \ '\1\nsys.path.pop(1)|' \
rpmdev-spectool rpmdev-spectool
%endif
%build %build
@ -104,7 +96,11 @@ echo %%{_datadir}/bash-completion > %{name}.files
[ -d %{buildroot}%{_sysconfdir}/bash_completion.d ] && \ [ -d %{buildroot}%{_sysconfdir}/bash_completion.d ] && \
echo %%{_sysconfdir}/bash_completion.d > %{name}.files 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 for dir in %{_emacs_sitestartdir} ; do
%endif
install -dm 755 %{buildroot}$dir install -dm 755 %{buildroot}$dir
ln -s %{_datadir}/rpmdevtools/rpmdev-init.el %{buildroot}$dir ln -s %{_datadir}/rpmdevtools/rpmdev-init.el %{buildroot}$dir
touch %{buildroot}$dir/rpmdev-init.elc touch %{buildroot}$dir/rpmdev-init.elc
@ -114,10 +110,8 @@ done
ln -sr %{buildroot}%{_bindir}/rpmdev-spectool %{buildroot}%{_bindir}/spectool ln -sr %{buildroot}%{_bindir}/rpmdev-spectool %{buildroot}%{_bindir}/spectool
echo ".so man1/rpmdev-spectool.1" > %{buildroot}%{_mandir}/man1/spectool.1 echo ".so man1/rpmdev-spectool.1" > %{buildroot}%{_mandir}/man1/spectool.1
%if 0%{?rhel}
cp %{SOURCE1} %{buildroot}%{_datadir}/rpmdevtools/ cp %{SOURCE1} %{buildroot}%{_datadir}/rpmdevtools/
%py_byte_compile %{python3} %{buildroot}%{_datadir}/rpmdevtools/ %py_byte_compile %{python3} %{buildroot}%{_datadir}/rpmdevtools/
%endif
%files -f %{name}.files %files -f %{name}.files
@ -128,58 +122,27 @@ cp %{SOURCE1} %{buildroot}%{_datadir}/rpmdevtools/
%{_bindir}/* %{_bindir}/*
%{_emacs_sitestartdir}/rpmdev-init.el %{_emacs_sitestartdir}/rpmdev-init.el
%ghost %{_emacs_sitestartdir}/rpmdev-init.elc %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]* %{_mandir}/man[18]/*.[18]*
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 9.6-9 * Fri Dec 10 2021 Michal Domonkos <mdomonko@redhat.com> - 9.5-1
- Bump release for October 2024 mass rebuild: - Rebase to 9.5 (#2005756)
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
* Sat Jul 17 2021 Neal Gompa <ngompa@fedoraproject.org> - 9.5-1 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 9.3-7
- Update to 9.5 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Sat Jul 17 2021 Neal Gompa <ngompa@fedoraproject.org> - 9.4-1 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 9.3-6
- Update to 9.4 - 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 * Thu Feb 11 2021 Michal Domonkos <mdomonko@redhat.com> - 9.3-5
- Require any Python version of the Python packages - 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 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save