Remove rpm build time patch for file ownership
The Makefile explicitly assigns file ownership to root. There is a rpm build time patch to change this while it should not be needed even for the debian builds. Apply the patch to code tree and remove the patch file. [packaging] Remove rpm build time patch for file ownership
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -6,7 +6,7 @@
 | 
			
		||||
# Modified by: Ilya Dogolazky, Tuomo Tanskanen
 | 
			
		||||
 | 
			
		||||
INSTALL_DIR := install -d
 | 
			
		||||
INSTALL_DATA := install -o root -g root --mode=644
 | 
			
		||||
INSTALL_DATA := install --mode=644
 | 
			
		||||
 | 
			
		||||
DOXYGEN := doxygen
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,12 +0,0 @@
 | 
			
		||||
diff -urN a/Makefile b/Makefile
 | 
			
		||||
--- a/Makefile	2009-11-30 09:41:59.397638000 +0200
 | 
			
		||||
+++ b/Makefile	2010-07-07 14:50:26.226452261 +0300
 | 
			
		||||
@@ -6,7 +6,7 @@
 | 
			
		||||
 # Modified by: Ilya Dogolazky, Tuomo Tanskanen
 | 
			
		||||
 
 | 
			
		||||
 INSTALL_DIR := install -d
 | 
			
		||||
-INSTALL_DATA := install -o root -g root --mode=644
 | 
			
		||||
+INSTALL_DATA := install --mode=644
 | 
			
		||||
 
 | 
			
		||||
 DOXYGEN := doxygen
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,6 @@ Group:      Development/Libraries
 | 
			
		||||
License:    LGPLv2
 | 
			
		||||
URL:        https://github.com/nemomobile/mce-dev
 | 
			
		||||
Source0:    %{name}-%{version}.tar.bz2
 | 
			
		||||
Patch0:     %{name}-1.10.24-no-ownership.patch
 | 
			
		||||
BuildRequires:  doxygen
 | 
			
		||||
 | 
			
		||||
%description
 | 
			
		||||
@@ -24,8 +23,6 @@ provided by the Mode Control Entity, and the signals emitted by it.
 | 
			
		||||
 | 
			
		||||
%prep
 | 
			
		||||
%setup -q -n %{name}-%{version}
 | 
			
		||||
# %{name}-1.10.24-no-ownership.patch
 | 
			
		||||
%patch0 -p1
 | 
			
		||||
 | 
			
		||||
%build
 | 
			
		||||
make %{?jobs:-j%jobs}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user