From 7611e7d5278768a98fbf615bffb64a4652439e06 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 13 Nov 2015 10:58:46 +0000 Subject: [PATCH] Get rid of the spec file. Use the spec file from Fedora: http://pkgs.fedoraproject.org/cgit/auto-buildrequires.git/ --- .gitignore | 1 - Makefile.am | 4 +--- auto-buildrequires.spec.in | 55 ---------------------------------------------- configure.ac | 3 +-- 4 files changed, 2 insertions(+), 61 deletions(-) delete mode 100644 auto-buildrequires.spec.in diff --git a/.gitignore b/.gitignore index f80079f..5ef26c3 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,6 @@ auto-br auto-br.sh auto-br-analyze.pl auto-br-rpmbuild -auto-buildrequires.spec auto-buildrequires-*.tar.gz autom4te.cache compile diff --git a/Makefile.am b/Makefile.am index d2c27b9..7ebad2a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,6 +52,4 @@ EXTRA_DIST = \ auto-br.1 \ auto-br.sh.in \ auto-br-rpmbuild.sh \ - auto-br-rpmbuild.1 \ - auto-buildrequires.spec \ - auto-buildrequires.spec.in + auto-br-rpmbuild.1 diff --git a/auto-buildrequires.spec.in b/auto-buildrequires.spec.in deleted file mode 100644 index baff81e..0000000 --- a/auto-buildrequires.spec.in +++ /dev/null @@ -1,55 +0,0 @@ -# @configure_input@ - -Summary: Work out BuildRequires for rpmbuild automatically -Name: auto-buildrequires -Version: @VERSION@ -Release: 2 -License: GPLv2+ -Group: Development/Tools -URL: http://et.redhat.com/~rjones/auto-buildrequires/ -Source0: http://et.redhat.com/~rjones/auto-buildrequires/files/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root - -Requires: perl-String-ShellQuote - -%description -Auto-BuildRequires is a simple set of scripts for automatically -suggesting BuildRequires lines for programs. - - -%prep -%setup -q - - -%build -%configure -make - - -%install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -%doc COPYING README -%{_bindir}/auto-br -%{_bindir}/auto-br-rpmbuild -%{_libexecdir}/auto-br-analyze.pl -%{_libexecdir}/auto-buildrequires-preload.so - - -%changelog -* Sat Mar 7 2009 Rajeesh K Nambiar - 0.9.2 -- Added dependency 'Requires: Perl-String-ShellQuote' - -* Fri Mar 6 2009 Richard Jones - 0.9-1 -- Imported to git and rebuilt. - -* Thu Nov 6 2008 Richard Jones - 0.1-2 -- Initial build. diff --git a/configure.ac b/configure.ac index 3525ea7..cea6cd0 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,5 @@ AC_PATH_PROG([PERL],[perl],[/usr/bin/perl]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile - auto-br.sh auto-br-analyze.pl - auto-buildrequires.spec]) + auto-br.sh auto-br-analyze.pl]) AC_OUTPUT -- 1.8.3.1