Compare commits

..

13 Commits

Author SHA1 Message Date
Ville Skyttä c44d9fd00b Update to 8.1. 2011-04-26 10:58:37 +03:00
Ville Skyttä 155b05dfec Require xemacs-filesystem on F-15+ (#672093). 2011-03-22 18:19:17 +02:00
Dennis Gilmore d71ee8811c - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 02:42:46 -06:00
Ville Skyttä cd37a3e337 Update to 8.0, fixes #519061 and #657594. 2011-02-06 16:32:43 +02:00
Ville Skyttä 3dc51dea02 Add note why spectool is not updated to 1.0.11. 2010-12-09 22:12:50 +02:00
Ville Skyttä 65694a9c83 - Update to 7.10, fixes #595135 and #619867.
- Patch spectool to work with specfiles containing Icon and BuildArchitectures
  (#637000).
2010-09-27 21:26:31 +03:00
Fedora Release Engineering 73fdda6236 dist-git conversion 2010-07-29 11:38:30 +00:00
Ville Skyttä d983deaa69 - Update to 7.9, fixes #588313 and #589705. 2010-05-20 20:12:56 +00:00
Ville Skyttä 8ba17b07e0 - Require %{_bindir}/man instead of man (#582932). 2010-04-16 15:54:46 +00:00
Ville Skyttä b3408790ad - Update to 7.8, fixes #562316. 2010-02-15 22:14:22 +00:00
Ville Skyttä 6080e1381c - Update to 7.7, fixes #558263. 2010-02-01 22:51:52 +00:00
Ville Skyttä a435d7b2d4 - Update to 7.6, fixes #528907. 2009-12-07 20:50:04 +00:00
Bill Nottingham e7bedcff4e Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:13:20 +00:00
6 changed files with 69 additions and 69 deletions
-2
View File
@@ -1,2 +0,0 @@
spectool-1.0.10.tar.bz2
rpmdevtools-7.5.tar.xz
+1
View File
@@ -0,0 +1 @@
/rpmdevtools-8.1.tar.xz
-21
View File
@@ -1,21 +0,0 @@
# Makefile for source rpm: rpmdevtools
# $Id$
NAME := rpmdevtools
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)
+67 -27
View File
@@ -1,9 +1,7 @@
%global emacs_sitestart_d %{_datadir}/emacs/site-lisp/site-start.d
%global xemacs_sitestart_d %{_datadir}/xemacs/site-packages/lisp/site-start.d
%global spectool_version 1.0.10
%global spectool_version 1.0.10
Name: rpmdevtools
Version: 7.5
Version: 8.1
Release: 1%{?dist}
Summary: RPM Development Tools
@@ -12,8 +10,6 @@ Group: Development/Tools
License: GPLv2+ and GPLv2
URL: https://fedorahosted.org/rpmdevtools/
Source0: https://fedorahosted.org/released/rpmdevtools/%{name}-%{version}.tar.xz
Source1: http://people.redhat.com/nphilipp/spectool/spectool-%{spectool_version}.tar.bz2
Patch0: spectool-1.0.10-sourcenum.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -22,19 +18,27 @@ BuildRequires: help2man
BuildRequires: %{_bindir}/pod2man
BuildRequires: python >= 2.4
BuildRequires: rpm-python
# emacs-common >= 1:22.3-3 for macros.emacs
BuildRequires: emacs-common >= 1:22.3-3
# xemacs-common >= 21.5.29-8 for macros.xemacs
BuildRequires: xemacs-common >= 21.5.29-8
Provides: spectool = %{spectool_version}
Requires: curl
Requires: diffutils
Requires: fakeroot
Requires: file
Requires: findutils
Requires: gawk
Requires: grep
Requires: man
Requires: %{_bindir}/man
Requires: python >= 2.4
Requires: rpm-build >= 4.4.2.1
Requires: rpm-build >= 4.4.2.3
Requires: rpm-python
Requires: sed
Requires: wget
%if 0%{?fedora} > 14
Requires: emacs-filesystem
Requires: xemacs-filesystem
%endif
# For _get_cword in bash completion snippet
Conflicts: bash-completion < 20080705
@@ -57,11 +61,7 @@ rpmdev-bumpspec Bump revision in specfile
%prep
%setup -q -a 1
cp -p spectool-%{spectool_version}/README README.spectool
cd spectool-%{spectool_version}
%patch0 -p1
cd ..
%setup -q
%build
@@ -74,9 +74,7 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -pm 755 spectool-%{spectool_version}/spectool $RPM_BUILD_ROOT%{_bindir}
for dir in %{emacs_sitestart_d} %{xemacs_sitestart_d} ; do
for dir in %{_emacs_sitestartdir} %{_xemacs_sitestartdir} ; do
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
@@ -87,33 +85,75 @@ done
rm -rf $RPM_BUILD_ROOT
%if 0%{?fedora} <= 14
%triggerin -- emacs-common
[ -d %{emacs_sitestart_d} ] && \
ln -sf %{_datadir}/rpmdevtools/rpmdev-init.el %{emacs_sitestart_d} || :
%triggerin -- xemacs-common
[ -d %{xemacs_sitestart_d} ] && \
ln -sf %{_datadir}/rpmdevtools/rpmdev-init.el %{xemacs_sitestart_d} || :
[ -d %{_emacs_sitestartdir} ] && \
ln -sf %{_datadir}/rpmdevtools/rpmdev-init.el %{_emacs_sitestartdir} || :
%triggerun -- emacs-common
[ $2 -eq 0 ] && rm -f %{emacs_sitestart_d}/rpmdev-init.el* || :
[ $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_sitestart_d}/rpmdev-init.el* || :
[ $2 -eq 0 ] && rm -f %{_xemacs_sitestartdir}/rpmdev-init.el* || :
%endif
%files
%defattr(-,root,root,-)
%doc COPYING NEWS README*
%doc COPYING NEWS
%config(noreplace) %{_sysconfdir}/rpmdevtools/
%{_sysconfdir}/bash_completion.d/
%{_datadir}/rpmdevtools/
%{_bindir}/*
%ghost %{_datadir}/*emacs
%if 0%{?fedora} > 14
%{_emacs_sitestartdir}/rpmdev-init.el
%ghost %{_emacs_sitestartdir}/rpmdev-init.elc
%{_xemacs_sitestartdir}/rpmdev-init.el
%ghost %{_xemacs_sitestartdir}/rpmdev-init.elc
%else
%ghost %{_datadir}/emacs
%ghost %{_datadir}/xemacs
%endif
%{_mandir}/man[18]/*.[18]*
%changelog
* Tue Apr 26 2011 Ville Skyttä <ville.skytta@iki.fi> - 8.1-1
- Update to 8.1.
* Tue Mar 1 2011 Ville Skyttä <ville.skytta@iki.fi> - 8.0-3
- Require xemacs-filesystem on F-15+ (#672093).
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sun Feb 6 2011 Ville Skyttä <ville.skytta@iki.fi> - 8.0-1
- Update to 8.0, fixes #519061 and #657594.
* Mon Sep 27 2010 Ville Skyttä <ville.skytta@iki.fi> - 7.10-1
- Update to 7.10, fixes #595135 and #619867.
- Patch spectool to work with specfiles containing Icon or BuildArchitectures
(#637000).
* Thu May 20 2010 Ville Skyttä <ville.skytta@iki.fi> - 7.9-1
- Update to 7.9, fixes #588313 and #589705.
* Fri Apr 16 2010 Ville Skyttä <ville.skytta@iki.fi> - 7.8-2
- Require %%{_bindir}/man instead of man (#582932).
* Tue Feb 16 2010 Ville Skyttä <ville.skytta@iki.fi> - 7.8-1
- Update to 7.8, fixes #562316.
* Tue Feb 2 2010 Ville Skyttä <ville.skytta@iki.fi> - 7.7-1
- Update to 7.7, fixes #558263.
* Mon Dec 7 2009 Ville Skyttä <ville.skytta@iki.fi> - 7.6-1
- Update to 7.6, fixes #528907.
* Thu Sep 17 2009 Ville Skyttä <ville.skytta@iki.fi> - 7.5-1
- Update to 7.5, fixes #502403.
+1 -2
View File
@@ -1,2 +1 @@
d193612122f297ee4b37f1b04f605768 spectool-1.0.10.tar.bz2
ec396743a9d350ac4a6d5a104807ccca rpmdevtools-7.5.tar.xz
71541d89592f485770a85f64632eda35 rpmdevtools-8.1.tar.xz
-17
View File
@@ -1,17 +0,0 @@
Fix for -s x,y, -p x,y from Todd Zullinger:
https://www.redhat.com/archives/fedora-devel-list/2009-August/msg00621.html
diff -up spectool-1.0.10/spectool~ spectool-1.0.10/spectool
--- spectool-1.0.10/spectool~ 2008-02-12 12:32:21.000000000 +0200
+++ spectool-1.0.10/spectool 2009-08-21 02:12:56.000000000 +0300
@@ -269,8 +269,8 @@ GetOptions ('h|help' => sub { $command =
'v|verbose' => sub { $verbose++; },
'n|dryrun|dry-run' => sub { $dryrun = 1; },
'V|version' => sub { $command = 'version'; },
- 's|source=i' => \@sources,
- 'p|patch=i' => \@patches,
+ 's|source=s' => \@sources,
+ 'p|patch=s' => \@patches,
'S|sources' => sub { push @what, 'sources'; },
'P|patches' => sub { push @what, 'patches'; },
'A|all' => sub { push @what, 'all'; },