]> git.pld-linux.org Git - packages/authconfig.git/commitdiff
- fix executable bit on authconfig.py, acutilmodule.so needs to be linked with -lresolv
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 20 Apr 2012 06:34:51 +0000 (06:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    authconfig.spec -> 1.48
    libs-resolv.patch -> 1.1

authconfig.spec
libs-resolv.patch [new file with mode: 0644]

index 0771f9acb3e6e2bc548128528fe0ef8484623ee9..380f55ab434d51cbab8385a3e3055c7372b9fd25 100644 (file)
@@ -8,11 +8,12 @@ Summary(ru.UTF-8):    Утилита текстового режима для на
 Summary(uk.UTF-8):     Утиліта текстового режиму для налагодження shadow та NIS-паролів
 Name:          authconfig
 Version:       6.2.2
-Release:       0.2
+Release:       0.3
 License:       GPL v2+
 Group:         Base
 Source0:       https://fedorahosted.org/releases/a/u/authconfig/%{name}-%{version}.tar.bz2
 # Source0-md5: 13feaa9de8ddd93fde618415bf3aec75
+Patch0:                libs-resolv.patch
 URL:           https://fedorahosted.org/authconfig
 BuildRequires: desktop-file-utils
 BuildRequires: gettext-devel
@@ -92,6 +93,7 @@ authentication schemes.
 
 %prep
 %setup -q
+%patch0 -p1
 
 #mv po/sr{,@latin}.po
 
@@ -145,7 +147,7 @@ authconfig --update --nostart >/dev/null 2>&1 || :
 %exclude %{_mandir}/man8/system-config-authentication.*
 %exclude %{_mandir}/man8/authconfig-gtk.*
 %dir %{_datadir}/%{name}
-%{_datadir}/%{name}/authconfig.py*
+%attr(755,root,root) %{_datadir}/%{name}/authconfig.py
 %{_datadir}/%{name}/authconfig-tui.py*
 %{_datadir}/%{name}/authinfo.py*
 %{_datadir}/%{name}/shvfile.py*
diff --git a/libs-resolv.patch b/libs-resolv.patch
new file mode 100644 (file)
index 0000000..4536b86
--- /dev/null
@@ -0,0 +1,10 @@
+--- authconfig-6.2.2/Makefile.am~      2012-03-27 13:16:24.000000000 +0300
++++ authconfig-6.2.2/Makefile.am       2012-04-20 09:33:15.148056514 +0300
+@@ -84,6 +84,7 @@
+ acutilmodule_la_SOURCES = acutilmodule.c
+ acutilmodule_la_LDFLAGS = -module -avoid-version -export-dynamic @LDFLAGS@
++acutilmodule_la_LIBS = -lresolv
+ EXTRA_DIST = authconfig.spec.in authconfig.spec authconfig.pamd \
+       authconfig.console authconfig-tui.console authconfig-gtk.console \
This page took 0.050129 seconds and 4 git commands to generate.