Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af0e25c44d | ||
|
|
6331051938 | ||
|
|
daaa5ba8a6 | ||
|
|
d2e1b48630 | ||
|
|
ab2c7755dc | ||
|
|
02ad6bd4b1 | ||
|
|
66116af6c1 | ||
|
|
a98cb59a66 | ||
|
|
e77bf671a5 | ||
|
|
5e5734dc7e | ||
|
|
4ae7f0e5c8 | ||
|
|
26bfd64822 | ||
|
|
fe6aa3d1c8 | ||
|
|
9d1d240447 | ||
|
|
d5f84e780e | ||
|
|
a08b8cede8 | ||
|
|
7f9552cabf | ||
|
|
b679b19442 | ||
|
|
bd1538f372 | ||
|
|
97e6f2e98d | ||
|
|
6bbfd36f3c | ||
|
|
28701c0ee0 | ||
|
|
5d3221a2cc | ||
|
|
cabbc608ac | ||
|
|
acb4cf9573 | ||
|
|
6df4896829 | ||
|
|
a488e997ab | ||
|
|
e47f8797e3 | ||
|
|
f43651e736 | ||
|
|
3db610549f | ||
|
|
d65daa3d50 | ||
|
|
154304be4d | ||
|
|
98732e8e31 | ||
|
|
be5fa647cd | ||
|
|
d05045c447 | ||
|
|
0032c5270d | ||
|
|
7fba799422 | ||
|
|
4f5745c71e |
@@ -0,0 +1,39 @@
|
|||||||
|
From 4a4693c842b6da5d66e3a6bdb1eb7914d2402f7f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Neal Gompa <ngompa13@gmail.com>
|
||||||
|
Date: Wed, 20 Jan 2021 06:50:03 -0500
|
||||||
|
Subject: [PATCH] Force legacy datestamp while RHBZ#1715412 is still an issue
|
||||||
|
|
||||||
|
---
|
||||||
|
rpmdev-bumpspec | 2 +-
|
||||||
|
rpmdev-newspec.in | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/rpmdev-bumpspec b/rpmdev-bumpspec
|
||||||
|
index dc4eb05..3e18b41 100755
|
||||||
|
--- a/rpmdev-bumpspec
|
||||||
|
+++ b/rpmdev-bumpspec
|
||||||
|
@@ -300,7 +300,7 @@ the Free Software Foundation; either version 2 of the License, or
|
||||||
|
parser.add_option("-n", "--new",
|
||||||
|
help="set new version and reset/set release "
|
||||||
|
"(simple spec files only)")
|
||||||
|
- parser.add_option("-D", "--legacy-datestamp", default=False, action='store_true',
|
||||||
|
+ parser.add_option("-D", "--legacy-datestamp", default=True, action='store_true',
|
||||||
|
help="use legacy datestamp for changelog entries")
|
||||||
|
parser.add_option("-d", "--datestamp",
|
||||||
|
help="changelog date string (default: today)")
|
||||||
|
diff --git a/rpmdev-newspec.in b/rpmdev-newspec.in
|
||||||
|
index 27af10f..a083dd9 100644
|
||||||
|
--- a/rpmdev-newspec.in
|
||||||
|
+++ b/rpmdev-newspec.in
|
||||||
|
@@ -293,7 +293,7 @@ if [[ $NEWSPEC_PREFER_MACROS ]] ; then
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
-if [[ $rpmver -ge 41400 ]] && [[ -z $NEWSPEC_LEGACY_DATESTAMP ]] ; then # >= 4.14 (RHEL >= 8, Fedora >= 27)
|
||||||
|
+if [[ $rpmver -ge 41400 ]] && [[ $(/bin/false) ]] ; then # >= 4.14 (RHEL >= 8, Fedora >= 27)
|
||||||
|
chlog="s|^%changelog\\s*|%changelog\\n* $(LC_ALL=C date +'%a %b %d %T %Z %Y') $(rpmdev-packager)\\n- |Mg"
|
||||||
|
else
|
||||||
|
chlog="s|^%changelog\\s*|%changelog\\n* $(LC_ALL=C date --utc +'%a %b %d %Y') $(rpmdev-packager)\\n- |Mg"
|
||||||
|
--
|
||||||
|
2.29.2
|
||||||
|
|
||||||
+126
-40
@@ -1,41 +1,36 @@
|
|||||||
%global spectool_version 1.0.10
|
|
||||||
|
|
||||||
%if 0%{?fedora} > 22
|
|
||||||
%bcond_without python3
|
|
||||||
%else
|
|
||||||
%bconf_with python3
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: rpmdevtools
|
Name: rpmdevtools
|
||||||
Version: 8.9
|
Version: 9.6
|
||||||
Release: 1%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: RPM Development Tools
|
Summary: RPM Development Tools
|
||||||
|
|
||||||
# rpmdev-setuptree is GPLv2, everything else GPLv2+
|
# rpmdev-setuptree is GPLv2, everything else GPLv2+
|
||||||
License: GPLv2+ and GPLv2
|
License: GPLv2+ and GPLv2
|
||||||
URL: https://fedorahosted.org/rpmdevtools/
|
URL: https://pagure.io/rpmdevtools
|
||||||
Source0: https://fedorahosted.org/released/rpmdevtools/%{name}-%{version}.tar.xz
|
Source0: https://releases.pagure.org/rpmdevtools/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
# Fedora-specific downstream patches
|
||||||
|
## Force legacy datestamp by default until rhbz#1715412 is resolved
|
||||||
|
Patch1001: 0001-Force-legacy-datestamp-while-RHBZ-1715412-is-still-a.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# help2man, pod2man, *python for creating man pages
|
# help2man, pod2man, *python for creating man pages
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
BuildRequires: %{_bindir}/pod2man
|
BuildRequires: %{_bindir}/pod2man
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
%if %{with python3}
|
# python dependencies for spectool
|
||||||
BuildRequires: python3
|
# spectool is executed for creating man page
|
||||||
BuildRequires: rpm-python3
|
BuildRequires: python3-devel
|
||||||
%else
|
BuildRequires: python3dist(progressbar2)
|
||||||
BuildRequires: python >= 2.7
|
BuildRequires: python3dist(requests)
|
||||||
BuildRequires: rpm-python
|
BuildRequires: python3dist(rpm)
|
||||||
%endif
|
|
||||||
# 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}
|
%if 0%{?fedora} && 0%{?fedora} < 36
|
||||||
# xemacs-common >= 21.5.29-8 for macros.xemacs
|
# xemacs-common >= 21.5.29-8 for macros.xemacs
|
||||||
BuildRequires: xemacs-common >= 21.5.29-8
|
BuildRequires: xemacs-common >= 21.5.29-8
|
||||||
%endif
|
%endif
|
||||||
Provides: spectool = %{spectool_version}
|
|
||||||
Requires: curl
|
Requires: curl
|
||||||
Requires: diffutils
|
Requires: diffutils
|
||||||
Requires: fakeroot
|
Requires: fakeroot
|
||||||
@@ -44,17 +39,17 @@ Requires: findutils
|
|||||||
Requires: gawk
|
Requires: gawk
|
||||||
Requires: grep
|
Requires: grep
|
||||||
Requires: rpm-build >= 4.4.2.3
|
Requires: rpm-build >= 4.4.2.3
|
||||||
%if %{with python3}
|
Requires: python3dist(argcomplete)
|
||||||
Requires: rpm-python3
|
Requires: python3dist(progressbar2)
|
||||||
%else
|
Requires: python3dist(requests)
|
||||||
Requires: python >= 2.4
|
Requires: python3dist(rpm)
|
||||||
Requires: rpm-python
|
|
||||||
%endif
|
|
||||||
Requires: sed
|
Requires: sed
|
||||||
Requires: emacs-filesystem
|
Requires: emacs-filesystem
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora} && 0%{?fedora} < 36
|
||||||
Requires: xemacs-filesystem
|
Requires: xemacs-filesystem
|
||||||
%endif
|
%endif
|
||||||
|
# Optionally support rpmautospec
|
||||||
|
Recommends: python%{python3_version}dist(rpmautospec)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains scripts and (X)Emacs support files to aid in
|
This package contains scripts and (X)Emacs support files to aid in
|
||||||
@@ -67,7 +62,7 @@ rpmdev-checksig Check package signatures using alternate RPM keyring
|
|||||||
rpminfo Print information about executables and libraries
|
rpminfo Print information about executables and libraries
|
||||||
rpmdev-md5/sha* Display checksums of all files in an archive file
|
rpmdev-md5/sha* Display checksums of all files in an archive file
|
||||||
rpmdev-vercmp RPM version comparison checker
|
rpmdev-vercmp RPM version comparison checker
|
||||||
spectool Expand and download sources and patches in specfiles
|
rpmdev-spectool Expand and download sources and patches in specfiles
|
||||||
rpmdev-wipetree Erase all files within dirs created by rpmdev-setuptree
|
rpmdev-wipetree Erase all files within dirs created by rpmdev-setuptree
|
||||||
rpmdev-extract Extract various archives, "tar xvf" style
|
rpmdev-extract Extract various archives, "tar xvf" style
|
||||||
rpmdev-bumpspec Bump revision in specfile
|
rpmdev-bumpspec Bump revision in specfile
|
||||||
@@ -75,11 +70,9 @@ rpmdev-bumpspec Bump revision in specfile
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%if %{with python3}
|
|
||||||
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 |"
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@@ -88,24 +81,26 @@ grep -lF "%{_bindir}/python " * \
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
echo %%{_datadir}/bash-completion > %{name}.files
|
echo %%{_datadir}/bash-completion > %{name}.files
|
||||||
[ -d $RPM_BUILD_ROOT%{_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}
|
%if 0%{?fedora} && 0%{?fedora} < 36
|
||||||
for dir in %{_emacs_sitestartdir} %{_xemacs_sitestartdir} ; do
|
for dir in %{_emacs_sitestartdir} %{_xemacs_sitestartdir} ; do
|
||||||
%else
|
%else
|
||||||
for dir in %{_emacs_sitestartdir} ; do
|
for dir in %{_emacs_sitestartdir} ; do
|
||||||
%endif
|
%endif
|
||||||
install -dm 755 $RPM_BUILD_ROOT$dir
|
install -dm 755 %{buildroot}$dir
|
||||||
ln -s %{_datadir}/rpmdevtools/rpmdev-init.el $RPM_BUILD_ROOT$dir
|
ln -s %{_datadir}/rpmdevtools/rpmdev-init.el %{buildroot}$dir
|
||||||
touch $RPM_BUILD_ROOT$dir/rpmdev-init.elc
|
touch %{buildroot}$dir/rpmdev-init.elc
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# For backwards compatibility
|
||||||
|
ln -sr %{buildroot}%{_bindir}/rpmdev-spectool %{buildroot}%{_bindir}/spectool
|
||||||
|
echo ".so man1/rpmdev-spectool.1" > %{buildroot}%{_mandir}/man1/spectool.1
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@@ -115,7 +110,7 @@ done
|
|||||||
%{_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}
|
%if 0%{?fedora} && 0%{?fedora} < 36
|
||||||
%{_xemacs_sitestartdir}/rpmdev-init.el
|
%{_xemacs_sitestartdir}/rpmdev-init.el
|
||||||
%ghost %{_xemacs_sitestartdir}/rpmdev-init.elc
|
%ghost %{_xemacs_sitestartdir}/rpmdev-init.elc
|
||||||
%endif
|
%endif
|
||||||
@@ -123,6 +118,97 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
||||||
|
- Update to 9.5
|
||||||
|
|
||||||
|
* Sat Jul 17 2021 Neal Gompa <ngompa@fedoraproject.org> - 9.4-1
|
||||||
|
- Update to 9.4
|
||||||
|
|
||||||
|
* Mon Feb 15 2021 Miro Hrončok <mhroncok@redhat.com> - 9.3-5
|
||||||
|
- Require any Python version of the Python packages
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.3-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 25 2021 Miro Hrončok <mhroncok@redhat.com> - 9.3-3
|
||||||
|
- spectool: Download text as text
|
||||||
|
|
||||||
|
* Fri Jan 22 2021 Michal Domonkos <mdomonko@redhat.com> - 9.3-2
|
||||||
|
- Replace requests-download dependency with requests
|
||||||
|
|
||||||
|
* Wed Jan 20 2021 Neal Gompa <ngompa13@gmail.com> - 9.3-1
|
||||||
|
- Update to 9.3
|
||||||
|
- Force legacy datestamp by default until rhbz#1715412 is resolved
|
||||||
|
|
||||||
|
* Mon Oct 05 2020 Neal Gompa <ngompa13@gmail.com> - 9.2-1
|
||||||
|
- Update to 9.2
|
||||||
|
|
||||||
|
* Thu Aug 20 2020 Neal Gompa <ngompa13@gmail.com> - 9.1-1
|
||||||
|
- Update to 9.1
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 16 2020 Neal Gompa <ngompa13@gmail.com> - 9.0-2
|
||||||
|
- Backport fix for python spec template
|
||||||
|
|
||||||
|
* Tue Jul 14 2020 Neal Gompa <ngompa13@gmail.com> - 9.0-1
|
||||||
|
- Update to 9.0
|
||||||
|
|
||||||
|
* Wed Mar 25 2020 Jitka Plesnikova <jplesnik@redhat.com> - 8.10-11
|
||||||
|
- Add perl dependencies needed for build
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Nov 28 2018 Neal Gompa <ngompa13@gmail.com> - 8.10-7
|
||||||
|
- Fix regex substitution issues with Python 3.7 (rhbz#1651954)
|
||||||
|
|
||||||
|
* Sun Sep 16 2018 Neal Gompa <ngompa13@gmail.com> - 8.10-6
|
||||||
|
- Fix regex related deprecation warnings (rhbz#1598089)
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8.10-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 14 2017 Ville Skyttä <ville.skytta@iki.fi> - 8.10-1
|
||||||
|
- Update to 8.10
|
||||||
|
|
||||||
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 8.9-2
|
||||||
|
- Rebuild for Python 3.6
|
||||||
|
|
||||||
* Sat Jun 25 2016 Ville Skyttä <ville.skytta@iki.fi> - 8.9-1
|
* Sat Jun 25 2016 Ville Skyttä <ville.skytta@iki.fi> - 8.9-1
|
||||||
- Update to 8.9
|
- Update to 8.9
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user