Hi,
Here is a fix to opkgc spec file so it is more rpm compliant (uses %{_mandir}
instead of /usr/man which is wrong.
Also use ./autogen.sh instead of manualy doing a autoreconf -f -i -s
Best regards,
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
Index: opkgc/trunk/opkgc.spec
===================================================================
--- opkgc/trunk/opkgc.spec (révision 9456)
+++ opkgc/trunk/opkgc.spec (copie de travail)
@@ -1,8 +1,8 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: opkgc
-Version: 0.6.0
-Release: 2
+Version: 0.6.1
+Release: 1
Summary: Compiler for OSCAR package
Group: Development/Languages
@@ -26,8 +26,8 @@
%build
# On some distros, the NEWS file is NOT created automatically when missing
touch NEWS
-autoreconf -f -i -s
-
+#autoreconf -f -i -s
+./autogen.sh
./configure --prefix=/usr
%__make
@@ -40,19 +40,20 @@
%files
%defattr(-,root,root,-)
-%doc
+%doc AUTHORS ChangeLog COPYING README INSTALL RELEASE
%{python_sitelib}/*
%{_bindir}/opkgc
%{_bindir}/opkg-convert
%{_datadir}/%{name}/
-#%{_defaultdocdir}/%{name}/
-#%{_mandir}/man1/opkgc.1.gz
-#%{_mandir}/man5/opkg.5.gz
-/usr/man/man1/opkgc.1.gz
-/usr/man/man5/opkg.5.gz
+%{_defaultdocdir}/%{name}/
+%{_mandir}/man1/opkgc.1.gz
+%{_mandir}/man5/opkg.5.gz
%config %{_sysconfdir}/opkgc.conf
%changelog
+* Mon Aug 06 2012 Olivier Lahaye <olivier.lah...@cea.fr> 0.6.1-1
+- Update from upstream (0.6.1).
+- Fixed %build and %files sections
* Mon May 30 2011 Geoffroy Vallee <valle...@ornl.gov> 0.6.0-2
- Run autoreconf before configure.
* Fri Mar 04 2011 Geoffroy Vallee <valle...@ornl.gov> 0.6.0-1
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel