Problems with the .info file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

As I mentioned in the subject of this message, I have a problem with the
.info file in a package.  I'm able to build the package locally but mock
fails.  I guess that I missed something...

Spec file (only the relevant parts):

...
Requires(post):  /sbin/install-info
Requires(preun): /sbin/install-info
...
%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
...
%preun
if [ "$1" = 0 ]; then
  /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi
...
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_infodir}/%{name}.info.gz
...

mock complains about installed but not packaged file
'/usr/share/info/dir' . Did I miss a directory?

Can please anybody give me a hint? Thanks in advance.

Kind regards,

Fabian

SRPM: http://fab.fedorapeople.org/packages/SRPMS/wol-0.7.1-1.fc9.src.rpm
SPEC: http://fab.fedorapeople.org/packages/SRPMS/wol.spec

- --
Fingerprint: 2F6C 930F D3C4 7E38 6AFA 4EB4 E23C D2DD 36A4 397F

Fedora always leads and never follows.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkk6yAMACgkQ4jzS3TakOX9pmQCfTOFxTL4XFBuGq4+par9+lJ41
NYQAn1/D9Ct29WNWLxFOz39hZhO19plX
=J7BS
-----END PGP SIGNATURE-----

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux