I have looked a bit on it... and adding mandriva version-suffixes is perhaps
not what we want.
%mkrel is not available in older releases either.

Look at http://wiki.mandriva.com/en/Policies/Release_Tag
There are some notes that mkrel could be defined manually if it doesn't
exists....

# define the mkrel macro if it is not already defined
%{?!mkrel:%define mkrel(c:) %{-c:0.%{-c''}.}%{!?''with''unstable:%(perl -e
'$''="%{1}";m/(.\''')(\\d+)$/;$rel=${2}-1;re;print "$1$rel";').\
%{?subrel:%subrel}%{!?subrel:1}.%{?distversion:%distversion}%{?!distversion:
%(echo $[%{mdkversion}/10])}}%{?''with_unstable:\
%{1}}%{?distsuffix:%distsuffix}%{?!distsuffix:mdk}}
%define rel 6
Release: %mkrel %rel

But this define doesn't work on my older build-servers...  Don't know what
to do really... 

I'll continue to look at it a bit and see if I can merge some of the changes
without breaking anything else.

/Christian


-----Original Message-----
From: Serg Oskin [mailto:s...@oskin.ru] 
Sent: den 8 juli 2009 16:14
To: owfs-developers@lists.sourceforge.net
Subject: [Owfs-developers] [Fwd: OWFS/owfs.spec]

Sorry, at this moment I am leaving for vacation. :)

Serg.

------------------8<-----------------
Date: Wed, 8 Jul 2009 15:16:56 +0200
Message-ID: <330b51fc0907080616j180ffb62h32d39ca9ed847...@mail.gmail.com>
Subject: OWFS/owfs.spec
From: Rafał Prasał <rafal.pra...@gmail.com>
To: s...@oskin.ru

Hello

I've managed to build OWFS package for Mandriva Cooker(unstable
version of Mandriva Linux Distro). Maybe You will find it helpfull for
owfs.spec improvement.

Apriopriate Patch you may find here
http://piorun.ds.pg.gda.pl/~rav/RPM/OWFS/owfs.spec.patch

Main Differences
* packager ;]
* man pages ara in lzma not gz
* static libraries were not built so I've removed them
* many distros use `%mkrel release`

ow-perl:
* requires perl
* buildrequires perl-devel
* removed from packagement %{perl_sitearch}/auto/OW/OW.bs

ow-php
* requires php-cli
* buildrequires php-cli

-- 
Pozdrawiam, Rafał Prasał



----------------------------------------------------------------------------
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize

details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to