Compare commits

...

9 Commits

Author SHA1 Message Date
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 54 additions and 9 deletions
+53 -8
View File
@@ -1,7 +1,13 @@
%global spectool_version 1.0.10
%if 0%{?fedora} > 22
%bcond_without python3
%else
%bconf_with python3
%endif
Name: rpmdevtools
Version: 8.5
Version: 8.9
Release: 1%{?dist}
Summary: RPM Development Tools
@@ -14,10 +20,17 @@ 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,28 @@ done
%changelog
* 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
35bab0c28f2af544af53ac1aed598ac0 rpmdevtools-8.9.tar.xz