Bug 135183

Summary: Add project URL at gperf's spec file + some minor changes
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: gperfAssignee: Ivana Varekova <varekova>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: EasyFix
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.0.1-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-12 13:45:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert Scheck 2004-10-09 22:24:11 UTC
Description of problem:
The project URL should be added to gperf's spec file and some minor 
changes like macrofying and so...

Version-Release number of selected component (if applicable):
gperf-3.0.1-3

Actual results / Expected results:
--- snipp ---
--- gperf.spec       2004-06-15 16:39:12.000000000 +0200
+++ gperf.spec.rsc   2004-10-10 00:25:01.000000000 +0200
@@ -2,11 +2,12 @@
 Name: gperf
 Version: 3.0.1
 Release: 3
-Copyright: GPL
+License: GPL
 Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
 Group: Development/Tools
+URL: http://www.gnu.org/software/gperf/
 Prereq: /sbin/install-info
-BuildRoot: /var/tmp/gperf-root
+BuildRoot: %{_tmppath}/%{name}-%{version}-root

 %description
 Gperf is a perfect hash function generator written in C++. Simply
@@ -27,8 +28,7 @@

 %makeinstall
 # remove the stuff from the buildroot
-rm -rf $RPM_BUILD_ROOT/%{_mandir}/{dvi,html}
-rm -rf $RPM_BUILD_ROOT%{_prefix}/share/doc
+rm -rf $RPM_BUILD_ROOT{%{_mandir}/{dvi,html},%{_datadir}/doc}

 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -44,7 +44,7 @@
 %files
 %defattr(-,root,root)
 %doc README NEWS doc/gperf.html
-/usr/bin/gperf
+%{_bindir}/%{name}
 %{_mandir}/man1/gperf.1*
 %{_infodir}/gperf.info*

--- snapp --

Comment 1 Ivana Varekova 2004-10-11 14:04:52 UTC
Thank you for your notice. The spec file was changed.
IV


Comment 2 Robert Scheck 2004-10-12 13:45:12 UTC
Thank you. Solved with -4, closing now.