Nice! And timely!

You might want to check recent check-ins here too:
        https://code.launchpad.net/~rpm5/rpm/rpm.org
There's some multilib mischief afoot and some ordering tweks
that are in need of sorting through at a very fine-grained
detail level.

My initial reaction was: *shrug* multilib, who needs it?!?
but further study is called for.

Thanks!

hth

73 de jeff


On Mar 9, 2011, at 10:45 AM, Pinto Elia wrote:

>  RPM Package Manager, CVS Repository
>  http://rpm5.org/cvs/
>  ____________________________________________________________________________
> 
>  Server: rpm5.org                         Name:   Pinto Elia
>  Root:   /v/rpm/cvs                       Email:  devzero2...@rpm5.org
>  Module: rpm                              Date:   09-Mar-2011 16:45:34
>  Branch: HEAD                             Handle: 2011030915453003
> 
>  Added files:
>    rpm/tests               test-excludeunpackagedfile.spec
>  Modified files:
>    rpm                     CHANGES
> 
>  Log:
>    flip a toy test from the %exclude and check unpackaged file issue.
>    Reported by Mandriva
> 
>  Summary:
>    Revision    Changes     Path
>    1.3568      +1  -0      rpm/CHANGES
>    1.1         +43 -0      rpm/tests/test-excludeunpackagedfile.spec
>  ____________________________________________________________________________
> 
>  patch -p0 <<'@@ .'
>  Index: rpm/CHANGES
>  ============================================================================
>  $ cvs diff -u -r1.3567 -r1.3568 CHANGES
>  --- rpm/CHANGES      6 Mar 2011 14:09:29 -0000       1.3567
>  +++ rpm/CHANGES      9 Mar 2011 15:45:30 -0000       1.3568
>  @@ -1,4 +1,5 @@
>   5.4.0 -> 5.4.1:
>  +    - devzero2000: flip a toy test from the %exclude and check unpackaged 
> file issue 
>       - proyvind: check whether provides are duplicate of package first 
> (without
>       distepoch), also ensures that package is always at end of 
> %provideversion.
>       - jbj: add "| cpio -dim" to the rpm2cpio.8 examples.
>  @@ .
>  patch -p0 <<'@@ .'
>  Index: rpm/tests/test-excludeunpackagedfile.spec
>  ============================================================================
>  $ cvs diff -u -r0 -r1.1 test-excludeunpackagedfile.spec
>  --- /dev/null        2011-03-09 16:45:30.000000000 +0100
>  +++ test-excludeunpackagedfile.spec  2011-03-09 16:45:33.860129658 +0100
>  @@ -0,0 +1,43 @@
>  +Name:           test-excludeunpackagefile
>  +Version:        1.0
>  +Release:        1%{?dist}
>  +Summary:        Reproducer for %exclude issue
>  +Group:          Security
>  +License:        LGPL
>  +BuildRoot:      %{_tmppath}/%{name}-root
>  +BuildArch:      noarch
>  +
>  +%description
>  +Reproducer for %%exclude issue.
>  +
>  +%%exclude will not only exclude files from being packaged
>  +in that specific package,but also exclude it from the check 
>  +for unpackackaged files as well,so that it could be done 
>  +using %%exclude as well in addition to
>  +removing the files during %%install.
>  +
>  +%prep
>  +%setup -q -T -c
>  +
>  +%build
>  +
>  +%install
>  +rm -rf $RPM_BUILD_ROOT
>  +mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/%{name}/%{name}-dir1
>  +touch $RPM_BUILD_ROOT%{_sharedstatedir}/%{name}-file1
>  +touch $RPM_BUILD_ROOT%{_sharedstatedir}/%{name}/%{name}-dir1/%{name}-file1
>  +touch $RPM_BUILD_ROOT%{_sharedstatedir}/%{name}-file2
>  +
>  +%clean
>  +rm -rf $RPM_BUILD_ROOT
>  +
>  +%files
>  +%defattr(-,root,root,-)
>  +%{_sharedstatedir}/%{name}-file2
>  +%exclude %{_sharedstatedir}/%{name}-file1
>  +%exclude %{_sharedstatedir}/%{name}/%{name}-dir1/%{name}-file1
>  +
>  +%changelog
>  +* Wed Mar  9 2011 Elia Pinto <devzero2...@rpm5.org> 1.0-1
>  +- First Build
>  +
>  @@ .
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> CVS Sources Repository                                rpm-...@rpm5.org

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to