[packages/rpm-getdeps] - spec cleanup

baggins baggins at pld-linux.org
Sat Oct 24 14:49:24 CEST 2020


commit 6576f132b47a48cc119ea79532f0584bcd50d9a6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Oct 24 14:49:14 2020 +0200

    - spec cleanup

 rpm-getdeps.spec | 28 ++++------------------------
 1 file changed, 4 insertions(+), 24 deletions(-)
---
diff --git a/rpm-getdeps.spec b/rpm-getdeps.spec
index 40aabf4..c025b9f 100644
--- a/rpm-getdeps.spec
+++ b/rpm-getdeps.spec
@@ -1,13 +1,11 @@
-# $Revision: 1.4 $, $Date: 2005/09/12 16:46:06 $
 Summary:	Get dependencies out of RPM spec file
 Summary(pl):	Pobieranie zależności z pliku spec pakietu RPM
 Name:		rpm-getdeps
 Version:	0.0.7
 Release:	2
 License:	GPL
-Vendor:		Joey Hess <joey at kitenet.net>
 Group:		Applications/System
-Source0:	http://www-user.tu-chemnitz.de/~ensc/getdeps.c
+Source0:	getdeps.c
 # Source0-md5:	c20a7f6a0ef86461514fbf55092ae434
 BuildRequires:	rpm-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -22,35 +20,17 @@ Pobieranie zależności z pliku spec pakietu RPM.
 %setup -q -c -T
 
 %build
-%{__cc} %{rpmcflags} %{rpmldflags} -I/usr/include/rpm -Wall -lrpm -lrpmbuild %{SOURCE0} -o %{name}
+%{__cc} %{rpmcflags} %{rpmldflags} -I/usr/include/rpm -Wall -lrpm -lrpmbuild %{SOURCE0} -o rpm-getdeps
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
 
-install %{name} $RPM_BUILD_ROOT%{_bindir}
+cp -p rpm-getdeps $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
-
-%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
-%changelog
-* %{date} PLD Team <feedback at pld-linux.org>
-All persons listed below can be reached at <cvs_login>@pld-linux.org
-
-$Log: rpm-getdeps.spec,v $
-Revision 1.4  2005/09/12 16:46:06  glen
-- integer release, 2, STBR
-
-Revision 1.3  2004/06/17 19:36:58  arekm
-- rebuild
-
-Revision 1.2  2004/06/06 15:33:58  qboosh
-- pl
-
-Revision 1.1  2004/06/06 09:56:47  arekm
-- initial pld release
+%attr(755,root,root) %{_bindir}/rpm-getdeps
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-getdeps.git/commitdiff/6576f132b47a48cc119ea79532f0584bcd50d9a6



More information about the pld-cvs-commit mailing list