diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-06-21 22:01:00 +0100 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-06-21 22:50:05 +0100 |
commit | e14b8ed67245b198cb59b02a0868ff8b8850e219 (patch) | |
tree | e55eb31324566d3d6b46ea9bea0c04a76c269248 /packaging/fakeroot.spec | |
parent | 641d1dffeff7e5c0f5a0164a5bd2fcac9f207102 (diff) | |
download | fakeroot-e14b8ed67245b198cb59b02a0868ff8b8850e219.tar.gz fakeroot-e14b8ed67245b198cb59b02a0868ff8b8850e219.tar.bz2 fakeroot-e14b8ed67245b198cb59b02a0868ff8b8850e219.zip |
Change-Id: I388d5a5c3a713ca2605c421d9137da4db5ad114f
Diffstat (limited to 'packaging/fakeroot.spec')
-rw-r--r-- | packaging/fakeroot.spec | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/packaging/fakeroot.spec b/packaging/fakeroot.spec index 9016577..0b6577c 100644 --- a/packaging/fakeroot.spec +++ b/packaging/fakeroot.spec @@ -1,4 +1,3 @@ - Name: fakeroot Summary: Gives a fake root environment Version: 1.12.4 @@ -6,7 +5,7 @@ Release: 19 Group: Development/Tools License: GPL+ URL: http://fakeroot.alioth.debian.org/ -Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.tar.gz +Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}-%{version}.tar.gz Source1001: packaging/fakeroot.manifest Requires: util-linux Requires(post): /sbin/ldconfig @@ -15,7 +14,6 @@ BuildRequires: gcc-c++ BuildRequires: util-linux BuildRequires: sharutils -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description fakeroot runs a command in an environment wherein it appears to have @@ -28,7 +26,7 @@ had the user really been root. %prep -%setup -q -n %{name}-%{version} +%setup -q %build cp %{SOURCE1001} . @@ -36,11 +34,6 @@ for file in ./doc/*/*.1; do iconv -f latin1 -t utf8 < $file > $file.new mv -f $file.new $file done - - - - - # all build scripts in origin specfile as the following: for type in sysv tcp; do mkdir obj-$type @@ -61,11 +54,6 @@ cd .. done %install -rm -rf %{buildroot} -# Please write install script under ">> install post" - -# all install scripts in origin specfile as the following: -rm -rf %{buildroot} for type in sysv tcp; do make -C obj-$type install libdir=%{_libdir}/libfakeroot DESTDIR=%{buildroot} chmod 644 %{buildroot}%{_libdir}/libfakeroot/libfakeroot-0.so @@ -79,18 +67,6 @@ ln -s faked-tcp %{buildroot}%{_bindir}/faked ln -s fakeroot-tcp %{buildroot}%{_bindir}/fakeroot ln -s libfakeroot-tcp.so %{buildroot}%{_libdir}/libfakeroot/libfakeroot-0.so -%check -for type in sysv tcp; do - echo 'Bypassing check '$type -# make -C obj-$type check -done - - - -%clean -rm -rf %{buildroot} - - %post -p /sbin/ldconfig @@ -99,8 +75,6 @@ rm -rf %{buildroot} %files %manifest fakeroot.manifest -%defattr(-,root,root,-) -%doc AUTHORS BUGS COPYING DEBUG debian/changelog doc/README.saving %{_bindir}/faked-* %{_bindir}/faked %{_bindir}/fakeroot-* |