]> granicus.if.org Git - libjpeg-turbo/commitdiff
Make sure directories under /opt/libjpeg-turbo get deleted when uninstalling RPM
authorDRC <dcommander@users.sourceforge.net>
Tue, 16 Feb 2010 05:04:46 +0000 (05:04 +0000)
committerDRC <dcommander@users.sourceforge.net>
Tue, 16 Feb 2010 05:04:46 +0000 (05:04 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@110 632fc199-4ca6-4c93-a231-07263d6284db

release/libjpeg-turbo.spec

index 4e73ecc7dc7f86e760abc0654842e144770686a3..de8fb4d2b1948c0b076303d0484a17d1e42899ed 100644 (file)
@@ -64,6 +64,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root)
 %doc %{_srcdir}/LICENSE.txt %{_srcdir}/LGPL.txt
+/opt/%{name}
+/opt/%{name}/%{__lib}
 /opt/%{name}/%{__lib}/libjpeg.so.62.0.0
 /opt/%{name}/%{__lib}/libjpeg.so.62
 /opt/%{name}/%{__lib}/libjpeg.so
@@ -71,6 +73,7 @@ rm -rf $RPM_BUILD_ROOT
 /usr/%{__lib}/libturbojpeg.so
 /usr/%{__lib}/libturbojpeg.a
 /usr/include/turbojpeg.h
+/opt/%{name}/include
 /opt/%{name}/include/jconfig.h
 /opt/%{name}/include/jerror.h
 /opt/%{name}/include/jmorecfg.h