Compare commits

...

9 Commits

Author SHA1 Message Date
Ville Skyttä 1ca57fa989 Do not require devscripts in any scenario. 2013-10-19 09:24:12 +03:00
Ville Skyttä 946688ebc6 Update to 8.4. 2013-10-07 23:41:09 +03:00
Dennis Gilmore 81eb9a4614 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 07:59:05 -05:00
Petr Písař 69ac675da6 Perl 5.18 rebuild 2013-07-17 15:51:11 +02:00
Dennis Gilmore 0ed1cf6ca9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 15:52:53 -06:00
Thomas Woerner 432028f098 - xemacs is not available on RHEL (RHBZ#866841) 2012-10-17 13:23:16 +02:00
Ville Skyttä 62382c0bc5 Update to 8.3.
- Drop specfile constructs no longer needed with Fedora's rpm.
2012-09-03 00:13:02 +03:00
Dennis Gilmore b9735455ed - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 12:04:19 -05:00
Dennis Gilmore a3c470b7d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 20:56:12 -06:00
2 changed files with 39 additions and 32 deletions
+38 -31
View File
@@ -1,16 +1,14 @@
%global spectool_version 1.0.10
Name: rpmdevtools
Version: 8.2
Release: 1%{?dist}
Version: 8.4
Release: 2%{?dist}
Summary: RPM Development Tools
Group: 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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# help2man, pod2man, *python for creating man pages
@@ -20,8 +18,10 @@ BuildRequires: python >= 2.4
BuildRequires: rpm-python
# emacs-common >= 1:22.3-3 for macros.emacs
BuildRequires: emacs-common >= 1:22.3-3
%if 0%{?fedora}
# xemacs-common >= 21.5.29-8 for macros.xemacs
BuildRequires: xemacs-common >= 21.5.29-8
%endif
Provides: spectool = %{spectool_version}
Requires: curl
Requires: diffutils
@@ -30,13 +30,12 @@ Requires: file
Requires: findutils
Requires: gawk
Requires: grep
Requires: %{_bindir}/man
Requires: python >= 2.4
Requires: rpm-build >= 4.4.2.3
Requires: rpm-python
Requires: sed
%if 0%{?fedora} > 14
Requires: emacs-filesystem
%if 0%{?fedora}
Requires: xemacs-filesystem
%endif
@@ -72,53 +71,61 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%if 0%{?fedora}
for dir in %{_emacs_sitestartdir} %{_xemacs_sitestartdir} ; do
%else
for dir in %{_emacs_sitestartdir} ; do
%endif
install -dm 755 $RPM_BUILD_ROOT$dir
ln -s %{_datadir}/rpmdevtools/rpmdev-init.el $RPM_BUILD_ROOT$dir
touch $RPM_BUILD_ROOT$dir/rpmdev-init.elc
done
%clean
rm -rf $RPM_BUILD_ROOT
%if 0%{?fedora} <= 14
%triggerin -- emacs-common
[ -d %{_emacs_sitestartdir} ] && \
ln -sf %{_datadir}/rpmdevtools/rpmdev-init.el %{_emacs_sitestartdir} || :
%triggerun -- emacs-common
[ $2 -eq 0 ] && rm -f %{_emacs_sitestartdir}/rpmdev-init.el* || :
%triggerin -- xemacs-common
[ -d %{_xemacs_sitestartdir} ] && \
ln -sf %{_datadir}/rpmdevtools/rpmdev-init.el %{_xemacs_sitestartdir} || :
%triggerun -- xemacs-common
[ $2 -eq 0 ] && rm -f %{_xemacs_sitestartdir}/rpmdev-init.el* || :
%endif
%files
%doc COPYING NEWS
%config(noreplace) %{_sysconfdir}/rpmdevtools/
%{_sysconfdir}/bash_completion.d/
%{_datadir}/rpmdevtools/
%{_bindir}/*
%if 0%{?fedora} > 14
%{_emacs_sitestartdir}/rpmdev-init.el
%ghost %{_emacs_sitestartdir}/rpmdev-init.elc
%if 0%{?fedora}
%{_xemacs_sitestartdir}/rpmdev-init.el
%ghost %{_xemacs_sitestartdir}/rpmdev-init.elc
%else
%ghost %{_datadir}/emacs
%ghost %{_datadir}/xemacs
%endif
%{_mandir}/man[18]/*.[18]*
%changelog
* Thu Oct 17 2013 Ville Skyttä <ville.skytta@iki.fi> - 8.4-2
- Do not require devscripts in any scenario.
* Mon Oct 7 2013 Ville Skyttä <ville.skytta@iki.fi> - 8.4-1
- Update to 8.4.
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 8.3-4
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Oct 16 2012 Thomas Woerner <twoerner@redhat.com> - 8.3-2
- xemacs is not available on RHEL (RHBZ#866841)
* Sun Sep 2 2012 Ville Skyttä <ville.skytta@iki.fi> - 8.3-1
- Update to 8.3.
- Drop specfile constructs no longer needed with Fedora's rpm.
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Sat Nov 12 2011 Ville Skyttä <ville.skytta@iki.fi> - 8.2-1
- Update to 8.2.
+1 -1
View File
@@ -1 +1 @@
aaba5b4911911c939ce753fade6a1ec7 rpmdevtools-8.2.tar.xz
9d1d3cc2f1108918be4766143162389a rpmdevtools-8.4.tar.xz