Compare commits

...

15 Commits

Author SHA1 Message Date
Fedora Release Engineering 98732e8e31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:51:13 +00:00
Ville Skyttä be5fa647cd Update to 8.10 2017-01-14 13:35:08 +02:00
Ville Skyttä d05045c447 Point URLs to pagure 2017-01-14 13:34:18 +02:00
Ville Skyttä 0032c5270d Fix non-fedora python3 bcond 2017-01-14 13:34:07 +02:00
Ville Skyttä 7fba799422 Clean up obsolete Fedora version check 2017-01-14 13:33:47 +02:00
Miro Hrončok 4f5745c71e Rebuild for Python 3.6 2016-12-19 18:20:38 +01:00
Ville Skyttä 85d8faeb9b Update to 8.9 2016-06-25 15:48:40 +03:00
Ville Skyttä c257bf7df7 Update to 8.8 2016-06-25 13:10:18 +03:00
Petr Písař 6c092c945e Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 10:14:18 +02:00
Ville Skyttä 314247a49a Work around bug in 8.7's rpmdev-bumpspec.1 build 2016-06-23 19:50:21 +03:00
Ville Skyttä e5fa722014 Upload source 2016-06-23 19:00:38 +03:00
Ville Skyttä 72a6c0f3cb Update to 8.7
- Specfile cleanups
2016-06-23 18:59:47 +03:00
Fedora Release Engineering 90de409997 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 22:18:41 +00:00
Ville Skyttä f5a5863426 Use python3 on > F-22 2015-06-17 13:57:43 +03:00
Ville Skyttä c00eb73a5b Update to 8.6 2015-05-10 20:53:27 +03:00
2 changed files with 66 additions and 12 deletions
+65 -11
View File
@@ -1,23 +1,36 @@
%global spectool_version 1.0.10
%if 0%{?fedora}
%bcond_without python3
%else
%bcond_with python3
%endif
Name: rpmdevtools
Version: 8.5
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
%if 0%{?fedora}
# xemacs-common >= 21.5.29-8 for macros.xemacs
BuildRequires: xemacs-common >= 21.5.29-8
@@ -30,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}
@@ -59,17 +76,25 @@ 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 ] && \
echo %%{_sysconfdir}/bash_completion.d > %{name}.files
%if 0%{?fedora}
for dir in %{_emacs_sitestartdir} %{_xemacs_sitestartdir} ; do
@@ -82,12 +107,10 @@ for dir in %{_emacs_sitestartdir} ; do
done
%files
%{!?_licensedir:%global license %%doc}
%files -f %{name}.files
%license COPYING
%doc NEWS
%config(noreplace) %{_sysconfdir}/rpmdevtools/
%{_sysconfdir}/bash_completion.d/
%{_datadir}/rpmdevtools/
%{_bindir}/*
%{_emacs_sitestartdir}/rpmdev-init.el
@@ -100,6 +123,37 @@ 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
* Mon Oct 20 2014 Ville Skyttä <ville.skytta@iki.fi> - 8.5-1
- Update to 8.5
- Mark COPYING as %%license where applicable
+1 -1
View File
@@ -1 +1 @@
fd2f323c0ede762682985ed746880dd5 rpmdevtools-8.5.tar.xz
SHA512 (rpmdevtools-8.10.tar.xz) = 49f310d5cf1e709e8001ffcf2b17afa7f7a89ef9c8f805d694149a914c40626a08afe93b16d9ed41df1717d0bc97713c06a3b0e63f13fa53d978c6204bb05d57