forked from pool/rpmlint
(removed rpmlint-pie-fixes.patch)
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=321
This commit is contained in:
parent
40f2807a3f
commit
a8b2e059d6
@ -1,32 +0,0 @@
|
|||||||
Index: rpmlint-tests-13.2+git20150310.00c9b55/tests/pie.spec
|
|
||||||
===================================================================
|
|
||||||
--- rpmlint-tests-13.2+git20150310.00c9b55.orig/tests/pie.spec
|
|
||||||
+++ rpmlint-tests-13.2+git20150310.00c9b55/tests/pie.spec
|
|
||||||
@@ -20,7 +20,10 @@ officia deserunt mollit anim id est labo
|
|
||||||
%build
|
|
||||||
|
|
||||||
%install
|
|
||||||
-install -D -m 755 /bin/ls %buildroot/usr/bin/telnet
|
|
||||||
+mkdir -p %buildroot/usr/bin/
|
|
||||||
+echo "int main() {}" >xx.c
|
|
||||||
+gcc -O2 -fno-PIE xx.c -o %buildroot/usr/bin/telnet
|
|
||||||
+strip %buildroot/usr/bin/telnet
|
|
||||||
install -D -m 755 /bin/mount %buildroot/bin/mount
|
|
||||||
|
|
||||||
|
|
||||||
Index: rpmlint-tests-13.2+git20150310.00c9b55/tests/permissions1.spec
|
|
||||||
===================================================================
|
|
||||||
--- rpmlint-tests-13.2+git20150310.00c9b55.orig/tests/permissions1.spec
|
|
||||||
+++ rpmlint-tests-13.2+git20150310.00c9b55/tests/permissions1.spec
|
|
||||||
@@ -23,7 +23,10 @@ officia deserunt mollit anim id est labo
|
|
||||||
install -d -m 755 %buildroot/etc/permissions.d
|
|
||||||
install -d -m 755 %buildroot/bin
|
|
||||||
echo "/bin/foo root:root 4755" > %buildroot/etc/permissions.d/test
|
|
||||||
-cp /bin/ls %buildroot/bin
|
|
||||||
+
|
|
||||||
+echo "int main() {}" > xx.c
|
|
||||||
+gcc -fno-PIE -O2 xx.c -o %buildroot/bin/ls
|
|
||||||
+strip %buildroot/bin/ls
|
|
||||||
cp /bin/su %buildroot/bin
|
|
||||||
|
|
||||||
%clean
|
|
@ -3,6 +3,7 @@ Tue Apr 21 08:59:43 UTC 2015 - lnussel@suse.de
|
|||||||
|
|
||||||
- Update to version 13.2+git20150410.6161e60:
|
- Update to version 13.2+git20150410.6161e60:
|
||||||
+ build our own non-PIE binaries, as the distribution slowly gets converted to all PIE binaries
|
+ build our own non-PIE binaries, as the distribution slowly gets converted to all PIE binaries
|
||||||
|
(removed rpmlint-pie-fixes.patch)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 9 14:00:19 UTC 2015 - meissner@suse.com
|
Thu Apr 9 14:00:19 UTC 2015 - meissner@suse.com
|
||||||
|
@ -30,7 +30,6 @@ Group: Development/Tools/Building
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Url: http://www.opensuse.org/
|
Url: http://www.opensuse.org/
|
||||||
Source: rpmlint-tests-%version.tar.xz
|
Source: rpmlint-tests-%version.tar.xz
|
||||||
Patch0: rpmlint-pie-fixes.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package doesn't actually contain any files and is not meant to
|
This package doesn't actually contain any files and is not meant to
|
||||||
@ -39,7 +38,6 @@ regression tests against rpmlint(-mini).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir rpms
|
mkdir rpms
|
||||||
|
Loading…
Reference in New Issue
Block a user