Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=461757
--- Comment #9 from Parag AN(पराग) <panemade(a)gmail.com> 2008-09-17 05:19:36 EDT
---
other suggestion in .SPEC are as
rpmlint output on rpms are as
libdwarf.src:100: W: macro-in-%changelog upstreamid
libdwarf.src:101: W: macro-in-%changelog defattr
libdwarf.src:102: W: macro-in-%changelog postun
==> Always use %% instead single % in Changelog to avoid this rpmlint message.
libdwarf.i386: W: no-documentation
==> you must include doc files to libdwarf package as
%doc COPYING LGPL.txt README ChangeLog
libdwarf.i386: W: no-soname /usr/lib/libdwarf.so
==> I think this mean no versioned symlinks. I still dunno how to handle this.
libdwarf.i386: W: one-line-command-in-%post /sbin/ldconfig
libdwarf.i386: W: one-line-command-in-%postun /sbin/ldconfig
==> you can use ldconfig as per given here
https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Shared_libraries
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
libdwarf-devel.i386: W: spurious-executable-perm /usr/include/libdwarf.h
==> chmod to 644 in install command as
install -m 0644 -Dp libdwarf.h $RPM_BUILD_ROOT%{_includedir}/libdwarf.h
libdwarf-devel.i386: W: summary-ended-with-dot Headers for libdwarf.
==> Remove dot at end of line and use summary as
Summary: Development files for %{name}
libdwarf-dwarfdump.i386: W: spurious-executable-perm
/usr/share/man/man1/dwarfdump.1.gz
==> chmod to 644 in install command as
install -m 0644 -Dp dwarfdump.1 $RPM_BUILD_ROOT%{_mandir}/man1/dwarfdump.1
libdwarf-dwarfdump.i386: E: only-non-binary-in-usr-lib
libdwarf-dwarfdump.i386: E: script-without-shebang /usr/lib/dwarfdump.conf
==> Configuration files should be installed in %{_sysconfdir}/
libdwarf-dwarfdump.i386: W: summary-ended-with-dot DWARF dumping utility.
==> Remove dot at end of line.
* You should add following to -devel
Requires: %{name} = %{version}-%{release}
==> MUST: In the vast majority of cases, devel packages must require the base
package using a fully versioned dependency: Requires: %{name} =
%{version}-%{release}
* You should add following to -devel
%description devel
The %{name}-devel package contains header files for
developing applications that use %{name}.
* package dwarfdump should require main package as
Requires: %{name} = %{version}-%{release}
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.