Mailinglist Archive: opensuse-bugs (13048 mails)

< Previous Next >
[Bug 463464] sane-backends: fixes for SCSI and package does not build from source rpm
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 8 Jan 2009 07:02:16 -0700 (MST)
  • Message-id: <20090108140216.BAE4FCC7D3@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=463464

User jsmeix@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=463464#c11


Johannes Meixner <jsmeix@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|
|ro@xxxxxxxxxx




--- Comment #11 from Johannes Meixner <jsmeix@xxxxxxxxxx> 2009-01-08 07:02:15
MST ---
Now it seems I understand a bit what goes on here:

My original source file create_scanner_database
which I submit into our build system has of course
no such hardcoded nonsense in it because it is
(as mentioned in the spec file comment)
a copy of a script which is also run by YaST.

When in your source RPM the file create_scanner_database
has such hardcoded nonsense, it seems that our build-system
creates the source RPM _after_ the sed magic in the spec file
has changed my original source file.

I asked a colleague and he confirmed that it is done this way.

I will fix my spec file so that it works only on copies
of the original source file.

Therefore any kind of changing original source files
via whatever stuff in the spec file leads to an endless
sequence of changes upon changes of the sources whenever
it is built from a source RPM which was made by
a previous build.

Therefore our build system should run another test
to verify that the original sources were not changed
before it creates the source RPM.

Perhaps even easier:
Have read-only permissions in the build system directory
which contains the original source files.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References