Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 98732e8e31 | |||
| be5fa647cd | |||
| d05045c447 | |||
| 0032c5270d | |||
| 7fba799422 | |||
| 4f5745c71e | |||
| 85d8faeb9b | |||
| c257bf7df7 | |||
| 6c092c945e | |||
| 314247a49a | |||
| e5fa722014 | |||
| 72a6c0f3cb | |||
| 90de409997 | |||
| f5a5863426 |
+56
-9
@@ -1,21 +1,33 @@
|
||||
%global spectool_version 1.0.10
|
||||
|
||||
%if 0%{?fedora}
|
||||
%bcond_without python3
|
||||
%else
|
||||
%bcond_with python3
|
||||
%endif
|
||||
|
||||
Name: rpmdevtools
|
||||
Version: 8.6
|
||||
Release: 1%{?dist}
|
||||
Version: 8.10
|
||||
Release: 2%{?dist}
|
||||
Summary: RPM Development Tools
|
||||
|
||||
# rpmdev-setuptree is GPLv2, everything else GPLv2+
|
||||
License: GPLv2+ and GPLv2
|
||||
URL: https://fedorahosted.org/rpmdevtools/
|
||||
Source0: https://fedorahosted.org/released/rpmdevtools/%{name}-%{version}.tar.xz
|
||||
URL: https://pagure.io/rpmdevtools
|
||||
Source0: https://releases.pagure.org/rpmdevtools/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildArch: noarch
|
||||
# help2man, pod2man, *python for creating man pages
|
||||
BuildRequires: help2man
|
||||
BuildRequires: %{_bindir}/pod2man
|
||||
BuildRequires: python >= 2.6
|
||||
BuildRequires: perl-generators
|
||||
%if %{with python3}
|
||||
BuildRequires: python3
|
||||
BuildRequires: rpm-python3
|
||||
%else
|
||||
BuildRequires: python >= 2.7
|
||||
BuildRequires: rpm-python
|
||||
%endif
|
||||
# emacs-common >= 1:22.3-3 for macros.emacs
|
||||
BuildRequires: emacs-common >= 1:22.3-3
|
||||
BuildRequires: bash-completion
|
||||
@@ -31,9 +43,13 @@ Requires: file
|
||||
Requires: findutils
|
||||
Requires: gawk
|
||||
Requires: grep
|
||||
Requires: python >= 2.4
|
||||
Requires: rpm-build >= 4.4.2.3
|
||||
%if %{with python3}
|
||||
Requires: rpm-python3
|
||||
%else
|
||||
Requires: python >= 2.4
|
||||
Requires: rpm-python
|
||||
%endif
|
||||
Requires: sed
|
||||
Requires: emacs-filesystem
|
||||
%if 0%{?fedora}
|
||||
@@ -60,17 +76,21 @@ rpmdev-bumpspec Bump revision in specfile
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if %{with python3}
|
||||
grep -lF "%{_bindir}/python " * \
|
||||
| xargs sed -i -e "s|%{_bindir}/python |%{_bindir}/python3 |"
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
%configure --libdir=%{_prefix}/lib
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
|
||||
echo %%{_datadir}/bash-completion > %{name}.files
|
||||
[ -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d ] && \
|
||||
@@ -88,7 +108,6 @@ done
|
||||
|
||||
|
||||
%files -f %{name}.files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc NEWS
|
||||
%config(noreplace) %{_sysconfdir}/rpmdevtools/
|
||||
@@ -104,6 +123,34 @@ done
|
||||
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
- Update to 8.9
|
||||
|
||||
* Sat Jun 25 2016 Ville Skyttä <ville.skytta@iki.fi> - 8.8-1
|
||||
- Update to 8.8
|
||||
|
||||
* Fri Jun 24 2016 Petr Písař <ppisar@redhat.com>
|
||||
- Add new mandatory perl build deps
|
||||
|
||||
* Thu Jun 23 2016 Ville Skyttä <ville.skytta@iki.fi> - 8.7-1
|
||||
- Update to 8.7
|
||||
- Specfile cleanups
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 5 2015 Ville Skyttä <ville.skytta@iki.fi> - 8.6-2
|
||||
- Use python3 on > F-22
|
||||
|
||||
* Sun May 10 2015 Ville Skyttä <ville.skytta@iki.fi> - 8.6-1
|
||||
- Update to 8.6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user